Kedar Mhaswade wrote:
>
>
> Sahoo wrote:
>> Yes, there are other configurations as well. e.g., list of bundles to
>> be started automatically, port number for Felix remote shell, etc. I
>> am also not sure if JDK logging.properties file can be used to
>> control felix's log level. Richard, can you clarify?
>>
>> No, I can't use @Configured, because this code runs outside of HK2 or
>> OSGi environment. It runs as part of ASMain before launching the OSGi
>> framework.
> Hmm. It is best to leave such configuration out of domain.xml then.
> Anything that goes to domain.xml should have a backing @Configured
> (e.g. http-service -> com.sun.enterprise.config.serverbeans.HttpService)
> in some module. Remember, administration depends on these interfaces
> in order to expose it uniformly via admin interfaces.
I don't understand this limitation. I already mentioned, these are
system properties. Currently they are set via a separate config file
called felix/conf/config.properties. I want them to be moved to
java-config/system-proprties in domain.xml. What's wrong with it?
Thanks,
Sahoo