0 Replies Latest reply on Nov 5, 2002 6:26 AM by John Baker

    java.lang.RuntimeException: Interrupted while requesting per

    John Baker Newbie

      I frequently get this exception when calling but have no idea what it relates to. What permit is it talking about? Is this serious? I have a real time agent launched as a JMX bean embedded within JBoss. This agent is a client to the EJBs running in same VM. This is running under Jboss 2.4.x connected to PostgreSQL datasource. The agent keeps trying if it get's any exceptions so the problem does not prevent it working but slows it down a lot with unnecessary retries.

      Thanks in advance.

      -- recieved by client (embedded agent) ---

      [10:19:15,648,ExportAgent]
      com.unique.epg.ejb.EpgApplicationException: Error getting Epg, serviceId='e1.ce15.c22a.0', start='Tue Nov 05 00:00:00 GMT 2002', stop='Wed Nov 06 00:00:00 GMT 2002')
      Nested Exception is:
      javax.transaction.TransactionRolledbackException: null
      Embedded Exception
      Interrupted while requesting permit!; nested exception is:
      javax.ejb.EJBException: null
      Embedded Exception
      Interrupted while requesting permit!
      javax.ejb.EJBException: null
      Embedded Exception
      Interrupted while requesting permit!
      at org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionContainer.java:553)
      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)

      --- 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)

      at com.unique.epg.ejb.SchemaSessionProxy.getEpg(SchemaSessionProxy.java:83)
      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)