9 Replies Latest reply on Jun 22, 2011 9:49 AM by liedtke

    JBoss 4.2.2.GA client accessing Remote EJB3 deployed in Glassfish

    Nitin Jain Newbie

      Hi,


      I am trying to invoke remote EJB which is deployed in a glassfish server using a client which is deployed in JBOSS 4.2.2. The lookup is getting failed with a classloader error.

       

      The stacktrace of the error is as follows:

       

       

      javax.naming.NamingException: ejb ref resolution error for remote business  interfacecom.xchanging.dfv.appsi.remote.serviceinterface.FetchServiceBean [Root  exception is java.lang.ClassNotFoundException: No ClassLoaders found for:  com.xchanging.dfv.appsi.remote.serviceinterface._FetchServiceBean_Wrapper]

      2010-01-04 15:01:54,773 ERROR  [STDERR] javax.naming.NamingException: ejb ref resolution error for remote  business  interfacecom.xchanging.dfv.appsi.remote.serviceinterface.FetchServiceBean [Root  exception is java.lang.ClassNotFoundException: No ClassLoaders found for:  com.xchanging.dfv.appsi.remote.serviceinterface._FetchServiceBean_Wrapper]

      2010-01-04 15:01:54,789 ERROR  [STDERR]        at  com.sun.ejb.EJBUtils.lookupRemote30BusinessObject(EJBUtils.java:425)

      2010-01-04 15:01:54,789 ERROR  [STDERR]        at  com.sun.ejb.containers.RemoteBusinessObjectFactory.getObjectInstance(RemoteBusinessObjectFactory.java:74)

      2010-01-04 15:01:54,789 ERROR  [STDERR]        at  javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:304)

      2010-01-04 15:01:54,789 ERROR  [STDERR]        at  com.sun.enterprise.naming.SerialContext.lookup(SerialContext.java:403)

       

       

      Is there anything specific required to invoke EJBs deployed in glassfish? We are already copying the client jars required for glassfish EJB lookup under EAR/lib directory.

       

      thanks in advance.

       

      Nitin