Add your bundle location as the first bundle in glassfish.auto.start
property in glassfish/osgi/felix/config.properties.
Sahoo
On Thursday 07 July 2011 07:52 PM, forums_at_java.net wrote:
> Hi,
>
> I use glassfish 3.1 GA with felix OSGI.
>
> I have a bundle (log4jutils) that watches log4j configuration folder and
> initializes logs. Due to this, it should be loaded before the rest of my
> application bundles, otherwise some bundles will not write to logs.
> What is
> the preferred way to solve this problem? Is it correct to define it a
> startlevel=0 in felix config.properties?
>
> thank you
>
>
> --
>
> [Message sent by forum member 'okna2000']
>
> View Post: http://forums.java.net/node/819498
>
>