0 Replies Latest reply on Sep 23, 2013 7:42 AM by Henrik Hoffmann

    invoke remote ejb deployed on AS 5.1 from an application deployed on AS 7.2 ?

    Henrik Hoffmann Newbie

      Hi,

       

      i've tried to invoke an remote ejb wich is deployed on an AS 5.1.0 from my code deployed in an AS 7.2 application.

       

      I achieved the JNDI Lookup by adding JNP to my AS 7 project and do the lookup via InitialContext with the JNP Factory.

      Afterwards i become an ClassCastException while casting the lookup-result on my EJB Interface. (could not cast com.sun.Proxy§53 to ...)

       

      What else am I missing to achieve the remote invocation?

       

      Thanks for you help