2 Replies Latest reply on Aug 5, 2005 6:00 PM by genman

    Connection leakage w/ JMS Queue in JBoss 4.0.1?

    thebadpete

      Hi all,

      I have an app that makes use of HA-JMS. The configuration is mostly the same as the "all" configuration. I have my own JMS queue put in the jbossmq-destinations-service.xml, using UIL2ConnectionFactory in the code. I ran into the following exceptions after the app runs for awhile. Is there any workarounds, other than not using persistence for the messages? Any hints are really appreciated!

      08:11:45,637 ERROR [TestIMPSClass] org.jboss.mq.SpyJMSException: Could not store message: 13901 msg=279 hard NOT_STORED PERSISTENT queue=QUEUE.PresenceInfoChannelCallin priority=4 lateClone=false hashCode=19833803; - nested throwable: (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.mq.pm.jdbc2.PersistenceManager.add(PersistenceManager.java:802)
      at org.jboss.mq.server.PersistentQueue.addMessage(PersistentQueue.java:38)
      at org.jboss.mq.server.JMSQueue.addMessage(JMSQueue.java:131)
      at org.jboss.mq.server.JMSDestinationManager.addMessage(JMSDestinationManager.java:414)
      at org.jboss.mq.server.JMSDestinationManager.addMessage(JMSDestinationManager.java:390)
      at org.jboss.mq.server.JMSServerInterceptorSupport.addMessage(JMSServerInterceptorSupport.java:136)
      at org.jboss.mq.security.ServerSecurityInterceptor.addMessage(ServerSecurityInterceptor.java:153)
      at org.jboss.mq.server.TracingInterceptor.addMessage(TracingInterceptor.java:270)
      at org.jboss.mq.server.JMSServerInvoker.addMessage(JMSServerInvoker.java:136)
      at org.jboss.mq.il.uil2.ServerSocketManagerHandler.handleMsg(ServerSocketManagerHandler.java:86)
      at org.jboss.mq.il.uil2.SocketManager$ReadTask.handleMsg(SocketManager.java:361)
      at org.jboss.mq.il.uil2.msgs.BaseMsg.run(BaseMsg.java:377)
      at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:748)