[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[equinox-dev] One bundle does not auto start in Servlet Bridge

Hello there,

I have two bundle configured to auto start when Servlet Bridge project start. Here is my /WEB-INF/eclipse/configuration/config.ini,

osgi.bundles=org.eclipse.equinox.common@2:start, org.eclipse.update.configurator@start, org.eclipse.equinox.http.servletbridge@start, org.eclipse.equinox.http.registry@start, org.apache.felix.webconsole@start, masterconsole.web@start, masterconsole.persistence@start
osgi.bundles.defaultStartLevel=4


However, materconsole.persistenceÂalways starts fine; but masterconsole.webÂalways shows Resolved; and I have to manually start it in Felix console. (masterconsole.web is a converted from a .war archive)

Here is the manifest of the masterconsole.web bundle,

Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: masterconsole.web
Bundle-SymbolicName: masterconsole.web
Bundle-Version: 2.0.0
Bundle-Activator: masterconsole.web.Activator
Bundle-ClassPath: .,
ÂWEB-INF/classes,
ÂWEB-INF/lib/...
Import-Package: mc.console.api,
Âjavax.servlet,
Âjavax.servlet.http,
Âorg.osgi.framework;version="1.3.0",
Âorg.osgi.service.http;version="1.2.0",
Âorg.osgi.util.tracker;version="1.3.1"


Does anyone have such experience before? thanks!!!
David