tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marvin D. Toll" <MarvinT...@gtcGroup.com>
Subject Re: j2ee.jar - need JMS services from another server
Date Tue, 30 Sep 2003 20:40:14 GMT


Wow - good point!

I created a j2ee.servlet.jar (javax.servlet.*) and was able to successfully
boot Tomcat 5.0.



"Shapira, Yoav" <Yoav.Shapira@mpi.com> wrote in message
news:9C5166762F311146951505C6790A9CF8013DF3C8@US-VS1.corp.mpi.com...
>
> Howdy,
>
> >I believe if any duplicates are included - the Tomcat server will not
> boot.
>
> That's wrong.  The precise behavior depends on what's duplicated.  You
> can easily get such behavior that will make tomcat boot, but throw
> runtime exceptions.  Or boot, but make your servlet or entire webapp
> unavailable.
>
> >(I believe java classloaders will not allow any duplicates that have
> "java"
> >as the first four characters in the path.)
>
> Not just java, also javax and certain special packages like org.w3c.dom.
> These require endorsed classloaders (e.g. the classloader tomcat uses to
> load files from $CATALINA_HOME/common/endorsed).
>
> Try having an old version of the javax.servlet jars in your abridged jar
> and see what happens ;)
>
> Yoav Shapira
>
>
>
> This e-mail, including any attachments, is a confidential business
communication, and may contain information that is confidential, proprietary
and/or privileged.  This e-mail is intended only for the individual(s) to
whom it is addressed, and may not be saved, copied, printed, disclosed or
used by anyone else.  If you are not the(an) intended recipient, please
immediately delete this e-mail from your computer system and notify the
sender.  Thank you.




Mime
View raw message