Thanks.
        I put the jars in WEB-INF\lib. In them are my servlets and classes they
use. In the log I
        see that the WebClassLoader deploys all the jars to the correct place, but
the ContextConfig can't
        find them. In web.xml I declared the servlets and their class
(com.xxx.xxx.xxx) which can be found
        in the jar.
        I have to work this way due to historic reasons ....

        Do you know what is wrong and what can be done ?
Yuval

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, March 19, 2002 4:42 PM
To: Tomcat Users List
Subject: RE: Deployment from directories not under webapps








"Yuval Levav" <[EMAIL PROTECTED]> on 03/19/2002 01:09:22 AM

Please respond to "Tomcat Users List" <[EMAIL PROTECTED]>

To:   "Tomcat Users List" <[EMAIL PROTECTED]>
cc:

Subject:  RE: Deployment from directories not under webapps

Thanks. My apps make use of JARs and classes that are not located under
<docBase>\WEB-INF\lib or classes.
When using tomcat 3,I added these through the classpath.
Here it seems that the JARs must be under WEB-INF.
Is there any way to use JARs and classes not under WEB-INF ?

You could. But things could get pretty messy when the application grows and
you have a heck lot of classes. Keeping track of classes and their loading
could be a pain. Tomcat 4.0.x takes care of this for you.
* Unpacked classes that you need visible to *only* a particular webapp go
under that webapps WEB-INF/classes folder. jar files go under
<webapp>/WEB-INF/lib folder
* Unpacked classes common to all webapps should be placed under
%CATALINA_HOME%/classes and common jar files under the %CATALINA_HOME%/lib
directory.
And if you still wish to set the classpath then see catalina.sh
(catalina.bat).

RS





Yuval

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Monday, March 18, 2002 7:22 PM
To: Tomcat Users List
Subject: Re: Deployment from directories not under webapps



Yes. See docBase attribute of the <Context.../> element in server.xml

RS




"Yuval Levav" <[EMAIL PROTECTED]> on 03/18/2002 11:10:06 AM

Please respond to "Tomcat Users List" <[EMAIL PROTECTED]>

To:   "Tomcat Users List" <[EMAIL PROTECTED]>
cc:

Subject:  Deployment from directories not under webapps

Hi,
           Is it possible to deploy apps from directories not under the
webapps
directory ?
Thanks,
           Yuval


--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>









--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>


--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>









--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>


--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>

Reply via email to