[jboss-user] [EJB/JBoss] - javax.naming.CommunicationException

ramujava do-not-reply at jboss.com
Tue Dec 2 21:37:25 EST 2008


javax.naming.CommunicationException: Could not obtain connection to any of these urls: localhost:1099 and discovery failed with error: javax.naming.CommunicationException: error setting options [Root exception is java.net.SocketException: error setting options] [Root exception is javax.naming.CommunicationException: Failed to connect to server localhost:1099 [Root exception is java.lang.ClassNotFoundException: org.jnp.server.NamingServer_Stub (no security manager: RMI class loader disabled)]]
	at org.jnp.interfaces.NamingContext.checkRef(NamingContext.java:1604)
	at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:636)
	at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:629)
	at javax.naming.InitialContext.lookup(Unknown Source)
	at client.Client.main(Client.java:25)
Caused by: javax.naming.CommunicationException: Failed to connect to server localhost:1099 [Root exception is java.lang.ClassNotFoundException: org.jnp.server.NamingServer_Stub (no security manager: RMI class loader disabled)]
	at org.jnp.interfaces.NamingContext.getServer(NamingContext.java:276)
	at org.jnp.interfaces.NamingContext.checkRef(NamingContext.java:1575)
	... 4 more
Caused by: java.lang.ClassNotFoundException: org.jnp.server.NamingServer_Stub (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.NamingContext.getServer(NamingContext.java:259)
	... 5 more

how can i sove this exception?can any body tellme i am using jboss 4GA SERVER

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

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



More information about the jboss-user mailing list