0 Replies Latest reply on Aug 9, 2006 7:15 AM by thomasbuffagni

    CALL EJB DEPLOYED IN JBOSS AS AND IN WEBLOGIC AS IN THE SAME

    thomasbuffagni

      I guys,
      i've the problem below.
      We have to call, in a jar's class of a webapp, ejb deployed under JBoss or Bea Weblogic (in the future, also in other AS).

      For do that i've put wlclient.jar in ear root and update the manifest of my jar with the "wlclient.jar" entry. Also work fine...but only for weblogic's ejbs!!! If I try to call getEjbMetadata method from EJBObject deployed in JBoss AS i've this error-stacktrace:

      http-0.0.0.0-8280-6- -
      java.lang.ClassCastException
      at $Proxy53.getEJBMetaData(Unknown Source)

      Note: the method works fine in IDE enviroment...i think that the problem is that wlclient include javax.ejb package also contained in jboss-j2ee.jar but I'ven't found a workaround for the problem.

      Any suggestions??