> From: Angela Day [mailto:akc...@yahoo.com]
> Subject: Re: one path working, one not
> 
> common/lib/ojdbc14.jar

That's good.

> But I was getting a database connection before.  Here is my context.xml file:

> <?xml version="1.0" encoding="UTF-8"?>
> <Context reloadable="true" crossContext="true">
> <Resource name="jdbc/cmts" auth="Container"
>               type="javax.sql.DataSource" 
> driverClassName="oracle.jdbc.OracleDriver"

Depending on the age of your ojdbc14.jar, the driverClassName may have to be 
"oracle.jdbc.driver.OracleDriver"; look inside the jar to see what's there.

>               url="jdbc:oracle:thin:sysa...@atlow.tdhca.state.tx.us:1521:dev"
>               username="sysadm2" password="temp" maxActive="20" maxIdle="10"
>               maxWait="-1"/> 
> </Context>

What JNDI path is the code trying to use when it attempts to acquire a DB 
connection?  (I assume it's specified in the Torque config, somehow.)

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY 
MATERIAL and is thus for use only by the intended recipient. If you received 
this in error, please contact the sender and delete the e-mail and its 
attachments from all computers.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to