[jboss-dev-forums] [Design of Messaging on JBoss (Messaging/JBoss)] - Re: New to JBOSS / JMS integration
Maulik.Kayastha
do-not-reply at jboss.com
Wed Dec 5 09:37:07 EST 2007
Hi
I would also like to add,
- I aware that all the configuration files are available under deploy/jms folder.
- jbossMQ-service.xml and uil2-service.xml files have great role to do while creating queues and creating ConnectionFactory, respectively.
But I am not able to relate all the things and not able to start with a small example, even I am not able to define QueueConnectionFactory.
I am getting error like,
Exception in thread "main" javax.naming.CommunicationException [Root exception is java.lang.ClassNotFoundException: org.jboss.jms.client.JBossConnectionFactory (no security manager: RMI class loader disabled)]
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:728)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:587)
at javax.naming.InitialContext.lookup(Unknown Source)
at SendRecvClient.setupPTP(SendRecvClient.java:61)
at SendRecvClient.sendRecvAsync(SendRecvClient.java:76)
at SendRecvClient.main(SendRecvClient.java:107)
Caused by: java.lang.ClassNotFoundException: org.jboss.jms.client.JBossConnectionFactory (no security manager: RMI class loader disabled)
at sun.rmi.server.LoaderHandler.loadClass(Unknown Source)
at sun.rmi.server.LoaderHandler.loadClass(Unknown Source)
at java.rmi.server.RMIClassLoader$2.loadClass(Unknown Source)
at java.rmi.server.RMIClassLoader.loadClass(Unknown Source)
at sun.rmi.server.MarshalInputStream.resolveClass(Unknown Source)
at java.io.ObjectInputStream.readNonProxyDesc(Unknown Source)
at java.io.ObjectInputStream.readClassDesc(Unknown Source)
at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source)
at java.io.ObjectInputStream.readObject0(Unknown Source)
at java.io.ObjectInputStream.readObject(Unknown Source)
at java.rmi.MarshalledObject.get(Unknown Source)
at org.jnp.interfaces.MarshalledValuePair.get(MarshalledValuePair.java:72)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:652)
... 5 more
So Any startup small application along with configuration details is highly appriciated.
Regards,
Maulik
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4110542#4110542
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4110542
More information about the jboss-dev-forums
mailing list