File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes EJB and other Java EE Technologies and the fly likes JNDI Lookup on WebSphere 6.0 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "JNDI Lookup on WebSphere 6.0" Watch "JNDI Lookup on WebSphere 6.0" New topic

JNDI Lookup on WebSphere 6.0

Nitesh Varma

Joined: Mar 14, 2005
Posts: 1
I'm trying to look up a Session Bean that I've deployed on WebSphere 6.0 and I'm running into the following problem. I have naming.jar, namingclient.jar and namingserver.jar in the client classpath and obviously the class is not in any of these jars. Please could someone point out which jar file is needed.

java.lang.NoClassDefFoundError: com/ibm/WsnOptimizedNaming/NamingContextOperations
at javax.naming.spi.NamingManager.getInitialContext(
at javax.naming.InitialContext.getDefaultInitCtx(
at javax.naming.InitialContext.init(
at javax.naming.InitialContext.<init>(
at com.varma.TestHello.main(
I agree. Here's the link:
subject: JNDI Lookup on WebSphere 6.0
It's not a secret anymore!