Christopher,

Yes, I know about common and shared directories. I just wanted to have jars
in external directories, but if I have to hand-edit the startup script (catalina.sh),
I prefer copy the jars in the WEB-INF/lib directory.

Anyway Christopher, thanks very much, now I know what I had to do, and maybe
I try editing the script, but later in time.



Thanks very much
>-- Mensaje original --
>Reply-To: "Tomcat Users List" <[EMAIL PROTECTED]>
>Date: Wed, 17 Sep 2003 18:03:45 -0500
>From: "Christopher St. John" <[EMAIL PROTECTED]>
>To: Tomcat Users List <[EMAIL PROTECTED]>
>Subject: Re: Asunto: Re: classes
>
>
>[EMAIL PROTECTED] wrote:
>
>> I had just read that link (class loader how to), and I understand it,
but
>> I would like to know, if I could set the classpath to point classes in
>other
>> directory (neither in tomcat, nor in soap), and where and how could I
do
>> that.
>>
>
>  Tomcat 4 ignores your CLASSPATH on purpose. You can hand-edit
>the startup scripts (check out catalina/catalina.bat) and add
>things back in. Make sure you understand the consequences, though,
>because you can run into some very confusing classloader problems
>if you get it wrong.
>

>  I think you said you already knew this, but just in case, you
>know about the "common" and "shared" directories, right? That
>may be a better solution, since you can put the jars common
>to your webapps in "shared" and not have to put them in each
>webapp's "WEB-INF/lib" directory, without having to hack the
>tomcat startup scripts.
>
>-cks
>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to