Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Exception on Websphere/ Jdbc

 
Luke Zechariah
Ranch Hand
Posts: 128
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic