Broken symlinks for JSP support in libjetty-extra-java version 6.1.26-1ubuntu1.1
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
jetty (Debian) |
Fix Released
|
Unknown
|
|||
jetty (Ubuntu) |
Confirmed
|
Medium
|
Unassigned |
Bug Description
Version 6.1.26-1ubuntu1.1 of libjetty-extra-java has changed the dependency for Jasper (to enable JSP support) from libtomcat6-java package to libtomcat7-java.
The Jasper JAR files provided by libtomcat7-java have different names:
tomcat-jasper.jar instead of jasper.jar
tomcat-
However the symlinks provided by the libjetty-extra-java in /usr/share/
Changing the symlinks to point to the updated file names bring to NoClassDefFound
[main] WARN org.mortbay.log - failed ContextHandlerC
[main] INFO org.mortbay.log - Opened /var/log/
[main] WARN org.mortbay.log - failed HandlerCollecti
[main] ERROR org.mortbay.log - Error starting handlers
java.lang.
at java.lang.
at java.lang.
at java.security.
at java.net.
at java.net.
at java.net.
at java.security.
at java.net.
at java.lang.
at java.lang.
at org.mortbay.
at org.mortbay.
at org.mortbay.
at org.mortbay.
at org.mortbay.
at org.mortbay.
at org.mortbay.
at org.mortbay.
at org.mortbay.
at org.mortbay.
at org.mortbay.
at org.mortbay.
at org.mortbay.
at org.mortbay.
at org.mortbay.
at org.mortbay.
at org.mortbay.
at org.mortbay.
at org.mortbay.
at org.mortbay.
at org.mortbay.
at org.mortbay.
at sun.reflect.
at sun.reflect.
at sun.reflect.
at java.lang.
at org.mortbay.
at org.mortbay.
at org.mortbay.
at sun.reflect.
at sun.reflect.
at sun.reflect.
at java.lang.
at org.apache.
Caused by: java.lang.
at java.net.
at java.security.
at java.net.
at java.lang.
Please note that WebXmlConfigura
I'll try to see if I can make this work with Tomcat 7 Jasper, but I was wondering why the dependency has been upgraded from libtomcat6-java to libtomcat7-java.
Changed in jetty (Debian): | |
status: | Unknown → New |
Changed in jetty (Ubuntu): | |
importance: | Undecided → Medium |
Changed in jetty (Debian): | |
status: | New → Fix Released |
To fix the aforementioned NoClassDefFound Error exception, an additional symlink must be added in /usr/share/ jetty/lib/ jsp-2.1 pointing to /usr/share/ java/tomcat- api.jar.
Now Jetty starts cleanly for me and with JSP support. I haven't tested a JSP invocation yet, though.