Forgot to list my equinox bundle versions, org.eclipse.equinox.common (3.6.200.v20130402-1505) "Common Eclipse Runtime" [active, 1] org.eclipse.equinox.http.registry (1.1.300.v20130402-1529) "Http Service Registry Extensions" [active, 4] org.eclipse.equinox.http.servlet (1.1.400.v20130418-1354) "Http Services Servlet" [active, 20] org.eclipse.equinox.http.servletbridge (1.0.0.200704022148) "Servletbridge Http Service" [active, 3] org.eclipse.equinox.registry (3.5.301.v20130717-1549) "Extension Registry Support" [active, 21] org.eclipse.equinox.servletbridge.extensionbundle (1.3.0) "Servletbridge Extension Bundle" [resolved, 22] (fragment) org.eclipse.osgi.services (3.3.100.v20130513-1956) "OSGi Release 4.2.0 Services" [resolved, 23] org.eclipse.osgi (3.9.1.v20140110-1610) "OSGi System Bundle" [active, 0] org.eclipse.update.configurator (3.3.200.v20140203-1328) "Install/Update Configurator" [active, 2]
On Wed, Jul 23, 2014 at 12:04 PM, David Cao <[email protected]> wrote: > Hello there, > > We have an application jar that has a run-time dependency on > *com.sun.javadoc* in JDK *tools.jar*. So I tried to add this line to > config.ini, (we use Servlet Bridge in Tomcat 6) > > org.osgi.framework.system.packages=com.sun.javadoc > > But when restarted Tomcat, the Equinox framework failed to start. I am > pretty sure tools.jar is in the classpath since it worked for the other > non-OSGi webapp; also, I can see this in system properties, > > tomcat.util.scan.DefaultJarScanner.jarsToSkip = ...,tools.jar,... > > > Here is my parent classloader config in launch.ini, > > osgi.parentClassloader=ext > osgi.contextClassLoaderParent=ext > > So, why framework could not start when the line added to config.ini? and > should I change "ext" to "boot" (which I will try next ...) or "fwk"? > > Also, should I consider wrap tools.jar? or any other options? > > thanks!! > David > > >
_______________________________________________ equinox-dev mailing list [email protected] To change your delivery options, retrieve your password, or unsubscribe from this list, visit https://dev.eclipse.org/mailman/listinfo/equinox-dev
