Hi,
We have configured JMS Cache coordination in our applications and its working fine. But often we are observing one issue i.e. repeated JMS exceptions which are throwing in server and application becoming very slow. There is no other option we need to restart the server.
We are using Weblogic 10.3.5 and Toplink 9.0.3 version. We have configured <should-remove-connection-on-error>true</should-remove-connection-on-error> also but no use. Please help us how to stop these, any configuration we are missing here.
2 types of repeated Exceptions which we are getting in server are :
Pattern 1:-
2012.10.08 03:26:13.455--ServerSession(6544148)--Connection(23364215)--SELECT ACTUAL_URL, URL_A2012.10.2012.10.08 03:32:48.998--ServerSession(10338663)--Retreived remote message from JMS topic: TopLinkJMSModule!jms/TopLinkCacheSyn2012.10.08 03:32:49.098--ServerSession(28397831)--Exception [TOPLINK-18001] (OracleAS TopLink - 10g (9.0.4.2) (Build 040311)): oracle.toplink.exceptions.JMSProcessingException
Exception Description: Error while processing incomming JMS message
Internal Exception: java.lang.ClassCastException: cannot assign instance of oracle.toplink.internal.identitymaps.CacheKey to field oracle.toplink.internal.sessions.ObjectChangeSet.cacheKey of type oracle.toplink.internal.identitymaps.CacheKey in instance of oracle.toplink.internal.sessions.AggregateObjectChangeSetLocal Exception Stack:
Exception [TOPLINK-18001] (OracleAS TopLink - 10g (9.0.4.2) (Build 040311)): oracle.toplink.exceptions.JMSProcessingException
Exception Description: Error while processing incomming JMS message
Internal Exception: java.lang.ClassCastException: cannot assign instance of oracle.toplink.internal.identitymaps.CacheKey to field oracle.toplink.internal.sessions.ObjectChangeSet.cacheKey of type oracle.toplink.internal.identitymaps.CacheKey in instance of oracle.toplink.internal.sessions.AggregateObjectChangeSet
at oracle.toplink.exceptions.JMSProcessingException.buildDefault(JMSProcessingException.java:18)
at oracle.toplink.remote.jms.TopLinkMessageListener.onMessage(TopLinkMessageListener.java:60)
at weblogic.jms.client.JMSSession.onMessage(JMSSession.java:4659)
at weblogic.jms.client.JMSSession.execute(JMSSession.java:4345)
at weblogic.jms.client.JMSSession.executeMessage(JMSSession.java:3821)
at weblogic.jms.client2012.10.08 03:32:49.148--ServerSession(10338663)--Retreived remote message from JMS topic: TopLinkJMSModule!jms/TopLinkCacheSynchTopic
2012.10.08 03:32:49.155--ServerSession(10338663)--JMSException thrown
2012.10.08 03:32:49.156--ServerSession(10338663)--Retreived remote message from JMS topic: TopLinkJMSModule!jms/TopLinkCacheSynchTopic
2012.10.08 03:32:49.156--ServerSession(10338663)--JMSException thrown
2012.10.08 03:32:49.175--ServerSession(10338663)--Retreived remote message from JMS topic: TopLinkJMSModule!jms/TopLinkCacheSynchTopic
2012.10.08 03:32:49.175--ServerSession(10338663)--JMSException thrown
------------ so on
Pattern 2:-
####<Oct 5, 2012 3:47:57 PM EDT> <Error> <JMSClientExceptions> <sbirdevwl1.reisystems.com> <AdminServer> <[ACTIVE] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'> <system> <> <004mnr1BGeMCWrWFLzINOA0006zu000CxX> <1349466477880> <BEA-055165> <The following exception has occurred:
java.lang.NoClassDefFoundError: oracle/toplink/exceptions/JMSProcessingException
java.lang.NoClassDefFoundError: oracle/toplink/exceptions/JMSProcessingException
at oracle.toplink.remote.jms.TopLinkMessageListener.onMessage(TopLinkMessageListener.java:58)
at weblogic.jms.client.JMSSession.onMessage(JMSSession.java:4659)
at weblogic.jms.client.JMSSession.execute(JMSSession.java:4345)
at weblogic.jms.client.JMSSession.executeMessage(JMSSession.java:3821)
at weblogic.jms.client.JMSSession.access$000(JMSSession.java:115)
at weblogic.jms.client.JMSSession$UseForRunnable.run(JMSSession.java:5170)
at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:545)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
>
####<Oct 5, 2012 3:47:57 PM EDT> <Error> <JMSClientExceptions> <sbirdevwl1.reisystems.com> <AdminServer> <[ACTIVE] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'> <system> <> <004mnr1BGeMCWrWFLzINOA0006zu000CxX> <1349466477884> <BEA-055165> <The following exception has occurred:
java.lang.NoClassDefFoundError: oracle/toplink/exceptions/JMSProcessingException
java.lang.NoClassDefFoundError: oracle/toplink/exceptions/JMSProcessingException
at oracle.toplink.remote.jms.TopLinkMessageListener.onMessage(TopLinkMessageListener.java:58)
at weblogic.jms.client.JMSSession.onMessage(JMSSession.java:4659)
at weblogic.jms.client.JMSSession.execute(JMSSession.java:4345)
at weblogic.jms.client.JMSSession.executeMessage(JMSSession.java:3821)
at weblogic.jms.client.JMSSession.access$000(JMSSession.java:115)
at weblogic.jms.client.JMSSession$UseForRunnable.run(JMSSession.java:5170)
at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:545)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
>
####<Oct 5, 2012 3:47:57 PM EDT> <Error> <JMSClientExceptions> <sbirdevwl1.reisystems.com> <AdminServer> <[ACTIVE] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'> <system> <> <004mnr1BGeMCWrWFLzINOA0006zu000CxX> <1349466477888> <BEA-055165> <The following exception has occurred:
java.lang.NoClassDefFoundError: oracle/toplink/exceptions/JMSProcessingException
java.lang.NoClassDefFoundError: oracle/toplink/exceptions/JMSProcessingException
at oracle.toplink.remote.jms.TopLinkMessageListener.onMessage(TopLinkMessageListener.java:58)
at weblogic.jms.client.JMSSession.onMessage(JMSSession.java:4659)
at weblogic.jms.client.JMSSession.execute(JMSSession.java:4345)
at weblogic.jms.client.JMSSession.executeMessage(JMSSession.java:3821)
at weblogic.jms.client.JMSSession.access$000(JMSSession.java:115)
at weblogic.jms.client.JMSSession$UseForRunnable.run(JMSSession.java:5170)
at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:545)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
>