We've had a running JBoss 3.0.4 / Tomca 4.1.12 setup for months. This weekend 4 systems where shut down and all are now failing. Relevant console log is:
2003-05-12 09:48:24,855 ERROR [org.jboss.mq.pm.file.PersistenceManager] Starting failed
org.jboss.mq.SpyJMSException: Could not rebuild the queue from the queue's tranaction log.; - nested throwable: (java.lang.NumberFormatException: txt)
at org.jboss.mq.pm.file.MessageLog.throwJMSException(MessageLog.java:257)
at org.jboss.mq.pm.file.MessageLog.restore(MessageLog.java:114)
at org.jboss.mq.pm.file.PersistenceManager.restoreTransactions(PersistenceManager.java:246)
at org.jboss.mq.pm.file.PersistenceManager.startService(PersistenceManager.java:169)
at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:165)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
...
and:
2003-05-12 09:48:24,996 WARN [org.jboss.system.ServiceController] Problem starting service jboss.mq:service=PersistenceManager
org.jboss.mq.SpyJMSException: Could not rebuild the queue from the queue's tranaction log.; - nested throwable: (java.lang.NumberFormatException: txt)
at org.jboss.mq.pm.file.MessageLog.throwJMSException(MessageLog.java:257)
at org.jboss.mq.pm.file.MessageLog.restore(MessageLog.java:114)
at org.jboss.mq.pm.file.PersistenceManager.restoreTransactions(PersistenceManager.java:246)
at org.jboss.mq.pm.file.PersistenceManager.startService(PersistenceManager.java:169)
at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:165)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
...
Both with a "caused by":
Caused by: java.lang.NumberFormatException: txt
at java.lang.Long.parseLong(Long.java:323)
at java.lang.Long.parseLong(Long.java:381)
at org.jboss.mq.pm.file.MessageLog.restore(MessageLog.java:102)
... 68 more
Subsequently we cannot hit JBoss/or Tomcat