Hi,
today i prepared a plan to run RAP applications on Virgo Kernel. This plan includes
<artifact type="bundle" name="org.eclipse.equinox.http.jetty" version="[2.0.0, 3.0.0)" />
providing an OSGi HTTP Service. After the deployment the bundle is lazy...
osgi> ss ... 33 <<LAZY>> org.eclipse.equinox.http.jetty_2.0.0.v20100503 ...
osgi> services (objectClass=*HttpService) No registered services.
Starting the HttpService manually works fine. The RAP workbench is now using the HttpService:
osgi> start 33
osgi> services (objectClass=*HttpService) {org.osgi.service.http.HttpService, org.eclipse.equinox.http.servlet.ExtendedHttpService}={service.description=Equinox Jetty-based Http Service, service.vendor=Eclipse.org, http.port=10081, service.id=74} Registered by bundle: org.eclipse.equinox.http.servlet_1.1.0.v20100503 [32] Bundles using service: org.eclipse.equinox.http.registry_1.1.0.v20100503 [31] org.eclipse.rap.ui.workbench_1.3.1.20100915-2301 [37]
Is there a way to start a bundle during deployment? I can't find a tag startup="true" or something alike in the documentation.
Thanks a lot, Florian
|