Sounds like a good fit, but I've tried all the ways I could to pass
the needed system property to the runtime launched without any
success.  I supposed I missed something there, but I've tried
--vmOptions, -Dxx=yy on the command line, in the file scanner without
any success :-(


On 10/12/07, Stuart McCulloch <[EMAIL PROTECTED]> wrote:
> On 12/10/2007, Guillaume Nodet <[EMAIL PROTECTED]> wrote:
> > Sounds a bit complicated.  What about enhancing  pax-logging so that
> > it could use a system property to load a default configuration ? Or
> > enhancing pax-runner so that it can load config admin properties ?
>
>
> you might be interested in Pax-Confman:
>
>
> http://wiki.ops4j.org/confluence/display/ops4j/2007/09/23/Pax+ConfMan+0.2.0+Released
>
> which does something similar (loads config from a properties file)
>
> > On 10/12/07, Pedro Silva <[EMAIL PROTECTED]> wrote:
> > > Basically you should create a service that receives a ConfigurationAdmin
> > > service and from there (see the api, and the compendium documentation)
> > > gets a configuration object for your bundle. After getting this
> > > Configuration object, just update it with the new properties.
> > >
> > > So basically we will need to search the configuration object for the pax
> > > logging service that has the the following pid: "org.ops4j.pax.logging"
> > > and then call the update method with the new Properties loaded from the
> > > file.
> > >
> > > Pedro Silva
> > >
> > > Guillaume Nodet wrote:
> > > > I'm launching pax-runner and including pax-logging in the provisionned
> > > > bundles.  Is there any way to  provide  configuration file for the
> > > > underlying log4j ?  I'm not so familiar with the ConfigAdmin service
> > > > and I don't really know how to configure it :-(
> > > >
> > >
> > > _______________________________________________
> > > general mailing list
> > > general@lists.ops4j.org
> > > http://lists.ops4j.org/mailman/listinfo/general
> > >
> >
> >
> > --
> > Cheers,
> > Guillaume Nodet
> > ------------------------
> > Blog: http://gnodet.blogspot.com/
> >
> > _______________________________________________
> > general mailing list
> > general@lists.ops4j.org
> > http://lists.ops4j.org/mailman/listinfo/general
> >
>
>
>
> --
> Cheers, Stuart
> _______________________________________________
> general mailing list
> general@lists.ops4j.org
> http://lists.ops4j.org/mailman/listinfo/general
>
>


-- 
Cheers,
Guillaume Nodet
------------------------
Blog: http://gnodet.blogspot.com/

_______________________________________________
general mailing list
general@lists.ops4j.org
http://lists.ops4j.org/mailman/listinfo/general

Reply via email to