If you really want to use environment variables you have to define them outside of tomcat. (E.g. in a (wrapper-)startscript for tomcat). Note that in java reading of environment variables is deprecated (see alse API doc of System.getenv() in favour of systzem properties.
> -----Ursprüngliche Nachricht----- > Von: Johnny [mailto:[EMAIL PROTECTED]] > Gesendet: Montag, 24. Juni 2002 11:27 > An: Tomcat Users List > Betreff: how to set environment variable in tomcat? > > if i want to set my own environment variable for my > application running in > tomcat, what should i do? do i have to edit the server.xml? > -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>