tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Plough, Chris" <CPlo...@glog.com>
Subject RE: How do I set env. variables for a Tomcat service?
Date Fri, 17 May 2002 14:24:42 GMT

Thanks for the suggestion, but this didn't work in my case.  The Oracle
servlet (RWSerlet) has a showenv function - but it didn't pick up any
parameters that were set in web.xml.

Any other suggestions?

Thanks,
Chris

-----Original Message-----
From: chas [mailto:panda@skinnyhippo.com]
Sent: Thursday, May 16, 2002 1:18 PM
To: Tomcat Users List
Subject: Re: How do I set env. variables for a Tomcat service?


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>



--
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