This week's book giveaway is in the Java 8 forum.
We're giving away four copies of Java 8 in Action and have Raoul-Gabriel Urma, Mario Fusco, and Alan Mycroft on-line!
See this thread for details.
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 Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Products » Websphere
Bookmark "JMS Connection Timeout Exception" Watch "JMS Connection Timeout Exception" New topic
Author

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?
Thanks,
Eric
Ananthakrishnan J
Greenhorn

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

Regards
Ananth
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JMS Connection Timeout Exception
 
Similar Threads
db2jdbc Error
jms exception
Websphere MQ and missing Connection Pool reference
Connection error with WAS 5.1 and DB2 z/OS 8.2
java.sql.SQLException: DSRA9002E: ResourceException with error code null