Skip to main content



      Home
Home » Language IDEs » ServerTools (WTP) » jdbc driver
jdbc driver [message #163366] Thu, 09 March 2006 03:01
Eclipse UserFriend
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 Mar 21 15:38:47 EDT 2025

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

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

Back to the top