jQuery in Action, 3rd edition
The moose likes Websphere and the fly likes com/ibm/CORBA/iiop/ObjectURL Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Websphere
Bookmark "com/ibm/CORBA/iiop/ObjectURL" Watch "com/ibm/CORBA/iiop/ObjectURL" New topic


Marco van Weverwijk

Joined: Oct 02, 2003
Posts: 5
I'm trying to do a loopup in a JNDI-Tree on Websphere.
When i'm creating the context:
Context ctx = new InitialContext();
With this JNDI.properties:
java.naming.factory.initial= com.ibm.websphere.naming.WsnInitialContextFactory
java.naming.provider.url= iiop://localhost:2809
I'm getting an Exception:
Exception in thread "main" java.lang.NoClassDefFoundError:
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at com.ibm.websphere.naming.WsnInitialContextFactory.init_implClassCtor(WsnInitialContextFactory.java:168)
at com.ibm.websphere.naming.WsnInitialContextFactory.getInitialContext(WsnInitialContextFactory.java:108)
at com.ibm.ejs.ns.jndi.CNInitialContextFactory.getInitialContext(CNInitialContextFactory.java:69)
at javax.naming.spi.NamingManager.getInitialContext(Unknown Source)
at javax.naming.InitialContext.getDefaultInitCtx(Unknown Source)
at javax.naming.InitialContext.init(Unknown Source)
at javax.naming.InitialContext.<init>(Unknown Source)
Is there anybody who can help me?
I cann't find this: com/ibm/CORBA/iiop/ObjectURL
Prateek Bhargava

Joined: Sep 20, 2004
Posts: 1
The class that is missing,
can be found in ibmorb.jar which is a part of the IBM jdk.
I would suggest you include all the jars of IBM JDK in your classpath.
The IBM jdk is located at the following location,
This should work.
I agree. Here's the link: http://aspose.com/file-tools
subject: com/ibm/CORBA/iiop/ObjectURL
jQuery in Action, 3rd edition