1 Reply Latest reply on Jun 3, 2003 7:26 AM by L. Yeung

    Newbie: CommunicationException

    L. Yeung Newbie

      Hi! I've just written a stateless session bean (with no interface methods just a plain skeleton) using xdoclet-1.1.2 deployed on jboss-3.0.7 with no error.

      When I try to run run-client.bat it throws:
      Any help is greatly appreciated.


      javax.naming.CommunicationException. Root exception is java.lang.ClassNotFoundE
      xception: com.sapro.ems.ejb.interfaces.ProductEJBHome (no security manager: RMI
      class loader disabled)
      at sun.rmi.server.LoaderHandler.loadProxyClass(LoaderHandler.java:521)
      at java.rmi.server.RMIClassLoader$2.loadProxyClass(RMIClassLoader.java:6
      39)
      at java.rmi.server.RMIClassLoader.loadProxyClass(RMIClassLoader.java:309
      )
      at sun.rmi.server.MarshalInputStream.resolveProxyClass(MarshalInputStrea
      m.java:241)
      at java.io.ObjectInputStream.readProxyDesc(ObjectInputStream.java:1469)
      at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1432)
      at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1
      626)
      at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274)
      at java.io.ObjectInputStream.readObject(ObjectInputStream.java:324)
      at java.rmi.MarshalledObject.get(MarshalledObject.java:135)
      at org.jnp.interfaces.MarshalledValuePair.get(MarshalledValuePair.java:3
      0)
      at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:506)
      at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:463)
      at javax.naming.InitialContext.lookup(InitialContext.java:347)
      at test.client.TestClient.main(TestClient.java:32)

      len