0 Replies Latest reply on Jun 25, 2002 10:39 AM by Kuba Nowakowski

    JMS Oracle PersistenceManager

    Kuba Nowakowski Newbie

      Hi

      I've this strange exception every time i'm sending message to persistence queue

      this goes as INFO but i also get error from MDB

      15:29:44,560 INFO [JBossManagedConnectionPool] ResourceException returning ManagedConnect
      ion to pool:
      javax.resource.ResourceException: Could not cleanup: java.sql.SQLException: Io exception:
      Connection reset by peer: socket write error
      at org.jboss.resource.adapter.jdbc.local.LocalManagedConnection.cleanup(LocalManag
      edConnection.java:198)
      at org.jboss.resource.connectionmanager.InternalManagedConnectionPool.returnConnec
      tion(InternalManagedConnectionPool.java:137)
      at org.jboss.resource.connectionmanager.JBossManagedConnectionPool$BasePool.return
      Connection(JBossManagedConnectionPool.java:324)
      at org.jboss.resource.connectionmanager.BaseConnectionManager2.returnManagedConnec
      tion(BaseConnectionManager2.java:494)
      at org.jboss.resource.connectionmanager.LocalTxConnectionManager$LocalConnectionEv
      entListener.commit(LocalTxConnectionManager.java:558)
      at org.jboss.tm.TxCapsule.commitResources(TxCapsule.java:1656)
      at org.jboss.tm.TxCapsule.commit(TxCapsule.java:357)
      at org.jboss.tm.TransactionImpl.commit(TransactionImpl.java:74)
      at org.jboss.mq.pm.jdbc2.PersistenceManager$TransactionManagerStrategy.endTX(Persi
      stenceManager.java:177)
      at org.jboss.mq.pm.jdbc2.PersistenceManager.add(PersistenceManager.java:666)
      at org.jboss.mq.server.PersistentQueue.addMessage(PersistentQueue.java:41)
      at org.jboss.mq.server.JMSQueue.addMessage(JMSQueue.java:111)
      at org.jboss.mq.server.JMSDestinationManager.addMessage(JMSDestinationManager.java
      :397)
      at org.jboss.mq.server.JMSDestinationManager.addMessage(JMSDestinationManager.java
      :375)
      at org.jboss.mq.server.JMSServerInterceptorSupport.addMessage(JMSServerInterceptor
      Support.java:135)
      at org.jboss.mq.security.ServerSecurityInterceptor.addMessage(ServerSecurityInterc
      eptor.java:155)
      at org.jboss.mq.server.TracingInterceptor.addMessage(TracingInterceptor.java:206)
      at org.jboss.mq.server.JMSServerInvoker.addMessage(JMSServerInvoker.java:137)
      at org.jboss.mq.il.oil.OILServerILService$Client.run(OILServerILService.java:233)
      at java.lang.Thread.run(Thread.java:484)
      15:29:44,791 WARN [TxCapsule] XAException: tx=XidImpl [FormatId=257, GlobalId=Pisklak//83
      , BranchQual=] errorCode=XA_UNKNOWN(0)
      javax.transaction.xa.XAException: could not commit local txjavax.resource.ResourceExceptio
      n: SQLException
      at org.jboss.resource.connectionmanager.LocalTxConnectionManager$LocalConnectionEv
      entListener.commit(LocalTxConnectionManager.java:563)
      at org.jboss.tm.TxCapsule.commitResources(TxCapsule.java:1656)
      at org.jboss.tm.TxCapsule.commit(TxCapsule.java:357)
      at org.jboss.tm.TransactionImpl.commit(TransactionImpl.java:74)
      at org.jboss.mq.pm.jdbc2.PersistenceManager$TransactionManagerStrategy.endTX(Persi
      stenceManager.java:177)
      at org.jboss.mq.pm.jdbc2.PersistenceManager.add(PersistenceManager.java:666)
      at org.jboss.mq.server.PersistentQueue.addMessage(PersistentQueue.java:41)
      at org.jboss.mq.server.JMSQueue.addMessage(JMSQueue.java:111)
      at org.jboss.mq.server.JMSDestinationManager.addMessage(JMSDestinationManager.java
      :397)
      at org.jboss.mq.server.JMSDestinationManager.addMessage(JMSDestinationManager.java
      :375)
      at org.jboss.mq.server.JMSServerInterceptorSupport.addMessage(JMSServerInterceptor
      Support.java:135)
      at org.jboss.mq.security.ServerSecurityInterceptor.addMessage(ServerSecurityInterc
      eptor.java:155)
      at org.jboss.mq.server.TracingInterceptor.addMessage(TracingInterceptor.java:206)
      at org.jboss.mq.server.JMSServerInvoker.addMessage(JMSServerInvoker.java:137)
      at org.jboss.mq.il.oil.OILServerILService$Client.run(OILServerILService.java:233)
      at java.lang.Thread.run(Thread.java:484)

      ERROR from MDB

      14:42:47,029 ERROR [StdServerSession] failed to commit/rollback
      javax.transaction.xa.XAException
      at org.jboss.mq.SpyXAResource.commit(SpyXAResource.java:100)
      at org.jboss.jms.asf.StdServerSession.onMessage(StdServerSession.java:285)
      at org.jboss.mq.SpyMessageConsumer.sessionConsumerProcessMessage(SpyMessageConsume
      r.java:561)
      at org.jboss.mq.SpyMessageConsumer.addMessage(SpyMessageConsumer.java:377)

      at org.jboss.mq.SpySession.run(SpySession.java:252)
      at org.jboss.jms.asf.StdServerSession.run(StdServerSession.java:173)
      at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:
      642)
      at java.lang.Thread.run(Thread.java:484)


      i tried this with latest release of jms but results were the same

      regards

      Kuba