> From: Steve Arch (sarch) [mailto:[email protected]]
> Subject: Different handling of -Dfoo="bar" between versions
> I've noticed the following disparity between using two different
> versions of Tomcat when setting system properties using -D.
On the face of it, this is not related to Tomcat.
> If I pass in -Dfoo="bar" into Tomcat
Exactly how are you passing this to Tomcat?
> System.getProperty("foo")
The System class is part of the JRE, not Tomcat - Tomcat itself has absolutely
nothing to do with retrieval of system properties. Whatever mechanism you're
using to create the system property may have changed (e.g., different versions
of the JRE or the JSVC/procrun wrapper).
- Chuck
THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you received
this in error, please contact the sender and delete the e-mail and its
attachments from all computers.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]