-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
 Post subject: Wesphere 5.1 Connection Pool
PostPosted: Fri Mar 04, 2005 12:32 pm 
Newbie

Joined: Fri Mar 04, 2005 4:17 am
Posts: 2
Hi,

did anybody got Hibernate working with Websphere 5.1 and an Oracle Database (we testet 8.1.7 and 9.x)? We are having extreme Problems with stress testing on that environment.

Our Websphere uses OracleConnectionPoolDataSource as implementation. It seems that if more connections are requested as are available in the (WAS) connection pool, the WAS freezez. After the configured time limit for connections we get timeouts for every request.



[01.03.05 11:41:06:428 CET] 17a122f FreePool E J2CA0045E: Die Verbindung ist beim Aufruf der Methode queueRequest für Ressource comp/env/jdbc/XyDataSource nicht verfügbar.
[01.03.05 11:41:06:428 CET] 144f3c9 ConnectionMan E J2CA0020E: Der Connection Pool Manager konnte eine verwaltete Verbindung nicht zuordnen: com.ibm.websphere.ce.j2c.ConnectionWaitTimeoutException: Connection not available, Timed out waiting for 1800225
at com.ibm.ejs.j2c.poolmanager.FreePool.createOrWaitForConnection(FreePool.java:1034)
at com.ibm.ejs.j2c.poolmanager.PoolManager.reserve(PoolManager.java:1720)
at com.ibm.ejs.j2c.ConnectionManager.allocateMCWrapper(ConnectionManager.java:677)
at com.ibm.ejs.j2c.ConnectionManager.allocateConnection(ConnectionManager.java:461)
at com.ibm.ws.rsadapter.jdbc.WSJdbcDataSource.getConnection(WSJdbcDataSource.java:241)
at com.ibm.ws.rsadapter.jdbc.WSJdbcDataSource.getConnection(WSJdbcDataSource.java:214



When all request got that timeout, the system no more hangs, but really only if no more connections are requested.

We implemented our own "Connection Provider". With counters and tracing we figured out that all connections are closed.

Is there any specific to set in web.xml or ibm-xxx.xmi's ?
Or is any another connection pool implementation running fine?

For information. We did that same stress test on a JBoss (but local installation, so it was much slower). But it handled all connections fine. Even if the pool was configured with min 1 max 2, all request from e.g. 80 Users did result successfully.

Thanks and Greetings

Dennis


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.