0 Replies Latest reply on Dec 19, 2008 6:19 AM by javaamtho

    Jboss 4.2.2 GA : No ManagedConnections available within conf

    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.