|
|
Re: Help System under 3.4 [message #1782004 is a reply to message #1781955] |
Thu, 15 February 2018 20:07 |
Sebastian von Klinski Messages: 12 Registered: October 2012 |
Junior Member |
|
|
Hi Ivan,
Thank you very much for your fast response!
The bundle, that tries to instantiate the HttpSessionIdListener is indeed org.eclipse.equinox.http.jetty_3.4.0.v20170503-2025.jar.
The Class-not-found exception can be seen below. This exception is thrown, when javax.servlet 3.0 or lower is used. That makes sense, as the HttpSessionIdListener has been added in javax.servlet 3.1.
Interestingly, the bundle org.eclipse.equinox.http.jetty has the following imported package specification in the manifest:
javax.servlet;version="[2.6.0,4.0.0)",javax.servlet.ht
tp;version="[2.6.0,4.0.0)"
This should be wrong as the bundle requires a class from 3.1, shouldn't it?
Does these hints help you?
Thanks for your help in advance!
Best regards,
Sebastian
__________________________________________________
Caused by: java.lang.ClassNotFoundException: javax.servlet.http.HttpSessionIdListener cannot be found by org.eclipse.equinox.http.jetty_3.4.0.v20170503-2025
at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:433)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:395)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:387)
at org.eclipse.osgi.internal.loader.ModuleClassLoader.loadClass(ModuleClassLoader.java:150)
at java.lang.ClassLoader.loadClass(Unknown Source)
... 32 more
|
|
|
|
|
|
Re: Help System under 3.4 [message #1783507 is a reply to message #1782551] |
Tue, 13 March 2018 17:18 |
Sebastian von Klinski Messages: 12 Registered: October 2012 |
Junior Member |
|
|
Hi all,
unfortunately, I still have a problem with running the help system in my rap application. The help system works fine, when I start the rap application from the eclipse development environment. However, if I deploy the application under tomcat, the help system won't start.
If I connect the osgi console to the tomcat web-app, I can see that the org.eclipse.help.webapp is installed (see screen shot). If I, however, try to start the bundle, it complains that javax.servlet cannot be resolved.
However, the bundle should not be added according to the rap documentation.
Has somebody an idea, how I could solve this problem?
Thanks in advance,
Sebastian
|
|
|
|
Powered by
FUDForum. Page generated in 0.03983 seconds