0 Replies Latest reply on Jun 26, 2006 9:07 AM by Gaurav Tuli

    I am to able to connect to the server through client

    Gaurav Tuli Newbie

      I have got these examples from jboss website showing how to run ejb3.

      I have deployed the jar file in jboss for stateless session bean.

      The bean gets deployed successfully but the client is not able to the call

      the beans

      The following exception occurred

      Exception in thread "main" java.lang.NoClassDefFoundError: Lorg/jboss/remoting/InvokerLocator;
      at java.lang.Class.getDeclaredFields0(Native Method)
      at java.lang.Class.privateGetDeclaredFields(Class.java:2232)
      at java.lang.Class.getDeclaredField(Class.java:1852)
      at java.io.ObjectStreamClass.getDeclaredSUID(ObjectStreamClass.java:1555)
      at java.io.ObjectStreamClass.access$600(ObjectStreamClass.java:47)
      at java.io.ObjectStreamClass$2.run(ObjectStreamClass.java:381)
      at java.security.AccessController.doPrivileged(Native Method)
      at java.io.ObjectStreamClass.(ObjectStreamClass.java:373)
      at java.io.ObjectStreamClass.lookup(ObjectStreamClass.java:268)
      at java.io.ObjectStreamClass.initNonProxy(ObjectStreamClass.java:504)
      at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1546)
      at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1460)
      at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1693)
      at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1299)
      at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1912)
      at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1836)
      at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1713)
      at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1299)
      at java.io.ObjectInputStream.readObject(ObjectInputStream.java:339)
      at java.rmi.MarshalledObject.get(MarshalledObject.java:135)
      at org.jnp.interfaces.MarshalledValuePair.get(MarshalledValuePair.java:72)
      at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:652)
      at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:587)
      at javax.naming.InitialContext.lookup(InitialContext.java:351)
      at org.jboss.tutorial.stateless.client.Client.main(Client.java:35)


      Can anyone help me to resolve above error

      Regards,

      Gaurav