Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Equinox » Bundle ActivatorClass not found in tomcat / servlet-bridge
Bundle ActivatorClass not found in tomcat / servlet-bridge [message #73344] Tue, 19 September 2006 13:48 Go to next message
Eclipse UserFriend
Originally posted by: ridcully560.yahoo.com

Hallo,

I finally managed to bring my plugins to the tomcat... at least I'm able
to let them run under the bride.war-webapp in the osgi-console. But some
of the plugins can't be started. There is an Exception telling me, that
the Activatorclass can not be found.

BundleException -> ClassNotFoundException

I can see no difference from that project to another one where the
activation is no problem.

osgi>ss in Eclipse tell me, that next to my plugins just the
system.bundle is loaded and active.

osgi>ss unter the comcat lists:
active system.bundle
active org.eclipse.equinox.common
active org.eclipse.update.configurator
active org.eclipse.equinox.servlet.bridge
active org.eclipse.equinox.http.registry
resolved MyPlugin...
active org.eclipse.equinox.registry
resolved org.eclipse.equinox.servlet.bridge.extensionbundle
resolved org.eclipse.osgi.services

Johannes
Re: Bundle ActivatorClass not found in tomcat / servlet-bridge [message #73420 is a reply to message #73344] Wed, 20 September 2006 08:48 Go to previous message
Eclipse UserFriend
Originally posted by: ridcully560.yahoo.com

OK, I think I founde the reason: The export-wizard seems to put the
class-files inside the jar-file not just into the "package/..." but
instedt to "/build/classes/package/..." That's the standart output
folder from the main-app. In the little plugin-projects I created, the
outputfolder is just "/bin" and there it works perfectly to get the
class-files in the jar files to the "/package" and not to "/bin/package".

Another thing: Some off the classes need javax.-packages to compile. I
think that those are the ones that are added to the project via the
tomcat-server-libs inside eclipse. Although I added those .jar-files
(for example jsp-api.jar) to the lib-folder in the WEB-INF directory
this doesn't seem to work.

Johannes

Johannes schrieb:
> Hallo,
>
> I finally managed to bring my plugins to the tomcat... at least I'm able
> to let them run under the bride.war-webapp in the osgi-console. But some
> of the plugins can't be started. There is an Exception telling me, that
> the Activatorclass can not be found.
>
> BundleException -> ClassNotFoundException
>
> I can see no difference from that project to another one where the
> activation is no problem.
>
> osgi>ss in Eclipse tell me, that next to my plugins just the
> system.bundle is loaded and active.
>
> osgi>ss unter the comcat lists:
> active system.bundle
> active org.eclipse.equinox.common
> active org.eclipse.update.configurator
> active org.eclipse.equinox.servlet.bridge
> active org.eclipse.equinox.http.registry
> resolved MyPlugin...
> active org.eclipse.equinox.registry
> resolved org.eclipse.equinox.servlet.bridge.extensionbundle
> resolved org.eclipse.osgi.services
>
> Johannes
Previous Topic:How to get ServiceReference from service instance?
Next Topic:demo application integrating JSP/JSTL, Struts...
Goto Forum:
  


Current Time: Thu Apr 18 10:03:41 GMT 2024

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

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

Back to the top