*
The moose likes JDBC and the fly likes Exception on Websphere/ Jdbc Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC
Bookmark "Exception on Websphere/ Jdbc" Watch "Exception on Websphere/ Jdbc" New topic
Author

Exception on Websphere/ Jdbc

Luke Zechariah
Ranch Hand

Joined: Sep 27, 2005
Posts: 117
I am deploying my application on Websphere: Here are errors I am getting.
My jdbc driver is Jtds 1.2 driver. There is a connection leak and I want to force close the connection if open. Here is the exception.

[6/3/06 20:56:26:220 CDT] 2a464bb0 ConnectionMan W J2CA0075W: An active transaction should be present while processing method allocateMCWrapper.
[6/3/06 20:56:36:224 CDT] 2a464bb0 FreePool E J2CA0045E: Connection not available while invoking method queueRequest for resource jdbc/neDataSource.
[6/3/06 20:56:36:224 CDT] 2a464bb0 ConnectionMan E J2CA0020E: The Connection Pool Manager could not allocate a Managed Connection: com.ibm.websphere.ce.j2c.ConnectionWaitTimeoutException: Connection not available, Timed out waiting.
at com.ibm.ejs.j2c.poolmanager.FreePool.createOrWaitForConnection(FreePool.java:996)
at com.ibm.ejs.j2c.poolmanager.PoolManager.reserve(PoolManager.java:1590)
at com.ibm.ejs.j2c.ConnectionManager.allocateMCWrapper(ConnectionManager.java:658)
at com.ibm.ejs.j2c.ConnectionManager.allocateConnection(ConnectionManager.java:446)
at com.ibm.ws.rsadapter.jdbc.WSJdbcDataSource.getConnection(WSJdbcDataSource.java:215)
at com.ibm.ws.rsadapter.jdbc.WSJdbcDataSource.getConnection(WSJdbcDataSource.java:190)

Thank you very much for your response in advance.

Lk.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Exception on Websphere/ Jdbc