HI
I do a project in which i use JMS to send message and i use for this Jboss Messaging. I configure all this and deploy a Queue in jboss-4.2.3.GA\server\default\deploy\jms
but when i run this Project it gives Errors
javax.naming.CommunicationException [Root exception is java.rmi.UnmarshalException: error unmarshalling return; nested exception is:
java.lang.ClassNotFoundException: org.jboss.mq.referenceable.ObjectRefAddr (no security manager: RMI class loader disabled)]
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:725)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:590)
at javax.naming.InitialContext.lookup(InitialContext.java:392)
at org.jboss.example.jms.queue.QueueExample.example(QueueExample.java:47)
at org.jboss.example.jms.common.ExampleSupport.run(ExampleSupport.java:138)
at org.jboss.example.jms.queue.QueueExample.main(QueueExample.java:114)
Caused by: java.rmi.UnmarshalException: error unmarshalling return; nested exception is:
java.lang.ClassNotFoundException: org.jboss.mq.referenceable.ObjectRefAddr (no security manager: RMI class loader disabled)
at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:178)