0 Replies Latest reply on Jan 9, 2007 7:32 PM by Robert Hughes

    Could not rebuild the queue from the queue's tranaction log

    Robert Hughes Newbie

      Hi everyone.

      I am quite new to JBoss and have been charged with resolving an issue with an existing J2EE application.

      Every now and then in this application we get an issue whereby the following error is thrown when I try to start up JBoss.

      org.jboss.mq.SpyJMSException: Could not rebuild the queue from the queue's tranaction log.; - nested throwable: (java.lang.NullPointerException)

      .. lots of gunk then

      Caused by: java.lang.NullPointerException
      at org.jboss.mq.server.MessageReference.init(MessageReference.java:100)
      at org.jboss.mq.server.MessageCache.addInternal(MessageCache.java:130)
      at org.jboss.mq.server.MessageCache.add(MessageCache.java:103)
      at org.jboss.mq.pm.file.MessageLog.restoreMessageFromFile(MessageLog.java:267)
      at org.jboss.mq.pm.file.MessageLog.restore(MessageLog.java:96)

      I can get it to start by removing some files from the \jbossmq\file\QUEUE.OffendingQueue/ folder.

      Can somebody explain how it gets in a state whereby it will write these 'messages' here but cannot read them again? I know this is generic request but if somebody could give me any help that would be great.