Wow - good point!
I created a j2ee.servlet.jar (javax.servlet.*) and was able to successfully boot Tomcat 5.0. "Shapira, Yoav" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > 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. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
