tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chas <pa...@skinnyhippo.com>
Subject Re: How do I set env. variables for a Tomcat service?
Date Thu, 01 Jan 1970 00:00:00 GMT
not sure, but would this help ? 

http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/defaultcontext.html

specifically "Environment Entries".

chas


>We use Tomcat to run an Oracle servlet with integrates with Oracle Reports.
>In order for this servlet to work correctly, it needs the REPORTS60_PATH
>environment variable set correctly.  When running Tomcat on Unix or in
>console mode, I just edit the tomcat.sh or tomcat.bat files and set the
>variable.  However, I can't find a similar way to do this when running
>Tomcat as a service.  Unfortunately, I can't use system-wide variables
>because I run multiple Tomcat instances on the same server, each with a
>different REPORTS60_PATH value.
>
>I'm currently using Tomcat 3.2.4 with Apache 1.3.23 compiled with mod_jk and
>have tried the following without success:
> - "setEnv REPORTS60_PATH <value>" in Apache
> - "JKSetEnv REPORTS60_PATH <value>" in Apache
> - "wrapper.env=REPORTS60_PATH=<value>" in wrapper.properties
> - "wrapper.sysprops.REPORTS60_PATH=<value>" in wrapper.properties
> - Passing "-DREPORTS60_PATH=<value>" on java command line in
>wrapper.properties
>
>I appreciate any help that ya'll can provide.
>
>Thanks,
>Chris
>
>
>
>
>--
>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>


Mime
View raw message