Re: Defining environment variables for a webapp ?

2021-04-27 Thread Christopher Schultz
Nirjan, On 4/26/21 14:19, Niranjan Rao wrote: On 4/14/21 5:29 AM, Rony G. Flatscher (Apache) wrote: A JVM AFAIK would not honor changes to the environment after it got started A serious question. Apologies for selective selection from the response. Are there any operating systems where chang

Re: Defining environment variables for a webapp ?

2021-04-27 Thread Rony G. Flatscher (Apache)
Niranjan: one correction: On 27.04.2021 15:05, Rony G. Flatscher (Apache) wrote: > ("heyhey.bat" is executed in a subprocess with a new environment such that > its PATH value is > unchanged!). the above statement is wrong, the current environment is inherited with ooRexx' ADDRESS instruction

Re: Defining environment variables for a webapp ?

2021-04-27 Thread Rony G. Flatscher (Apache)
On 26.04.2021 20:19, Niranjan Rao wrote: > On 4/14/21 5:29 AM, Rony G. Flatscher (Apache) wrote: >> A JVM >> AFAIK would not honor changes to the environment after it got started > > A serious question. Apologies for selective selection from the response. > > Are there any operating systems where c

Re: Defining environment variables for a webapp ?

2021-04-26 Thread Niranjan Rao
On 4/14/21 5:29 AM, Rony G. Flatscher (Apache) wrote: A JVM AFAIK would not honor changes to the environment after it got started A serious question. Apologies for selective selection from the response. Are there any operating systems where change in environment is automatically reflected in

Re: Defining environment variables for a webapp ?

2021-04-14 Thread Rony G. Flatscher (Apache)
Martynas, On 14.04.2021 14:20, Martynas Jusevičius wrote: > you might want to look into containerizing your webapps. We use an > XSLT stylesheet (invoked by the entrypoint script) that transforms env > params into context.xml params: > https://github.com/AtomGraph/LinkedDataHub/blob/master/platfor

Re: Defining environment variables for a webapp ?

2021-04-14 Thread Martynas Jusevičius
Rony, you might want to look into containerizing your webapps. We use an XSLT stylesheet (invoked by the entrypoint script) that transforms env params into context.xml params: https://github.com/AtomGraph/LinkedDataHub/blob/master/platform/context.xsl Martynas On Wed, Apr 14, 2021 at 2:16 PM Ro

Re: Defining environment variables for a webapp ?

2021-04-14 Thread Rony G. Flatscher (Apache)
On 14.04.2021 13:25, Mark Thomas wrote: > On 14/04/2021 12:22, Rony G. Flatscher (Apache) wrote: >> Not finding any pointers, asking here: is it possible to define environment >> variables for a webapp? >> If so, how? > > You can only set them globally, for the Java process - not per web > applic

Re: Defining environment variables for a webapp ?

2021-04-14 Thread Mark Thomas
On 14/04/2021 12:22, Rony G. Flatscher (Apache) wrote: Not finding any pointers, asking here: is it possible to define environment variables for a webapp? If so, how? You can only set them globally, for the Java process - not per web application. CGI creates a new process so can have a comp

Defining environment variables for a webapp ?

2021-04-14 Thread Rony G. Flatscher (Apache)
Not finding any pointers, asking here: is it possible to define environment variables for a webapp? If so, how? ---rony P.S.: Tomcat can manipulate the process' environment, e.g. in the case of CGI execution. Here a sample of the process' environment from some CGI-invocation on a Windows machi