Trouble starting dependent bundle [message #110545] |
Fri, 23 May 2008 03:43 |
Eclipse User |
|
|
|
Originally posted by: mburbidg.adobe.com
I have two bundles, one which has the embeddable Tomcat container in it.
This bundle does not have an activator. I have another bundle which does
have an activator whose purpose is to start the Tomcat servlet container
in the first bundle.
I have the following config.ini:
eclipse.ignoreApp=true
osgi.clean=true
osgi.bundles=\
plugins/org.eclipse.equinox.common@:start,\
plugins/org.eclipse.update.configurator@:start,\
plugins/catalina.osgi-5.5.23-SNAPSHOT.jar,\
plugins/catalina.start.osgi-1.0-SNAPSHOT.jar@:start,\
plugins/spring-osgi-extender-1.1.0-m2.jar@:start
When I start equinox using the following command:
java -jar org.eclipse.osgi_3.3.2.R33x_v20080105.jar -console
I get a log file with the following exception:
Root exception:
java.lang.NoClassDefFoundError: org/apache/catalina/Container
Evidently the bundle with the activator that is supposed to start Tomcat
cannot find classes in the Tomcat bundle.
If I omit the two lines having to do with Tomcat from my config.ini,
equinox starts up just fine. Furthermore, I can successfully start the
bundle that starts Tomcat from the equinox command prompt. Here's the
command I use.
start org.springframework.osgi.catalina.start.osgi
So there is something different when trying to start from the config.ini
than when starting it manually from the command prompt. I've tried every
different combination I can think of and can't seem to get this to work
from config.ini.
Does anyone have any suggestions?
Thanks,
Michael-
|
|
|
Powered by
FUDForum. Page generated in 0.02784 seconds