2 Replies Latest reply on Aug 4, 2009 12:55 PM by Meghana Joglekar

    Problem after switching to SQLServer from Hypersonic

    Matt Adams Newbie

      Hi

      We are having a problem with JBossMQ. We have recently switched from using the Hypersonic db to SQLSever 2000. Things run smoothly for a while but then we get the following error every time we try and receive/browse on any queue. To resolve we then have to restart JBoss.

      Anybody any idea what the problem could be?

      java.lang.RuntimeException: Can't add object '244 msg=51 STORED PERSISTENT queue=QUEUE.workingJobs priority=4 lateClone=false hashCode=27152951' to LRUCache that is already in cache.
      INFO | jvm 1 | 2008/03/03 11:35:59.175 | at org.jboss.mq.server.MessageCache$LRUCache.addMostRecent(MessageCache.java:791)
      INFO | jvm 1 | 2008/03/03 11:35:59.175 | at org.jboss.mq.server.MessageCache.messageReferenceUsedEvent(MessageCache.java:403)
      INFO | jvm 1 | 2008/03/03 11:35:59.175 | at org.jboss.mq.server.MessageReference.getMessage(MessageReference.java:168)
      INFO | jvm 1 | 2008/03/03 11:35:59.175 | at org.jboss.mq.server.MessageReference.getMessageForDelivery(MessageReference.java:147)
      INFO | jvm 1 | 2008/03/03 11:35:59.175 | at org.jboss.mq.server.BasicQueue.browse(BasicQueue.java:433)
      INFO | jvm 1 | 2008/03/03 11:35:59.175 | at org.jboss.mq.server.JMSQueue.browse(JMSQueue.java:160)
      INFO | jvm 1 | 2008/03/03 11:35:59.175 | at org.jboss.mq.server.JMSDestinationManager.browse(JMSDestinationManager.java:566)
      INFO | jvm 1 | 2008/03/03 11:35:59.175 | at org.jboss.mq.server.JMSServerInterceptorSupport.browse(JMSServerInterceptorSupport.java:226)
      INFO | jvm 1 | 2008/03/03 11:35:59.175 | at org.jboss.mq.security.ServerSecurityInterceptor.browse(ServerSecurityInterceptor.java:99)
      INFO | jvm 1 | 2008/03/03 11:35:59.175 | at org.jboss.mq.server.TracingInterceptor.browse(TracingInterceptor.java:504)
      INFO | jvm 1 | 2008/03/03 11:35:59.175 | at org.jboss.mq.server.JMSServerInvoker.browse(JMSServerInvoker.java:227)
      INFO | jvm 1 | 2008/03/03 11:35:59.175 | at org.jboss.mq.il.uil2.ServerSocketManagerHandler.handleMsg(ServerSocketManagerHandler.java:113)
      INFO | jvm 1 | 2008/03/03 11:35:59.175 | at org.jboss.mq.il.uil2.SocketManager$ReadTask.handleMsg(SocketManager.java:396)
      INFO | jvm 1 | 2008/03/03 11:35:59.175 | at org.jboss.mq.il.uil2.msgs.BaseMsg.run(BaseMsg.java:392)
      INFO | jvm 1 | 2008/03/03 11:35:59.175 | at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:748)
      INFO | jvm 1 | 2008/03/03 11:35:59.175 | at java.lang.Thread.run(Unknown Source)

      Any help would be appreciated!

      Thanks
      Matt