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
archiving sent emails using postfix
Phone Outlets
Networking : What is port 7053 used for ?
# of MCSE's in US
URL check, please...Apache 2 on Windows XP using virtual hosts with DNS2Go's DDNS service and update client.
Can not expand Pulic Folders under Exchange System Manager
How do we setup path for pagefile.sys on other
Creating Profile in Appserver 6.0 (Integrated Server for RAD)
telneting into smtp server, what reply to 'authenication required'?
Problem with Shadow Copy: Volume E:\ is not eligible for shadow copies.