Just wondered if anyone else had run into the problem of setting up an OSGI project including the org.eclipse.equinox.http.jetty and the org.eclipse.equinox.http.servlet bundles where these bundles do not get into the ACTIVE state and instead remain in the STARTING state?
I tried adding org.eclipse.equinox.http.jetty.autostart=true to the config.ini (and -D to the vm args) but they remain in the state of STARTING.
Of course, if I stop and restart them in the console they go into the ACTIVE state, but I cannot do this in production, i.e. they have to start on their own automatically.
Are you using p2 or just using config.ini to list the osgi.bundles property for the bundles you want to be installed in the framework? If you are just using osgi.bundles then you have to stick an @start onto the bundle(s) you want started. For example:
The configuration parameter worked, thanks very much!
In case anyone else may be interested, we are using the tycho maven plugin to build the production deployable and simply added the following to the .product file: