Kedar,
That's very interesting.
Since the value of <system-property> can change at runtime, that
implies that any change or addition to <system-property> requires a
server restart, not desirable IMO.
Lloyd
On Oct 8, 2009, at 7:38 PM, kedar wrote:
>
>
> Lloyd Chambers wrote:
>> Is that true?
>> I thought it picked up values from <system-property> also.
>
> All <system-property> elements are converted into System.setProperty()
> in SystemTasks Init service.
>
> Again, I am suggesting that as a work-around. I don't think it makes
> sense that runtime has to do this every time it gets a config change
> event.
>
>> Lloyd
>> On Oct 8, 2009, at 4:18 PM, Kedar Mhaswade wrote:
>>> Alternatively, the variable expansion is just doing a replacement
>>> from
>>> system properties. So in the changed method, if a particular
>>> attribute
>>> contains {xxx} you could replace it with System.property(xxx). I
>>> have
>>> tried it and it seems to work.
>> Lloyd Chambers
>> lloyd.chambers_at_sun.com
>> GlassFish Team
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>
Lloyd Chambers
lloyd.chambers_at_sun.com
GlassFish Team