0 Replies Latest reply on Oct 24, 2001 12:05 AM by john mcdonald

    org.jboss.mq.SpyJMSException: Cannot process a transaction

    john mcdonald Newbie

      OS: Caldera OpenLinux 2.4
      JBoss/Tomcat: 2.4.3

      This exception occurs when I attempt to send a message over 100KB in length. Everything works great with smaller payloads. The data which is being set as the content of the message is provided by a parameter value from and HTTP put. It's simply an ASCII document that the user can edit in a textarea and then resubmit for processing.

      The complete stack trace is as follows:

      [Default] org.jboss.mq.SpyJMSException: Cannot process a transaction
      [Default] at org.jboss.mq.Connection.send(Connection.java:384)
      [Default]
      [Default] at org.jboss.mq.SpyXAResourceManager.commit(SpyXAResourceManager.java:102)
      [Default]
      [Default] at org.jboss.mq.SpySession.commit(SpySession.java:284)
      [Default]
      [Default] at com.itradenetwork.jms.JMSClient.sendMessage(JMSClient.java:57)
      [Default]
      [Default] at com.itradenetwork.metatrack.MetaViewServlet.reprocess(MetaViewServlet.java:171)
      [Default]
      [Default] at com.itradenetwork.metatrack.MetaViewServlet.doPost(MetaViewServlet.java:126)
      [Default]
      [Default] at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
      [Default]
      [Default] at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      [Default]
      [Default] at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:405)
      [Default]
      [Default] at org.apache.tomcat.core.Handler.service(Handler.java:287)
      [Default]
      [Default] at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
      [Default]
      [Default] at org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:812)
      [Default]
      [Default] at org.apache.tomcat.core.ContextManager.service(ContextManager.java:758)
      [Default]
      [Default] at org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:213)
      [Default]
      [Default] at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
      [Default]
      [Default] at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:501)
      [Default]
      [Default] at java.lang.Thread.run(Thread.java:484)
      [Default]
      [Default] linked exception is:
      [Default] java.io.UTFDataFormatException
      [Default] at java.io.ObjectOutputStream.writeUTF(ObjectOutputStream.java:1787)
      [Default]
      [Default] at org.jboss.mq.SpyTextMessage.writeExternal(SpyTextMessage.java:79)
      [Default]
      [Default] at org.jboss.mq.SpyMessage.writeMessage(SpyMessage.java:557)
      [Default]
      [Default] at org.jboss.mq.TransactionRequest.writeExternal(TransactionRequest.java:67)
      [Default]
      [Default] at org.jboss.mq.il.oil.OILServerIL.transact(OILServerIL.java:241)
      [Default]
      [Default] at org.jboss.mq.Connection.send(Connection.java:382)
      [Default]
      [Default] at org.jboss.mq.SpyXAResourceManager.commit(SpyXAResourceManager.java:102)
      [Default]
      [Default] at org.jboss.mq.SpySession.commit(SpySession.java:284)
      [Default]
      [Default] at com.itradenetwork.jms.JMSClient.sendMessage(JMSClient.java:57)
      [Default]
      [Default] at com.itradenetwork.metatrack.MetaViewServlet.reprocess(MetaViewServlet.java:171)
      [Default]
      [Default] at com.itradenetwork.metatrack.MetaViewServlet.doPost(MetaViewServlet.java:126)
      [Default]
      [Default] at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
      [Default]
      [Default] at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      [Default]
      [Default] at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:405)
      [Default]
      [Default] at org.apache.tomcat.core.Handler.service(Handler.java:287)
      [Default]
      [Default] at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
      [Default]
      [Default] at org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:812)
      [Default]
      [Default] at org.apache.tomcat.core.ContextManager.service(ContextManager.java:758)
      [Default]
      [Default] at org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:213)
      [Default]
      [Default] at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
      [Default]
      [Default] at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:501)
      [Default]
      [Default] at java.lang.Thread.run(Thread.java:484)
      [Default]
      [OILServerILService] Client request resulted in a server exception:
      java.io.EOFException
      at java.io.DataInputStream.readFully(DataInputStream.java:158)
      at java.io.ObjectInputStream.readUTFBody(ObjectInputStream.java:2138)
      at java.io.ObjectInputStream.readUTF(ObjectInputStream.java:2107)
      at org.jboss.mq.SpyTextMessage.readExternal(SpyTextMessage.java:68)
      at org.jboss.mq.SpyMessage.readMessage(SpyMessage.java:589)
      at org.jboss.mq.TransactionRequest.readExternal(TransactionRequest.java:48)
      at org.jboss.mq.il.oil.OILServerILService.run(OILServerILService.java:266)
      at java.lang.Thread.run(Thread.java:484)