wood burning stoves 2.0
The moose likes Websphere and the fly likes JMS Connection Timeout Exception Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 forum!
JavaRanch » Java Forums » Products » Websphere
Bookmark "JMS Connection Timeout Exception" Watch "JMS Connection Timeout Exception" New topic

JMS Connection Timeout Exception

eric mcentee
Ranch Hand

Joined: May 02, 2001
Posts: 66
Has anyone seen something like occur? It's sporadic, sometimes my Queues appear to work fine, but once under load I get this:
[1/15/04 15:30:20:913 EST] 2ae92451 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 for 180000
at com.ibm.ejs.j2c.poolmanager.FreePool.createOrWaitForConnection(FreePool.java:1030)
at com.ibm.ejs.j2c.poolmanager.PoolManager.reserve(PoolManager.java(Compiled Code))
at com.ibm.ejs.j2c.ConnectionManager.allocateMCWrapper(ConnectionManager.java(Compiled Code))
at com.ibm.ejs.j2c.ConnectionManager.allocateConnection(ConnectionManager.java(Compiled Code))
at com.ibm.ejs.jms.JMSQueueConnectionFactoryHandle.createQueueConnection(JMSQueueConnectionFactoryHandle.java:80)
Any advice on how to set up the queues or if you've seen this, any clues?
Ananthakrishnan J

Joined: Jun 11, 2002
Posts: 1
Have you tried increasing the connection pool size. (i think default max is 10 connections...increase to 100)

I agree. Here's the link: http://aspose.com/file-tools
subject: JMS Connection Timeout Exception
It's not a secret anymore!