[jboss-dev-forums] [Design of Messaging on JBoss (Messaging/JBoss)] - JMS with Jboss Errors
waheed
do-not-reply at jboss.com
Tue Jan 13 06:22:31 EST 2009
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)
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4201318#4201318
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4201318
More information about the jboss-dev-forums
mailing list