[Performance Tuning] - Jboss 4.2.2 GA : No ManagedConnections available within conf
by javaAmtho
Hi,
I am getting "No ManagedConnections available within configured blocking timeout ( 30000 [ms] )"issue on Jboss 4.2.2 GA Application server.
I have deployed CMP EJB bean and its working fine without this issue into Jboss 4.0.5 GA.
I havnt changes any code into my bean and i just ported my product to new jboss 4.2.2 GA server.
System Infom:
Portal Server ::Jbosss 4.2.2. GA(
Java 1.5
ejb 2.1.
Error trace :
2008-12-18 06:53:52,671 DEBUG [JDBCExceptionReporter] Cannot open connection [???]
org.jboss.util.NestedSQLException: No ManagedConnections available within configured blocking timeout ( 30000 [ms] ); - nested throwable: (javax.resource.ResourceException: No ManagedConnections available within configured blocking timeout ( 30000 [ms] ))
at org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnection(WrapperDataSource.java:94)
at org.hibernate.connection.DatasourceConnectionProvider.getConnection(DatasourceConnectionProvider.java:59)
at org.hibernate.jdbc.ConnectionManager.openConnection(ConnectionManager.java:298)
at org.hibernate.jdbc.ConnectionManager.getConnection(ConnectionManager.java:110)
at org.hibernate.jdbc.AbstractBatcher.prepareQueryStatement(AbstractBatcher.java:88)
at org.hibernate.loader.Loader.prepareQueryStatement(Loader.java:1162)
at org.hibernate.loader.Loader.doQuery(Loader.java:390)
at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:218)
at org.hibernate.loader.Loader.doList(Loader.java:1593)
at org.hibernate.loader.Loader.list(Loader.java:1577)
at org.hibernate.loader.hql.QueryLoader.list(QueryLoader.java:395)
at org.hibernate.hql.ast.QueryTranslatorImpl.list(QueryTranslatorImpl.java:271)
at org.hibernate.impl.SessionImpl.list(SessionImpl.java:844)
at org.hibernate.impl.QueryImpl.list(QueryImpl.java:74)
Please let me know if you faced same issue or any idea you might have .
Regard
JavaAmtho.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4197592#4197592
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4197592
17 years, 4 months
[JBoss jBPM] - what are the active tokens
by tbeernot
I have a parent which has forked two childeren. At a certain moment the two childeren are each in some state and the parent is waiting in the fork. This means -for me- I have to two active token and one suspended.
Some time later the childeren have joined and the parent is active again. This means -for me- I have to one active token.
I would like to be able to determine all active tokens. I used to do this by scanning all tokens and removing all tokens that had a node of class "StartState", "Fork", "Join", "EndState".
That worked ok, but for some reason I now get Nodes that have a class "enhancedByCGLIB" and cannot use that anymore.
Is there any other way to determine if a token is active?
Methods like isSuspended, isLocked or hasActiveChildren don't work (the last not because one of the childs at some time will enter the Join state and thus is not active anymore, but it never hasActiveChildren).
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4197590#4197590
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4197590
17 years, 4 months