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?
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:
The manifest.mf should have an entry Class-path: lib/wlclient.jar