0 Replies Latest reply on Feb 4, 2005 10:03 AM by guy bay

    dynamic proxy problem when lookup remote ejb...

    guy bay Newbie

      hi everybody,
      I have a strange problem when I am trying to access a remote ejb (deployed in a jboss 3.2.3 under windows) from a client deployed on another jboss 3.2.3 on AIX5L. The lookup returns a valid value but it throws an NoClassDefFoundError: $proxy246, when trying to unmarshall the returned value. The return value is a dynamic proxy I guess. The stranger part is that it works when both jboss are on two windows (instead of aix)??? :( Help would be greatly appreciated because I dont have any ideas left!! ;)
      Thanks a lot

      10:07:34,172 ERROR [LogInterceptor] Unexpected Error:
      java.lang.NoClassDefFoundError: $Proxy246
      at sun.reflect.GeneratedSerializationConstructorAccessor224.newInstance(Unknown Source)
      at java.lang.reflect.Constructor.newInstance(Constructor.java:300)
      at java.io.ObjectStreamClass.newInstance(ObjectStreamClass.java:831)
      at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1654)
      at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1297)
      at java.io.ObjectInputStream.readObject(ObjectInputStream.java:347)
      at java.rmi.MarshalledObject.get(MarshalledObject.java:146)
      at org.jnp.interfaces.MarshalledValuePair.get(MarshalledValuePair.java:30)
      at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:550)
      at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:507)
      at javax.naming.InitialContext.lookup(InitialContext.java:360)
      at com.globecast.docsys.ejb.DocSysFacadeUtil.lookupHome(DocSysFacadeUtil.java:23)
      at com.globecast.docsys.ejb.DocSysFacadeUtil.getHome(DocSysFacadeUtil.java:55)