ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Calling a JNDI service from WMQI

Post new topic  Reply to topic
 Calling a JNDI service from WMQI « View previous topic :: View next topic » 
Author Message
dspyrido
PostPosted: Tue Jul 02, 2002 12:07 am    Post subject: Calling a JNDI service from WMQI Reply with quote

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.


----------------------------------------------------------------------------
javax.naming.NoInitialContextException:
Cannot instantiate class: weblogic.jndi.WLInitialContextFactory.

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)

javax.naming.NoInitialContextException:
Cannot instantiate class: weblogic.jndi.WLInitialContextFactory

[Root exception is java.lang.ClassNotFoundException: weblogic/jndi/WLInitialContextFactory]

----------------------------------------------------------------------------
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Calling a JNDI service from WMQI
Jump to:  



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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.