org.jboss.mq.SpyJMSException: Could not store message: 18837 msg=282 hard NOT\_STORED PERSISTENT queue=TOPIC.fromRouter.ID:7.-2147483648 priority=4 lateClone=false hashCode=31865957; - nested throwable: (java.sql.SQLException: File input/output errorerror java.io.IOException closing file - file E:\jboss-4.0.2\server\default\data\hypersonic\localDB.data in statement \[INSERT INTO JMS\_MESSAGES (MESSAGEID, DESTINATION, MESSAGEBLOB, TXID, TXOP) VALUES(?,?,?,?,?)\])

hsqldb | niefeng1983 | 1 decade ago
  1. 0

    Error in closing localdb.data

    hsqldb | 1 decade ago | niefeng1983
    org.jboss.mq.SpyJMSException: Could not store message: 18837 msg=282 hard NOT\_STORED PERSISTENT queue=TOPIC.fromRouter.ID:7.-2147483648 priority=4 lateClone=false hashCode=31865957; - nested throwable: (java.sql.SQLException: File input/output errorerror java.io.IOException closing file - file E:\jboss-4.0.2\server\default\data\hypersonic\localDB.data in statement \[INSERT INTO JMS\_MESSAGES (MESSAGEID, DESTINATION, MESSAGEBLOB, TXID, TXOP) VALUES(?,?,?,?,?)\])
  2. 0

    [jboss-user] [Messaging, JMS & JBossMQ] - Re: org.jboss.mq.SpyJMSException: Exiting on IOE

    jboss.org | 7 months ago
    org.jboss.mq.SpyJMSException: Cannot send a message to the JMS server; - nested throwable: (java.io.IOException: Client is not connected)
  3. 0

    JBoss - MDB deployment

    Coderanch | 1 decade ago | kri shan
    org.jboss.mq.SpyTransactionRolledBackException: Transaction was rolled back.; - nested throwable: (org.jboss.mq.SpyJMSException: Could not store message: 1 msg=0 hard NOT_STORED PERSISTENT queue=QUEUE.order priority=4 hashCode=30931677; - nested throwable: (The table for org.jboss.mq.SpyObjectMessage is not in the database. Contact the DBA, as the database is in an inconsistent state.))
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    I have a such config: Local MDB is connecting to remote Queue through JMSProvider. Config for MDB invoker: <invoker-proxy-binding> <name>cmd-message-driven-bean</name> <invoker-mbean>default</invoker-mbean> <proxy-factory>org.jboss.ejb.plugins.jms.JMSContainerInvoker</proxy-factory> <proxy-factory-config> <JMSProviderAdapterJNDI>SSLCMDJMSProvider</JMSProviderAdapterJNDI> <ServerSessionPoolFactoryJNDI>StdJMSPool</ServerSessionPoolFactoryJNDI> <!-- WARN: Don't set this to zero until a bug in the pooled executor is fixed --> <MinimumSize>1</MinimumSize> <MaximumSize>15</MaximumSize> <KeepAliveMillis>30000</KeepAliveMillis> <MaxMessages>1</MaxMessages> <MDBConfig> <ReconnectIntervalSec>120</ReconnectIntervalSec> <DLQConfig> <DestinationQueue>queue/DLQ</DestinationQueue> <MaxTimesRedelivered>259200</MaxTimesRedelivered> <TimeToLive>0</TimeToLive> <DLQUser>sync</DLQUser> <DLQPassword>***</DLQPassword> </DLQConfig> </MDBConfig> </proxy-factory-config> </invoker-proxy-binding> Remote UIL2 Factory config: <mbean code="org.jboss.mq.il.uil2.UILServerILService" name="jboss.mq:service=InvocationLayer,type=SSLUIL2"> <depends optional-attribute-name="Invoker">jboss.mq:service=Invoker</depends> <attribute name="ConnectionFactoryJNDIRef">SSLUIL2ConnectionFactory</attribute> <attribute name="XAConnectionFactoryJNDIRef">SSLUIL2XAConnectionFactory</attribute> <!-- The bind address --> <attribute name="BindAddress">${jboss.bind.address}</attribute> <attribute name="ServerBindPort">8193</attribute> <attribute name="PingPeriod">60000</attribute> <attribute name="EnableTcpNoDelay">true</attribute> <!-- Used to disconnect the client if there is no activity --> <!-- Ensure this is greater than the ping period --> <attribute name="ReadTimeout">120000</attribute> <attribute name="ClientReadTimeout">120000</attribute> <!-- The size of the buffer (in bytes) wrapping the socket --> <!-- The buffer is flushed after each request --> <attribute name="BufferSize">2048</attribute> <!-- Large messages may block the ping/pong --> <!-- A pong is simulated after each chunk (in bytes) for both reading and writing --> <!-- It must be larger than the buffer size --> <attribute name="ChunkSize">100000</attribute> <attribute name="ClientSocketFactory">org.jboss.security.ssl.ClientSocketFactory</attribute> <attribute name="ServerSocketFactory">org.jboss.security.ssl.DomainServerSocketFactory</attribute> <attribute name="SecurityDomain">java:/jaas/SSL</attribute> </mbean> Local JMS datasource config: <mbean code="org.jboss.jms.jndi.JMSProviderLoader" name="jboss.mq:service=JMSProviderLoader,name=SSLCMDJMSProvider,server=cmdhost"> <attribute name="ProviderName">SSLCMDJMSProvider</attribute> <attribute name="ProviderAdapterClass">org.jboss.jms.jndi.JNDIProviderAdapter</attribute> <!-- The queue connection factory --> <attribute name="QueueFactoryRef">SSLUIL2XAConnectionFactory</attribute> <!-- The topic factory --> <attribute name="TopicFactoryRef">SSLUIL2XAConnectionFactory</attribute> <!-- Connect to JNDI on the host "queuehost" port 1099--> <attribute name="Properties"> java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory java.naming.factory.url.pkgs=org.jnp.interfaces java.naming.provider.url=*.*.*.*:1099 </attribute> </mbean> Problem: After some time (~1-3 hours) MDB side begins report about problems to close connection to server: 2005-11-10 14:41:25,818 ERROR [org.jboss.ejb.plugins.jms.JMSContainerInvoker] Could not stop JMS connection org.jboss.mq.SpyJMSException: Cannot disable the connection with the JMS server; - nested throwable: (java.io.IOException: Client is not connected) at org.jboss.mq.SpyJMSException.getAsJMSException(SpyJMSException.java:66) at org.jboss.mq.SpyJMSException.rethrowAsJMSException(SpyJMSException.java:51) at org.jboss.mq.Connection.doStop(Connection.java:1235) at org.jboss.mq.Connection.stop(Connection.java:696) at org.jboss.ejb.plugins.jms.JMSContainerInvoker.innerStopDelivery(JMSContainerInvoker.java:987) at org.jboss.ejb.plugins.jms.JMSContainerInvoker$ExceptionListenerImpl.run(JMSContainerInvoker.java:1447) at java.lang.Thread.run()V(Unknown Source) Caused by: java.io.IOException: Client is not connected at org.jboss.mq.il.uil2.SocketManager.internalSendMessage(SocketManager.java:238) at org.jboss.mq.il.uil2.SocketManager.sendMessage(SocketManager.java:206) at org.jboss.mq.il.uil2.UILServerIL.setEnabled(UILServerIL.java:197) at org.jboss.mq.Connection.doStop(Connection.java:1231) ... 4 more 2005-11-10 14:41:25,989 DEBUG [org.jboss.ejb.plugins.jms.DLQHandler] Stopping DLQHandler 2005-11-10 14:41:25,989 WARN [org.jboss.ejb.plugins.jms.DLQHandler] Stopping failed DLQHandler org.jboss.mq.SpyJMSException: Cannot disable the connection with the JMS server; - nested throwable: (java.io.IOException: Client is not connected) at org.jboss.mq.SpyJMSException.getAsJMSException(SpyJMSException.java:66) at org.jboss.mq.SpyJMSException.rethrowAsJMSException(SpyJMSException.java:51) at org.jboss.mq.Connection.doStop(Connection.java:1235) at org.jboss.mq.Connection.stop(Connection.java:696) at org.jboss.ejb.plugins.jms.DLQHandler.stopService(DLQHandler.java:177) at org.jboss.system.ServiceMBeanSupport.jbossInternalStop(ServiceMBeanSupport.java:300) at org.jboss.system.ServiceMBeanSupport.stop(ServiceMBeanSupport.java:191) at org.jboss.ejb.plugins.jms.JMSContainerInvoker.innerStopDelivery(JMSContainerInvoker.java:998) at org.jboss.ejb.plugins.jms.JMSContainerInvoker$ExceptionListenerImpl.run(JMSContainerInvoker.java:1447) at java.lang.Thread.run()V(Unknown Source) Caused by: java.io.IOException: Client is not connected at org.jboss.mq.il.uil2.SocketManager.internalSendMessage(SocketManager.java:238) at org.jboss.mq.il.uil2.SocketManager.sendMessage(SocketManager.java:206) at org.jboss.mq.il.uil2.UILServerIL.setEnabled(UILServerIL.java:197) at org.jboss.mq.Connection.doStop(Connection.java:1231) ... 7 more And this is stopping only after either redeploying MDB or restarting JBoss.

    JBoss Issue Tracker | 1 decade ago | Alexander Serbul
    org.jboss.mq.SpyJMSException: Cannot disable the connection with the JMS server; - nested throwable: (java.io.IOException: Client is not connected)
  6. 0

    IceFaces & Clustering (with AHS)

    icesoft.org | 7 months ago
    org.jboss.mq.SpyJMSException: Cannot ping the JMS server; - nested throwable: (java.io.IOException: Client is not connec ted)

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. org.jboss.mq.SpyJMSException

      Could not store message: 18837 msg=282 hard NOT\_STORED PERSISTENT queue=TOPIC.fromRouter.ID:7.-2147483648 priority=4 lateClone=false hashCode=31865957; - nested throwable: (java.sql.SQLException: File input/output errorerror java.io.IOException closing file - file E:\jboss-4.0.2\server\default\data\hypersonic\localDB.data in statement \[INSERT INTO JMS\_MESSAGES (MESSAGEID, DESTINATION, MESSAGEBLOB, TXID, TXOP) VALUES(?,?,?,?,?)\])

      at org.jboss.mq.pm.jdbc2.PersistenceManager.saveToStorage()
    2. JBossMQ
      SpyTopicPublisher.publish
      1. org.jboss.mq.pm.jdbc2.PersistenceManager.saveToStorage(PersistenceManager.java:1283)
      2. org.jboss.mq.server.MessageCache.saveToStorage(MessageCache.java:407)
      3. org.jboss.mq.server.MessageReference.makeSoft(MessageReference.java:301)
      4. org.jboss.mq.server.MessageCache.validateSoftReferenceDepth(MessageCache.java:354)
      5. org.jboss.mq.server.MessageCache.addInternal(MessageCache.java:145)
      6. org.jboss.mq.server.MessageCache.add(MessageCache.java:115)
      7. org.jboss.mq.server.JMSTopic.addMessage(JMSTopic.java:358)
      8. org.jboss.mq.server.JMSDestinationManager.addMessage(JMSDestinationManager.java:397)
      9. org.jboss.mq.server.JMSDestinationManager.addMessage(JMSDestinationManager.java:373)
      10. org.jboss.mq.server.JMSServerInvoker.addMessage(JMSServerInvoker.java:136)
      11. org.jboss.mq.il.jvm.JVMServerIL.addMessage(JVMServerIL.java:136)
      12. org.jboss.mq.Connection.sendToServer(Connection.java:965)
      13. org.jboss.mq.SpySession.sendMessage(SpySession.java:975)
      14. org.jboss.mq.SpyMessageProducer.send(SpyMessageProducer.java:265)
      15. org.jboss.mq.SpyMessageProducer.send(SpyMessageProducer.java:199)
      16. org.jboss.mq.SpyTopicPublisher.publish(SpyTopicPublisher.java:58)
      16 frames