Your classpath is different when you run the application from the command line than
when you run the servlet through the webserver. Make sure your web server's classpath
has the CORBA classes in it.
>>> [EMAIL PROTECTED] 8/11/00 4:45 >>>
dear Members,
If anyone over there knows y I get class not found error when using
corba from servlets. When I run the same code as an application from command
line by cmd> vbj myapplicaton it runs fine but when i embedd that class in
servlet then the moment i try to intialize ORB I get class not found error
class is com/inprise/vbroker/CORBA/portable/ObjectImpl
error goes as follows :
failure ( 418): Internal error: exception thrown from the servlet service
function (uri=/servlet/ConnectionTesting): java.lang.NoClassDefFoundError:
com/inprise/vbroker/CORBA/portable/ObjectImpl, Stack:
java.lang.NoClassDefFoundError:
com/inprise/vbroker/CORBA/portable/ObjectImpl
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:442)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:101)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:248)
best regards,
Mandeep Jossan
________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets