Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Equinox » Trouble starting dependent bundle
Trouble starting dependent bundle [message #110545] Fri, 23 May 2008 03:43
Eclipse UserFriend
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-
Previous Topic:Starting exploded fragment bundles...
Next Topic:will the new provisioning support restart with different locale?
Goto Forum:
  


Current Time: Sat Apr 20 03:09:23 GMT 2024

Powered by FUDForum. Page generated in 0.02784 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top