Bundle ActivatorClass not found in tomcat / servlet-bridge [message #73344] |
Tue, 19 September 2006 13:48 |
Eclipse User |
|
|
|
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 |
Eclipse User |
|
|
|
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
|
|
|
Powered by
FUDForum. Page generated in 0.01601 seconds