1 Reply Latest reply on Jun 25, 2008 4:06 PM by Clebert Suconic

    Jboss Messaging issue in SOA platform - ClassNotFoundExcepti

    Jerry Jacob Newbie

      Hi,

      We are in the process of upgrading our existing application to JBoss SOA 4.2. After the migration when we test our JMS features, we are getting some issues. When we try to deploy our MDB, we see the below exception.

      [java] javax.naming.CommunicationException [Root exception is java.rmi.UnmarshalException: error unmarshalling return; nested exception is:
      [java] java.lang.ClassNotFoundException: org.jboss.mq.referenceable.ObjectRefAddr (no secur
      ity manager: RMI class loader disabled)]

      This MDB is recieving messages from a Queue which is deployed in Jboss 4.0.4 server (not SOA platform). ObjectRefAddr class is part of jbossmq_client.jar and jbossmq.jar. We can solve this by adding jbossmq.jar to our classpath but we dont want to do it because we are planning to go ahead with new jboss messaging feature and not to use MQ

      How do we fix this issue? We checked for all MQ references and could not find anything. Should we upgrade our Queue server also to SOA to fix this? Any help is highly appreciated

      Thanks in advance

        • 1. Re: Jboss Messaging issue in SOA platform - ClassNotFoundExc
          Clebert Suconic Master

          Well... if you need to receive messages between JBoss MQ (JBAS 4.0.4) and JBoss Messaging.. you will need MQ jars on the ClassPath. The only way to remove those JARS is if you remove the JBoss MQ usage.


          How do we fix this issue? We checked for all MQ references and could not find anything. Should we upgrade our Queue server also to SOA to fix this? Any help is highly appreciated


          yes.. I believe so.. I believe you're trying to do a jndi.lookup on a MQ connectionFactory, and that would need the MQ classes.