Posted: Tue Jul 02, 2002 12:07 am Post subject: Calling a JNDI service from WMQI
Newbie
Joined: 11 Jun 2002 Posts: 8
Does WMQI v2.1 support calling an EJB using a JNDI reference from a custom developed WMQI node written in Java?
I am successful in using a Java client to access the EJBs but when we attempt to execute this through the broker to the previously mentioned EJB instance it errors out with the below error. Please keep in mind that:
- We have restarted the server & hence brokers and config manager
- The jar files are all contained in the classpath (we display the CLASSPATH to the desktop from the WMQI Java node and can confirm this) and have even tested the resulting path on the command line using the same CLASSPATH to execute the client.
Root exception is java.lang.ClassNotFoundException: weblogic/jndi/WLInitialContextFactory
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:212)
at com.sun.naming.internal.VersionHelper12.loadClass(VersionHelper12.java:46)
at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:656)
at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:247)
at javax.naming.InitialContext.init(InitialContext.java:223)
at javax.naming.InitialContext.<init>(InitialContext.java:199)
at com.glintech.wmqi.FibNode.evaluate(FibNode.java:37)
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum