RE: Changing the webapp classpath
> From: Dalia,Keith A - TO-DITT1 [mailto:[EMAIL PROTECTED] > Subject: RE: Changing the webapp classpath > > So, I would place the in the web.xml that ships with > my webapp? No, it would be in the element inside your webapp's META-INF/context.xml file. elements should never be placed in server.xml these days. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Changing the webapp classpath
So, I would place the in the web.xml that ships with my webapp? In the past I've only used the in the server.xml when defining virtual sites. Thanks. -Original Message- From: Caldarale, Charles R [mailto:[EMAIL PROTECTED] Sent: Monday, February 11, 2008 2:58 PM To: Tomcat Users List Subject: RE: Changing the webapp classpath > From: "Dalia,Keith A - TO-DITT1" <[EMAIL PROTECTED]> > Subject: Changing the webapp classpath > > I was wondering if there was a way to alter the default > webapps classpath. There's an undocumented capability within Tomcat that provides what you're asking for. (Since it's undocumented, I would assume it's also unsupported, but it may suffice for your needs.) Inside each element that needs it, specify a element with the following attributes: className="org.apache.catalina.loader.VirtualWebappLoader" virtualClasspath="[extraLibraryPaths]" where [extraLibraryPaths] are a series of path tokens separated by semicolons (regarless of platform). Each path token is either absolute or relative to Tomcat's working directory. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Changing the webapp classpath
> From: "Dalia,Keith A - TO-DITT1" <[EMAIL PROTECTED]> > Subject: Changing the webapp classpath > > I was wondering if there was a way to alter the default > webapps classpath. There's an undocumented capability within Tomcat that provides what you're asking for. (Since it's undocumented, I would assume it's also unsupported, but it may suffice for your needs.) Inside each element that needs it, specify a element with the following attributes: className="org.apache.catalina.loader.VirtualWebappLoader" virtualClasspath="[extraLibraryPaths]" where [extraLibraryPaths] are a series of path tokens separated by semicolons (regarless of platform). Each path token is either absolute or relative to Tomcat's working directory. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Changing the webapp classpath
--- HARBOR: http://coolharbor.100free.com/index.htm The most powerful application server on earth. The only real POJO Application Server. Making the Java dream come true. --- - Original Message - From: "Dalia,Keith A - TO-DITT1" <[EMAIL PROTECTED]> To: Sent: Monday, February 11, 2008 11:07 PM Subject: Changing the webapp classpath I was wondering if there was a way to alter the default webapps classpath. We use several different .jars in our deployments and would like to create a directory structure under the web_inf/lib directory. By default the webapps classloader only looks in web_inf/classes and web_inf/lib. Any help is appreciated. == I think you outa luck... dont think can be done But you can modify the Jar names... MY_x.jar YOUR_x.jar Almost looks like folders ;) == Keith - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]