dev@glassfish.java.net

Re: [GFv3] System properties set in domain.xml not available to bootstrap code

From: Sahoo <Sahoo_at_Sun.COM>
Date: Fri, 20 Mar 2009 00:33:03 +0530

domain.xml is parsed by asadmin start-domain command, which runs as a
plain old Java program, so I would expect all the implementation
challenges to have been overcome by now.

Thanks,
Sahoo

Jerome Dochez wrote:
> this has not changed recently and it would be very difficult to parse
> domain.xml before starting OSGi as it would require starting the
> kernel (probably could be avoided with some work) and config-api and
> all other imported modules as plain old jar files.
>
> jerome
>
> On Mar 19, 2009, at 11:31 AM, Sahoo wrote:
>
>> I used to think that we were parsing domain.xml somewhere in ASMain
>> and hence I would be able to move some of the OSGi configuration
>> stuff to domain.xml. But, I see we don't parse domain.xml before
>> starting the server bundles. Is this a recent change or has it been
>> like this from beginning? Can we parse domain.xml before starting the
>> OSGi framework?
>>
>> Thanks,
>> Sahoo
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
>> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>