[jboss-user] [Messaging, JMS & JBossMQ] - Could not rebuild the queue from the queue's tranaction log

bertnz do-not-reply at jboss.com
Tue Jan 9 19:32:08 EST 2007


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



More information about the jboss-user mailing list