[clustering] Classloading failure on unmarshalling incoming replicated messages
-------------------------------------------------------------------------------
Key: SMX4NMR-174
URL: https://issues.apache.org/activemq/browse/SMX4NMR-174
Project: ServiceMix NMR
Issue Type: Bug
Affects Versions: 1.1.0
Environment: $ uname -a
Linux geodesic 2.6.28-16-generic #55-Ubuntu SMP Tue Oct 20 19:48:24 UTC 2009
i686 GNU/Linux
$ java -version
java version "1.6.0_16"
Java(TM) SE Runtime Environment (build 1.6.0_16-b01)
Java HotSpot(TM) Server VM (build 14.2-b01, mixed mode)
Reporter: Eoghan Glynn
Assignee: Eoghan Glynn
Priority: Critical
Fix For: 1.1.0
When incoming replicated messages are retrieved by a cluster member, the
attempt to unmarshal the NMR message from the incoming JMS ObjectMessage fails
due to an inability to load the org.apache.servicemix.nmr.core.MessageImpl type.
Stacktrace as follows:
{code}
16:52:47,693 | DEBUG | sRequestorPool-6 | ActiveMQJmsRequestorPool |
sRequestorPool$ActiveMQRequestor 373 |
Error processing message
javax.jms.JMSException: Failed to build body from content. Serializable class
not available to broker. Reason:
java.lang.ClassNotFoundException: org.apache.servicemix.nmr.core.MessageImpl
at
org.apache.activemq.util.JMSExceptionSupport.create(JMSExceptionSupport.java:35)
at
org.apache.activemq.command.ActiveMQObjectMessage.getObject(ActiveMQObjectMessage.java:179)
at
org.apache.servicemix.jbi.cluster.engine.ClusterEngine.process(ClusterEngine.java:646)
at
org.apache.servicemix.jbi.cluster.engine.ClusterEngine$1.onMessage(ClusterEngine.java:346)
at
org.apache.servicemix.jbi.cluster.requestor.ActiveMQJmsRequestorPool$ActiveMQRequestor.run(ActiveMQJmsRequestorPool.java:369)
at java.lang.Thread.run(Thread.java:619)
Caused by: java.lang.ClassNotFoundException:
org.apache.servicemix.nmr.core.MessageImpl
{code}
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.