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.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3999712#3999712

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3999712
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to