[jboss-user] [JBoss Messaging] - Re: Jboss Messaging How To

sudheer_java26 do-not-reply at jboss.com
Tue Apr 22 06:41:39 EDT 2008


Thanks for your quick reply

I am able to see,

------
16:00:03,390 INFO  [ConnectionFactory] Connector bisocket://127.0.0.1:4457 has l
  | easing enabled, lease period 10000 milliseconds
  | 16:00:03,390 INFO  [ConnectionFactory] org.jboss.jms.server.connectionfactory.Co
  | nnectionFactory at d6a0e0 started-------

So I guess I successfully created connection factory 


But I am getting fallowing error, my above jar entries are ok ? I need to take any more jar files ???? 

Fallowing error I am getting when I run Sender.java
====================

Starting JMS Example Sender
  | 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:786)
  | 	at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:627)
  | 	at javax.naming.InitialContext.lookup(Unknown Source)
  | 	at Sender.initializeSender(Sender.java:43)
  | 	at Sender.<init>(Sender.java:29)
  | 	at Sender.main(Sender.java:88)
  | 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:710)
  | 	... 5 more
  | 
=====================


what will be the issue here ? 

---------
-Sudheer


View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4145765#4145765

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4145765



More information about the jboss-user mailing list