[Opensource] Expresso 4.1 RC1 not working with tomcat 4.04

larry hamel expresso at codeguild.com
Fri Sep 13 00:45:54 PDT 2002


Hi Mike,

You are absolutely right about how the class loader should work.  Tomcat's hierarchy of class loaders should permit the correct xerces to be used from a Web applications private lib directory.

Perhaps xerces has a subtle version-dependent issue where an old class is not present in the new library, but somehow gets called by it.

Anyway, I'm glad you saw the bug too!  Misery loves company :-)

larry




At 07:25 PM 9/12/2002, Michael Rimov wrote:
>At 09:03 AM 9/12/2002 -0700, you wrote:
>>Dear All,
>>         I download expresso 4.1 RC (war) and tried to
>>install it in tomcat 4.04.
>>When I tried to access it I got the ff. errors.
>>Anybody having the same problem?
>>help will be greatly apprecaited.
>
>Albert,
>
>I finally was able to reproduce what you and Larry H. were talking about... don't know why I couldn't get that error.  Replace the Xerces included in CATALINA_HOME/common/lib with that included in the WEB-INF/lib.  [You'll want to replace xerces.jar with both xercesImpl.jar as well as xmlAPIs.jar].  That should do it.
>
>I'm working on a solution to the problem since obviously DocumentBuilderFactory is picking up partially the commons/lib xerces, and partially the WEB-INF/lib xerces.  When I get a solution we'll post an RC-2 since this error will significantly block Expresso from being able to work with other Containers.
>
>
>                                                -Mike
>
>
>_______________________________________________
>Opensource mailing list
>Opensource at jcorporate.com
>http://mail.jcorporate.com/mailman/listinfo/opensource
>Archives: http://mail.jcorporate.com/pipermail/opensource/




More information about the Opensource mailing list