I exported this class file as a JAR file from VAJ and placed it under
app server/servlets/ subdirectory. I am facing problem to set the right
classpath.
1. i am getting error:
java.lang.NoClassDefFoundError: com/ibm/rmi/iiop/ORB
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.access$100(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at org.omg.CORBA.ORB.create_impl(Unknown Source)
at org.omg.CORBA.ORB.init(Unknown Source)
at com.ibm.CORBA.iiop.GlobalORBFactory.init(GlobalORBFactory.java:42)
at com.ibm.ejs.oa.EJSORBImpl.initializeORB(EJSORBImpl.java:196)
at com.ibm.ejs.oa.EJSClientORBImpl.<init>(EJSClientORBImpl.java:93)
at com.ibm.ejs.oa.EJSClientORBImpl.<init>(EJSClientORBImpl.java:65)
at com.ibm.ejs.oa.EJSClientORBImpl.<init>(EJSClientORBImpl.java:47)
at com.ibm.ejs.oa.EJSORB.init(EJSORB.java:343)
at
com.ibm.ejs.ns.jndi.CNInitialContextFactory.initORB(CNInitialContextFactory.java:355)
2 I didn't fine where the com.ibm.rmi.iiop package is in WebSphere, So I
exported the whole project with that package from VAJ and add that jar
to my classpath, now I am getting another error:
ClassCastException: com.sun.corba.se.internal.io.FVDCodeBaseImpl
Did anyone have the similar experience? Any suggestion will be
appreciated
Regards
--
Jia (Christine) Li
Department of Computer Science
University of Calgary
Tel: 403-2207140 (O)
/Matt
"Christine" <j...@cpsc.ucalgary.ca> wrote in message
news:3B858A43...@cpsc.ucalgary.ca...
Rmember to include <WASInstall>/lib/ejs.jar and <WASInstall>/lib/ujc.jar
in your classpath -
I have been informed that one of the above mentioned file(s) is not
needed.
BTW, remember to use the same JDK...
Cheers!
--
Mr. Karim A.Ladha, Product Architect.
Research And Development.
DWL Incorporated.
230 Richmood St. E., Level 2
Toronto, ON., M5A 1P4
T: (416) 364-2045 ex.2243
F: (416) 364-2422
email: KLa...@Dwl.Net
URL: www.dwl.net