tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From andy gordon <>
Subject Re: Setting environment variables in server.xml.
Date Wed, 05 Oct 2005 01:02:57 GMT
if you are using 5.5x you can look at the mbean with jmxproxy which is part of the manager

David Kerber <> wrote:Nope, never heard of that one. I'll see if
I can figure out how to get 
at that type.

andy gordon wrote:

>Just in case you haven't done this yet, have you checked to see if the environment variable
shows up as a catalina:type=Environment MBean? if so you should be able to access it. Hope
this helps. 
>- andy gordon
>David Kerber wrote:
>If I'm reading it correctly, according to the docs, I should be able to 
>set an environment variable in server.xml, like the built-in example:
>Unfortunately, I can't get this to work; I can't read in simpleValue, or 
>the ones I really want to do when they are defined in server.xml. But I 
>have no problems when I put them into the application's web.xml; they 
>come in just fine using the InitialContext stuff from the docs. Is 
>there something extra I need to do to make them visible from server.xml?

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

Yahoo! for Good
 Click here to donate to the Hurricane Katrina relief effort. 
  • Unnamed multipart/alternative (inline, 8-Bit, 0 bytes)
View raw message