DB2 Connection hangs.
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Rae_K
Posted On:   Wednesday, April 4, 2007 05:56 PM

I am trying to connect to DB2 using JNDI lookup, datasource.getConnection() call hangs.

Application server using here is websphere. I think I have all the right settings.Also have the db2java.zip file in the classpath, also ran the usejdbc2.bat file.

Thanks.

Re: DB2 Connection hangs.

Posted By:   Christopher_Koenigsberg  
Posted On:   Saturday, April 28, 2007 07:34 PM

If you can get access to the app server's admin console web app, you can use it to get a test connection from the DataSource/connection pool, on the server, and see if that works. If that works, then it's a problem in your code. If that doesn't work, then it's a problem in configuring the DataSource/Connection Pool on the app server.
About | Sitemap | Contact