RE: Is CLASSPATH ignored ?

2002-10-30 Thread Sinclair, Alan (CORP, GEAccess)
I thought about modifying the setclasspath.sh however, we prefer not to
modify the Tomcat distribution - makes for easier upgrading in the future.

Thanks anyway

-Original Message-
From: [EMAIL PROTECTED] [mailto:MTimpe@;t-online.de]
Sent: Wednesday, October 30, 2002 10:17 AM
To: Tomcat Users List
Subject: Re: Is CLASSPATH ignored ?



There is a way to use the classpath. In the script 
catalina.bat/catalina.sh the variable CLASSPATH is overwritten and all 
previous content is skipped. You can fix this by including the content 
of the CLASSPATH variable. There is also a script called 
setclasspath.sh/setclasspath.bat. You can change this also. I did not 
find a solution if you're using the Tomcat service under Win NT/2000/XP. 
If you need JARS outside the Tomcat installation you have to go this way 
and to start Tomcat using the scripts instead of using the service.

Change the line

set CLASSPATH=...

to (according to your plattform)

set CLASSPATH=%CLASSPATH%;... or
set CLASSPATH=${CLASSPATH};...

Greetings

Michael


Craig R. McClanahan wrote:

>On Tue, 29 Oct 2002, Sinclair, Alan  (CORP, GEAccess) wrote:
>
>  
>
>>Date: Tue, 29 Oct 2002 13:01:06 -0700
>>From: "Sinclair, Alan  (CORP, GEAccess)" <[EMAIL PROTECTED]>
>>Reply-To: Tomcat Users List <[EMAIL PROTECTED]>
>>To: "Tomcat Users List (E-mail)" <[EMAIL PROTECTED]>
>>Subject: Is CLASSPATH ignored ?
>>
>>All,
>>
>>Does the UNIX Tomcat implementation ignore the CLASSPATH environment
>>variable ?
>>
>>
>>
>
>Yes.
>
>  
>
>>For example, in order to make DBCP pooling work, I placed the Oracle JAR
>>file in $CATALINA_HOME/common/lib  Does this mean that all application JAR
>>files must be installed in ../common/lib ?
>>
>>
>>
>
>http://jakarta.apache.org/tomcat/tomcat-4.1-doc/class-loader-howto.html
>
>  
>
>>Thanks
>>
>>
>
>Craig
>
>
>--
>To unsubscribe, e-mail:
<mailto:tomcat-user-unsubscribe@;jakarta.apache.org>
>For additional commands, e-mail:
<mailto:tomcat-user-help@;jakarta.apache.org>
>
>
>  
>



--
To unsubscribe, e-mail:
<mailto:tomcat-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail:
<mailto:tomcat-user-help@;jakarta.apache.org>

--
To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@;jakarta.apache.org>




Re: Is CLASSPATH ignored ?

2002-10-30 Thread Michael Timpe

There is a way to use the classpath. In the script 
catalina.bat/catalina.sh the variable CLASSPATH is overwritten and all 
previous content is skipped. You can fix this by including the content 
of the CLASSPATH variable. There is also a script called 
setclasspath.sh/setclasspath.bat. You can change this also. I did not 
find a solution if you're using the Tomcat service under Win NT/2000/XP. 
If you need JARS outside the Tomcat installation you have to go this way 
and to start Tomcat using the scripts instead of using the service.

Change the line

set CLASSPATH=...

to (according to your plattform)

set CLASSPATH=%CLASSPATH%;... or
set CLASSPATH=${CLASSPATH};...

Greetings

Michael


Craig R. McClanahan wrote:

On Tue, 29 Oct 2002, Sinclair, Alan  (CORP, GEAccess) wrote:

 

Date: Tue, 29 Oct 2002 13:01:06 -0700
From: "Sinclair, Alan  (CORP, GEAccess)" <[EMAIL PROTECTED]>
Reply-To: Tomcat Users List <[EMAIL PROTECTED]>
To: "Tomcat Users List (E-mail)" <[EMAIL PROTECTED]>
Subject: Is CLASSPATH ignored ?

All,

Does the UNIX Tomcat implementation ignore the CLASSPATH environment
variable ?

   


Yes.

 

For example, in order to make DBCP pooling work, I placed the Oracle JAR
file in $CATALINA_HOME/common/lib  Does this mean that all application JAR
files must be installed in ../common/lib ?

   


http://jakarta.apache.org/tomcat/tomcat-4.1-doc/class-loader-howto.html

 

Thanks
   


Craig


--
To unsubscribe, e-mail:   
For additional commands, e-mail: 


 




--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Re: Is CLASSPATH ignored ?

2002-10-29 Thread Craig R. McClanahan


On Tue, 29 Oct 2002, Sinclair, Alan  (CORP, GEAccess) wrote:

> Date: Tue, 29 Oct 2002 13:01:06 -0700
> From: "Sinclair, Alan  (CORP, GEAccess)" <[EMAIL PROTECTED]>
> Reply-To: Tomcat Users List <[EMAIL PROTECTED]>
> To: "Tomcat Users List (E-mail)" <[EMAIL PROTECTED]>
> Subject: Is CLASSPATH ignored ?
>
> All,
>
> Does the UNIX Tomcat implementation ignore the CLASSPATH environment
> variable ?
>

Yes.

> For example, in order to make DBCP pooling work, I placed the Oracle JAR
> file in $CATALINA_HOME/common/lib  Does this mean that all application JAR
> files must be installed in ../common/lib ?
>

http://jakarta.apache.org/tomcat/tomcat-4.1-doc/class-loader-howto.html

> Thanks

Craig


--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




RE: Is CLASSPATH ignored ?

2002-10-29 Thread Sinclair, Alan (CORP, GEAccess)
Okay, thanks

-Original Message-
From: Cox, Charlie [mailto:ccox@;cincom.com]
Sent: Tuesday, October 29, 2002 1:13 PM
To: 'Tomcat Users List'
Subject: RE: Is CLASSPATH ignored ?


yes, classpath is ignored.

you must put them in /WEB-INF/lib for each application or in /common/lib if
you want to share them between apps. database jars need to be in /common/lib
to be visible to tomcat's classes and also your webapps.

Charlie

> -Original Message-
> From: Sinclair, Alan (CORP, GEAccess)
> [mailto:alan.sinclair@;geaccess.com]
> Sent: Tuesday, October 29, 2002 3:01 PM
> To: Tomcat Users List (E-mail)
> Subject: Is CLASSPATH ignored ?
> 
> 
> All,
> 
> Does the UNIX Tomcat implementation ignore the CLASSPATH environment
> variable ?
> 
> For example, in order to make DBCP pooling work, I placed the 
> Oracle JAR
> file in $CATALINA_HOME/common/lib  Does this mean that all 
> application JAR
> files must be installed in ../common/lib ?
> 
> Thanks
> 
> --
> To unsubscribe, e-mail:   
> <mailto:tomcat-user-unsubscribe@;jakarta.apache.org>
> For additional commands, e-mail: 
> <mailto:tomcat-user-help@;jakarta.apache.org>
> 

--
To unsubscribe, e-mail:
<mailto:tomcat-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail:
<mailto:tomcat-user-help@;jakarta.apache.org>

--
To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@;jakarta.apache.org>




RE: Is CLASSPATH ignored ?

2002-10-29 Thread Cox, Charlie
yes, classpath is ignored.

you must put them in /WEB-INF/lib for each application or in /common/lib if
you want to share them between apps. database jars need to be in /common/lib
to be visible to tomcat's classes and also your webapps.

Charlie

> -Original Message-
> From: Sinclair, Alan (CORP, GEAccess)
> [mailto:alan.sinclair@;geaccess.com]
> Sent: Tuesday, October 29, 2002 3:01 PM
> To: Tomcat Users List (E-mail)
> Subject: Is CLASSPATH ignored ?
> 
> 
> All,
> 
> Does the UNIX Tomcat implementation ignore the CLASSPATH environment
> variable ?
> 
> For example, in order to make DBCP pooling work, I placed the 
> Oracle JAR
> file in $CATALINA_HOME/common/lib  Does this mean that all 
> application JAR
> files must be installed in ../common/lib ?
> 
> Thanks
> 
> --
> To unsubscribe, e-mail:   
> 
> For additional commands, e-mail: 
> 
> 

--
To unsubscribe, e-mail:   
For additional commands, e-mail: