File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
Author

com/ibm/CORBA/iiop/ObjectURL

Marco van Weverwijk
Greenhorn

Joined: Oct 02, 2003
Posts: 5
Hello,
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:
com/ibm/CORBA/iiop/ObjectURL
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
Thanx,
Marco
Prateek Bhargava
Greenhorn

Joined: Sep 20, 2004
Posts: 1
The class that is missing,
com/ibm/CORBA/iiop/ObjectURL
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,
[WEBSPHERE_HOME]/java/jre/lib/ext
This should work.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: com/ibm/CORBA/iiop/ObjectURL
 
Similar Threads
Look up problem in WAS5.0
Problem in getting Intial context in Websphere 5.0.1
Need Help - How to access JMS Administered objects created in WAS 6.1 from Servlet ?
com/ibm/CORBA/iiop/ORB - Help
NoClassDefFoundError exception in InitialContext()