Re: set environment variables in tomcat

2011-06-02 Thread André Warnier
Kim Goldov wrote: Thanks everyone. Here is what I ended up with. In my PerlHeaderParserHandler: $r-subprocess_env(AA_MYVAR = 'myvalue'); $r-subprocess_env(); In jk.conf: JkEnvVar AA_MYVAR In Tomcat: out.println(AA_MYVAR is: + request.getAttribute(AA_MYVAR) );

Re: set environment variables in tomcat

2011-06-01 Thread Kim Goldov
Thanks everyone. Here is what I ended up with. In my PerlHeaderParserHandler: $r-subprocess_env(AA_MYVAR = 'myvalue'); $r-subprocess_env(); In jk.conf: JkEnvVar AA_MYVAR In Tomcat: out.println(AA_MYVAR is: + request.getAttribute(AA_MYVAR) ); -- Kim

Re: set environment variables in tomcat

2011-05-27 Thread André Warnier
Kim Goldov wrote: I'm connecting to a tomcat server from our web server using mod_jk. I'm setting environment variables with each request in the PerlAuthenHandler and PerlHeaderParserHandler. I'm able to read the variables in PHP, perl fcgi, and wsgi, however they are not being passed to tomcat.

RE: set environment variables in tomcat

2011-05-27 Thread James B. Muir
: set environment variables in tomcat I'm connecting to a tomcat server from our web server using mod_jk. I'm setting environment variables with each request in the PerlAuthenHandler and PerlHeaderParserHandler. I'm able to read the variables in PHP, perl fcgi, and wsgi, however

set environment variables in tomcat

2011-05-26 Thread Kim Goldov
I'm connecting to a tomcat server from our web server using mod_jk. I'm setting environment variables with each request in the PerlAuthenHandler and PerlHeaderParserHandler. I'm able to read the variables in PHP, perl fcgi, and wsgi, however they are not being passed to tomcat. Is there a way to

Re: set environment variables in tomcat

2011-05-26 Thread Fred Moyer
http://perl.apache.org/docs/2.0/user/config/config.html#C_PerlPassEnv_ might be what you are looking for. On Thu, May 26, 2011 at 5:24 PM, Kim Goldov kgol...@gmail.com wrote: I'm connecting to a tomcat server from our web server using mod_jk. I'm setting environment variables with each request