Scott Ferguson schrieb:
> On Aug 28, 2009, at 9:59 AM, Michael Ludwig wrote:
>> I deployed one webapp doing System.setProperties(props) in
> You can't change the Properties object itself, or you'll override
> Resin's contextual properties.  You need to set the properties using
> the existing object.

Thanks! That works fine on Resin :-) Not on Tomcat, though. But we
knew that.

As you guessed, I foolishly did:

Properties props = new Properties();
props.setProperty(name, value);

Which, of course, went far beyond making one small change to the
properties and caused a considerable general mess. I should have done:

Properties props = System.getProperties();
props.setProperty(name, value);

Michael Ludwig

resin-interest mailing list

Reply via email to