You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by "Moon, Yu-Chan" <Yu...@solers.com> on 2002/06/14 19:19:33 UTC

FW: tomcat 4.0.3

I apologize, I sent this to the wrong mailing list.

>  -----Original Message-----
> From: 	Moon, Yu-Chan  
> Sent:	Friday, June 14, 2002 11:46 AM
> To:	'tomcat-dev-subscribe@jakarta.apache.org'
> Subject:	tomcat 4.0.3
> 
> Dear whomever it may concern,
> 
>    I was wondering if anybody could help regarding a class loading issue.
> This issue seems as if it was resolved in TOMCAT 4.0.4b -  where a fix was
> made so that none of the classes in java were overridden.  However, for
> certain reasons, I am restricted to use TOMCAT 4.0.3.  My problem is  in
> regards to using org.omg.CORBA.ORB class  (this class with the same
> package name exists in rt.jar and my orb jar).  I'm using JacORB with my
> web application, but I get the following error: 
> 
> java.lang.VerifyError: (class: org/jacorb/orb/ORB, method: interceptorInit
> signature: ()V) Incompatible object argument for function call
> 	at java.lang.Class.forName0(Native Method)
> 	at java.lang.Class.forName(Class.java:115)
> 	at org.omg.CORBA.ORB.create(Unknown Source)
> 	at org.omg.CORBA.ORB.init(Unknown Source)
> 
> I've traced the error to where the init method is called for the ORB, and
> made sure that the properties being passed to the init had the correct
> values for org.omg.CORBA.ORBClass and org.omg.CORBA.ORBSingleton.  To make
> sure this was a class loader problem, I have removed the org.omg.CORBA.*
> from my jacorb.jar, and my application works fine.  I've also modified the
> tomcat startup script to include the jacorb.jar in the classpath (from a
> dir other than the web application's lib directory), and that also works,
> but for certain reasons, I do not want to move the jacorb.jar elsewhere.
> Thus, I was wondering (after searching through a lot of resources) to see
> if someone knew of a way to help resolve the issue using TOMCAT 4.0.3.
> 
> -Yu-Chan

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>