Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » ServerTools (WTP) » jdbc driver
jdbc driver [message #163366] Thu, 09 March 2006 08:01
Zohar Amir is currently offline Zohar AmirFriend
Messages: 419
Registered: July 2009
Senior Member
Hello,
I'm trying to use an Oracle JDBC driver. To do that I've added the following
to my context.xml:

<Resource
name="jdbc/myoracle"
type="javax.sql.DataSource"
auth="Container"
username="me"
password="lalala"
driverClassName="oracle.jdbc.OracleDriver"
url="jdbc:oracle:thin:@host:1521:XE"/>

Is this the correct way?
It only seems to work when I place the jar that contains
oracle.jdbc.OracleDriver in <CATALINA_HOME>/common/lib - can I place it in
the context's lib dir somehow?

Thanks,
Zohar.
Previous Topic:Failed to start was 6.0
Next Topic:retruning a byte[]
Goto Forum:
  


Current Time: Fri Apr 19 04:13:15 GMT 2024

Powered by FUDForum. Page generated in 0.01900 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top