0 Replies Latest reply on Nov 8, 2002 11:23 AM by John Baker

    java.lang.RuntimeException: Interrupted while requesting per

    John Baker Newbie

      I frequently get this when calling my EJBs which then attempt to connect to a PostgreSQL datasource.

      Why? How can I fix it?

      --- Dumped to console by Jboss during call ---

      java.lang.RuntimeException: Interrupted while requesting permit!
      at org.jboss.pool.ObjectPool.getObject(ObjectPool.java:697)
      at org.jboss.pool.jdbc.xa.XAPoolDataSource.getConnection(XAPoolDataSource.java:227)
      at com.unique.epg.dao.SchemaDAOPostgre.getConnection(SchemaDAOPostgre.java:239)
      at com.unique.epg.dao.SchemaDAOPostgre.getLocationsByTimeRange(SchemaDAOPostgre.java:1278)
      at com.unique.epg.ejb.SchemaSessionBean.getSchedule(SchemaSessionBean.java:187)
      at com.unique.epg.ejb.SchemaSessionBean.getEpg(SchemaSessionBean.java:171)
      at java.lang.reflect.Method.invoke(Native Method)
      at org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionContainer.java:542)
      at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstanceInterceptor.java:82)
      at org.jboss.ejb.plugins.TxInterceptorCMT.invokeNext(TxInterceptorCMT.java:138)
      at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:347)
      at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:100)
      at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:127)
      at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:170)
      at org.jboss.ejb.StatelessSessionContainer.invoke(StatelessSessionContainer.java:286)
      at org.jboss.ejb.plugins.jrmp.server.JRMPContainerInvoker.invoke(JRMPContainerInvoker.java:506)
      at org.jboss.ejb.plugins.jrmp.interfaces.GenericProxy.invokeContainer(GenericProxy.java:335)
      at org.jboss.ejb.plugins.jrmp.interfaces.StatelessSessionProxy.invoke(StatelessSessionProxy.java:123)
      at $Proxy2.getEpg(Unknown Source)
      at com.unique.epg.ejb.SchemaSessionProxy.getEpg(SchemaSessionProxy.java:81)
      at com.unique.epg.agent.ExportAgent.buildFeed(ExportAgent.java:361)
      at com.unique.epg.agent.ExportAgent.checkFeed(ExportAgent.java:240)
      at com.unique.epg.agent.ExportAgent.checkFeeds(ExportAgent.java:176)
      at com.unique.epg.agent.ExportAgent.run(ExportAgent.java:151)
      at java.lang.Thread.run(Thread.java:479)