[jboss-dev-forums] [Design of POJO Server] - Re: Missing org.jnp.server.NamingServer_Stub

adrian@jboss.org do-not-reply at jboss.com
Fri Nov 21 08:26:16 EST 2008


"adrian at jboss.org" wrote : 
  | But a 4.2.x -> 5.0.x lookup fails because of the new interface:
  | 
  | 
  |   | javax.naming.CommunicationException: Failed to connect to server 127.0.0.1:1099 [Root exception is java.lang.ClassNotFoundException: org.jnp.interfaces.NamingEvents (no security manager: RMI class loader disabled)]
  |   | 	org.jnp.interfaces.NamingContext.getServer(NamingContext.java:274)
  |   | 	org.jnp.interfaces.NamingContext.checkRef(NamingContext.java:1533)
  |   | 	org.jnp.interfaces.NamingContext.lookup(NamingContext.java:634)
  |   | 	org.jnp.interfaces.NamingContext.lookup(NamingContext.java:627)
  |   | 	javax.naming.InitialContext.lookup(InitialContext.java:351)
  |   | 

Adding that class in a jar to server/xxx/lib in 4.2.x allows the lookup to work.

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

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



More information about the jboss-dev-forums mailing list