You are likely connecting to the wrong catalog.  Is the pool parameter
defaultCatalog set?

 

-----Original Message-----
From: Darren Hall [mailto:[EMAIL PROTECTED] 
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@tomcat.apache.org To unsubscribe,
e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to