Microsoft
Software
Hardware
Network
Question : Connected Eclipse to OracleXE
I installed OracleXE on a WindowsXP computer, together with Eclipse.
I want to connect to the database using Eclipse
I can connect fine to the database using Toad
I went to Data Source Explorer/Database Connections:
I entered the following:
SID: db
Host: localhost
Port number: 1521
User name and password according to my database
The user generated URL was jdbc:oracle:thin:@localhos
t:1521:db
When I do test connection I get ping failed.
java.lang.ClassNotFoundExc
eption: oracle.jdbc.OracleDriver
at java.net.URLClassLoader$1.
run(Unknow
n Source)
at java.security.AccessContro
ller.doPri
vileged(Na
tive Method)
at java.net.URLClassLoader.fi
ndClass(Un
known Source)
at java.lang.ClassLoader.load
Class(Unkn
own Source)
at java.net.FactoryURLClassLo
ader.loadC
lass(Unkno
wn Source)
I first of all set my class path to include the ODBC driver
PATH=C:\oraclexe\app\oracl
e\product\
10.2.0\ser
ver\jdbc\l
ib\ojdbc14
.jar;PATH=
C:\oraclex
e\app\orac
le\product
\10.2.0\se
rver\bin;C
:\WINDOWS\
system32;C
:\WINDOWS;
C:\WINDOWS
\System32\
Wbem
I then tried moving ojdbc14.jar to the \web-info\lib directory of my project
But this didn't help!
Best wishes
Gordontm
Answer : Connected Eclipse to OracleXE
Sorry, miss read question, same action different place: From the file menu:
Window > Preferences -> Data management -> Connectivity > Driver Definitions -> Oracle XXXX -> Edit
Random Solutions
BIND to Win2k DNS server automatic zone transfer
Can't ping valid IP's even though they work
Length of cat5 cable
Domino Directory Problem
Setup to transfer of calls using G.729 codec in passthough mode
configure 2 pvc's on a ds3 with ATM on a serial interface
sudden latency issue with shared files
Understanding TCP traffic ????? TCP Connection Finish (FIN)
Defeat the "Multiple connections to a server or shared resource ..." Warning
GPS software