3 Replies Latest reply on Dec 8, 2008 11:46 AM by jaikiran pai

    Latest version of jnp-client not in maven repo?

    jaikiran pai Master

      I am using JBoss-5.0 GA and Sun JDK 1.5 on my Linux setup. One of the standalone java client (part of a Maven project) while doing a JNDI lookup throws this exception:

       Caused by: java.lang.ClassNotFoundException: org.jnp.server.NamingServer_Stub (no security manager: RMI class loader disabled)
      [INFO] at sun.rmi.server.LoaderHandler.loadClass(LoaderHandler.java:371)
      [INFO] at sun.rmi.server.LoaderHandler.loadClass(LoaderHandler.java:165)
      [INFO] at java.rmi.server.RMIClassLoader$2.loadClass(RMIClassLoader.java:620)
      [INFO] at java.rmi.server.RMIClassLoader.loadClass(RMIClassLoader.java:247)
      [INFO] at sun.rmi.server.MarshalInputStream.resolveClass(MarshalInputStream.java:197)
      [INFO] at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1544)
      [INFO] at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1466)
      [INFO] at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1699)
      [INFO] at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1305)
      [INFO] at java.io.ObjectInputStream.readObject(ObjectInputStream.java:348)
      [INFO] at java.rmi.MarshalledObject.get(MarshalledObject.java:135)
      [INFO] at org.jnp.interfaces.NamingContext.getServer(NamingContext.java:259)
      [INFO] ... 5 more
      


      The Maven repo http://repository.jboss.org/maven2/org/jboss/jnp-client/ doesn't have the latest version jar file for the GA version.

      As a temporary workaround, i can add the JBoss-src/thirdparty/boss/jnp-client/jnp-client.jar to my local Maven repo.