You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@servicemix.apache.org by "Eoghan Glynn (JIRA)" <ji...@apache.org> on 2009/12/02 16:50:52 UTC
[jira] Created: (SMX4NMR-174) [clustering] Classloading failure on
unmarshalling incoming replicated messages
[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.
[jira] Commented: (SMX4NMR-174) [clustering] Classloading failure
on unmarshalling incoming replicated messages
Posted by "Gert Vanthienen (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/SMX4NMR-174?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=56292#action_56292 ]
Gert Vanthienen commented on SMX4NMR-174:
-----------------------------------------
We should be able to remove the thread context classloader fix here as soon as https://issues.apache.org/activemq/browse/AMQ-2488 gets resolved in ActiveMQ
> [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.
[jira] Resolved: (SMX4NMR-174) [clustering] Classloading failure on
unmarshalling incoming replicated messages
Posted by "Eoghan Glynn (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/SMX4NMR-174?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Eoghan Glynn resolved SMX4NMR-174.
----------------------------------
Resolution: Fixed
Fix [committed|http://svn.apache.org/viewvc?rev=886185&view=rev].
> [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.