Database connection pooling in Tomcat 5.5
- From: "Derrick Koes" <Derrick_Koes (at) skillsoft.com>
- Date: Mon, 18 Sep 2006 14:39:54 -0400
You are likely connecting to the wrong catalog. Is the pool parameter
defaultCatalog set?
-----Original Message-----
From: Darren Hall [mailto:dhall (at) utrs.com]
Sent: Monday, September 18, 2006 2:00 PM
To: 'Tomcat Users List'
Subject: RE: Database connection pooling in Tomcat 5.5
I've made some progress on this. I'm now receiving a
"SQLNestedException:
Cannot create PoolableConnectionFactory" error when calling
getConnection on the DataSource object retrieved from my connection
pool. Here is the satck
trace:
org.apache.tomcat.dbcp.dbcp.SQLNestedException: Cannot create
PoolableConnectionFactory (ORA-01017: invalid username/password; logon
denied
)
at
org.apache.tomcat.dbcp.dbcp.BasicDataSource.createDataSource(BasicDataSo
urce
.java:855)
at
org.apache.tomcat.dbcp.dbcp.BasicDataSource.getConnection(BasicDataSourc
e.ja
va:540)
at
org.federallabs.labs.LaboratorySearchAction.execute(LaboratorySearchActi
on.j
ava:99)
Problem is - I know the username and password are correct. Anyone have
any ideas what could be causing my issue? I need to get this connection
pool issue working by the end of work today.
Thanks,
Darren
---------------------------------------------------------------------
To start a new topic, e-mail: users (at) tomcat.apache.org To unsubscribe,
e-mail: users-unsubscribe (at) tomcat.apache.org
For additional commands, e-mail: users-help (at) tomcat.apache.org
---------------------------------------------------------------------
To start a new topic, e-mail: users (at) tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe (at) tomcat.apache.org
For additional commands, e-mail: users-help (at) tomcat.apache.org