1 Reply Latest reply on Jun 22, 2005 9:42 AM by innerspace

    exception during remote call lookup to ejb

    innerspace

      Hello,

      I'm porting an application from jboss 2.4 to jboss 4.0.2.
      During ejb lookup in jboss 4.0.2 from the remote client the following exception is thrown:

      javax.naming.CommunicationException [Root exception is java.io.InvalidClassException: org.jboss.invocation.InvokerInterceptor; unable to create instance]
      at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:707)
      at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:572)
      at javax.naming.InitialContext.lookup(InitialContext.java:347)


      If I set CallByValue to true I get the corresponding exception for the MarshallingInvokerInterceptor:

      javax.naming.CommunicationException [Root exception is java.io.InvalidClassException: org.jboss.invocation.MarshallingInvokerInterceptor; unable to create instance]
      at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:707)
      at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:572)
      at javax.naming.InitialContext.lookup(InitialContext.java:347)

      I don't think it is missing some classes since I packaged into the client jar all library jars that are used for linking.

      Does someone have an idea, what the reason of this exception could be?


      Frank