1 Reply Latest reply on Aug 3, 2005 8:05 PM by syedjaffry

    JBoss weblogic integeration

    harappa75

      Hi,

      We have an app in weblogic and an app in JBoss. From my session bean in JBoss I need to use some of the SeesionBeans in Weblogic. I tried setting the provider url to

      t3://localhost:7021 (this were my weblogic is running)

      and set the
      INITIAL_CONTEXT_FACTORY to "weblogic.jndi.WLInitialContextFactory";

      I get the classnot found exception for this. I have added the weblogic.jar to my ear file and also put it in the jboss/lib folder.

      Can anyone tell me what I am doing wrong?

      Regards
      Rajesh J

        • 1. Re: JBoss weblogic integeration
          syedjaffry

          You should put wlclient.jar in a directory where you can reference it (e.g. using manifest.mf's Class-Path entry). Let's suppose you have a ear file X.ear with the following structure:

          X
          X/lib
          X/lib/wlclient.jar
          X/lib/<your-session-bean>.jar
          X/lib/<your-session-bean>.jar/META-INF
          X/lib/<your-session-bean>.jar/META-INF/manifest.mf

          The manifest.mf should have an entry Class-path: lib/wlclient.jar