1 Reply Latest reply on Mar 20, 2002 4:51 PM by cchee

    Unable to receive message.

    enesterov

      Hi everybody,
      I am trying to receive message from the queue which is in different from consumer jvm and keep getting the following error.


      Exception in thread "main" javax.naming.CommunicationException. Root exception is java.rmi.UnmarshalException: error unmarshalling return; nested exception is:
      java.lang.ClassNotFoundException: org.jbossmq.referenceable.ObjectRefAddr (no security manager: RMI class loader disabled)
      java.lang.ClassNotFoundException: org.jbossmq.referenceable.ObjectRefAddr (no security manager: RMI class loader disabled)


      I have greped all classes and config files in JBoss2.4.4 and cannot find ref to the org.jbossmq.referenceable.ObjectRefAddr class ( it exists but as org.jboss.mq.referenceable.ObjectRefAddr ), though it is present in version 2.2.2 of JBoss ( which is not installed on my machine ).
      I am positive that this is not a classpath issue as I have included every *.jar I have.

      I'll appreciate any ideas.
      Thanks in advance.