A slight correction. Duplicate system properties are not being added
correctly to the config.ini but in general do not stop the launch.
Howevere if I specify in my text file:
-Dorg.knopflerfish.startlevel.use=true
...then this causes the launch to fail since it is not added to the
config.ini file correctly and by default is required.
On 19/04/2011 10:01, Paul French wrote:
I've installed the latest PAX-Runner eclipse plugin. I created a
couple of bundles to test with.
If you select Knopflerfish 2.3.3 to run you always get felix. If you
select other Knopflerfish OSGi runtimes they work fine.
I need to setup various system properties that Knopflerfish uses. I
can see by default PAX-Runner creates a config.ini file with various
default values. I created a text file with my various system
properties (as below)
-Dorg.osgi.provisioning.spid=knopflerfish
-Dorg.knopflerfish.verbosity=0
-Dorg.knopflerfish.framework.debug.packages=false
-Dorg.knopflerfish.framework.debug.errors=true
-Dorg.knopflerfish.framework.debug.classloader=true
-Dorg.knopflerfish.framework.debug.startlevel=false
-Dorg.knopflerfish.framework.debug.ldap=false
-Dorg.knopflerfish.framework.debug.service_reference=false
-Dorg.knopflerfish.framework.debug.bundle_resource=false
-Dorg.knopflerfish.framework.debug.permissions=false
-Dorg.knopflerfish.framework.debug.certificates=false
-Dorg.knopflerfish.framework.system.export.all=true
-Dorg.osgi.framework.bootdelegation=*
-Dorg.knopflerfish.http.dnslookup=false
-Dorg.osgi.service.http.port=8080
-Dorg.knopflerfish.startlevel.use=true
-Dorg.knopflerfish.log.out=false
-Dorg.knopflerfish.log.level=info
-Dorg.knopflerfish.log.grabio=false
-Dorg.knopflerfish.log.file=true
-Dorg.knopflerfish.consoletelnet.user=admin
-Dorg.knopflerfish.consoletelnet.pwd=admin
-Dorg.knopflerfish.consoletelnet.port=2323
I added this text file by clicking "add file" in the provisioning table.
I now run again as before. It fails. If you look at the config.ini
file created it is a bit of a mess in places.
What I found is if I remove properties that PAX-Runner adds by default
all is fine again. A bit of a pain but I can live with it for now.
However if I do want to set:
-Dorg.knopflerfish.framework.debug.classloader=true
How could I do this?
Thanks
Paul
_______________________________________________
general mailing list
general@lists.ops4j.org
http://lists.ops4j.org/mailman/listinfo/general