Eduardo Almeida wrote: > > Question How do I invoke CORBA from a servlet? > > java.lang.NoClassDefFoundError: > com/inprise/vbroker/CORBA/portable/ObjectImpl >
You need to make sure that your CORBA library is visible to Tomcat. There is a HOWTO on setting up libraries in Tomcat 4 at: http://jakarta.apache.org/tomcat/tomcat-4.0-doc/class-loader-howto.html Note that your CLASSPATH makes no difference at all. Tomcat 4 completely ignores it. That's worth repeating, since it causes a lot of confusion: Tomcat 4 completely ignores your CLASSPATH. You _must_ read and understand the above HOWTO document in order to properly set up your libraries in Tomcat. If you have specific questions about the class-loader-howto, then you can post them here, or, even better, to the Tomcat users list. You can find information on subscribing at: http://jakarta.apache.org/site/mail.html You want >>tomcat-user<<, NOT tomcat-dev. (the dev list is for people developing the container internals, not people using Tomcat to develop and deploy servlets) Also note that each different servlet container has its own specific library setup method. What's true for setting up Tomcat 4 may not be true for JRun (or even Tomcat 3). Good luck. -- Christopher St. John [EMAIL PROTECTED] DistribuTopia http://www.distributopia.com ___________________________________________________________________________ To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff SERVLET-INTEREST". Archives: http://archives.java.sun.com/archives/servlet-interest.html Resources: http://java.sun.com/products/servlet/external-resources.html LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
