I get
NO JSP Support for , did not find org.apache.jasper.servlet.JspServlet
How can I enable jsp support?
I have not yet installed jetty8-extras. It depends on jstl1.1-java but the
package name should be libjstl1.1-java.
Thank you,
Thomas Koch, http://www.koch.ro
--
To UNSUBSCRIBE, email to debian-java-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 201205181857.27207.thomas@koch.ro">http://lists.debian.org/201205181857.27207.thomas@koch.ro
05-19-2012, 08:37 AM
Thomas Koch
Enable jsp support in jetty8?
I got rit of the "NO JSP Support" error so far by copying all jars of
libservlet2.5-java and its dependencies into /u/s/jetty8/lib/jsp and passing
OPTIONS=jsp in JETTY_ARGS.
However now I got:
Tag directive has invalid attribute: trimDirectiveWhitespaces
I also added the jar files of libjstl1.1-java and libjakarta-taglibs-standard-
java with no success.
Maybe I need to try this again with libservlet3.0?
Regards,
Thomas Koch, http://www.koch.ro
--
To UNSUBSCRIBE, email to debian-java-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 201205191037.36835.thomas@koch.ro">http://lists.debian.org/201205191037.36835.thomas@koch.ro
05-19-2012, 10:10 AM
Thomas Koch
Enable jsp support in jetty8?
With a lot of trial and error I ended up with the following jars linked into
$JETTY_HOME/lib/jsp:
Some of them might not be needed. My current error message is
No org.apache.tomcat.InstanceManager set in ServletContext
Regards,
Thomas Koch, http://www.koch.ro
--
To UNSUBSCRIBE, email to debian-java-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 201205191210.41143.thomas@koch.ro">http://lists.debian.org/201205191210.41143.thomas@koch.ro
05-30-2012, 08:54 AM
James Page
Enable jsp support in jetty8?
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Hi Thomas
On 19/05/12 11:10, Thomas Koch wrote:
> With a lot of trial and error I ended up with the following jars
> linked into $JETTY_HOME/lib/jsp:
>
> catalina.jar -> /usr/share/tomcat7/lib/catalina.jar commons-el.jar
> -> /usr/share/java/commons-el.jar commons-logging-adapters.jar ->
> /usr/share/java/commons-logging-adapters.jar
> commons-logging-api.jar -> /usr/share/java/commons-logging-api.jar
> commons-logging.jar -> /usr/share/java/commons-logging.jar ecj.jar
> -> /usr/share/java/ecj.jar jasper-el.jar ->
> /usr/share/tomcat7/lib/jasper-el.jar jasper.jar ->
> /usr/share/tomcat7/lib/jasper.jar jstl1.1.jar ->
> /usr/share/java/jstl1.1.jar standard.jar ->
> /usr/share/java/standard.jar tomcat-api-7.0.26.jar ->
> /usr/share/java/tomcat-api-7.0.26.jar tomcat-el-api-2.2.jar ->
> /usr/share/java/tomcat-el-api-2.2.jar tomcat-jsp-api-2.2.jar ->
> /usr/share/java/tomcat-jsp-api-2.2.jar tomcat-juli-7.0.26.jar ->
> /usr/share/java/tomcat-juli-7.0.26.jar tomcat-servlet-api-3.0.jar
> -> /usr/share/java/tomcat-servlet-api-3.0.jar tomcat-util.jar ->
> /usr/share/tomcat7/lib/tomcat-util.jar
>
> Some of them might not be needed. My current error message is No
> org.apache.tomcat.InstanceManager set in ServletContext
I had a hack on this as well, this set of jars works for a simple
index.jsp test (copy of index.html):
New dependencies: libecj-java, libtomcat6-java, libjstl1.1-java
This does highlight that we really need to get a later version of the
jstl library packaged - 1.2 is the current version. I might get to
that in the next few weeks.
I also had to add the jsp option to /etc/default/jetty8 - although it
should be possible to update /etc/jetty8/start.config to enable this
by default.
- --
James Page
Ubuntu Core Developer
Debian Maintainer
james.page@ubuntu.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
--
To UNSUBSCRIBE, email to debian-java-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 4FC5E061.2060707@ubuntu.com">http://lists.debian.org/4FC5E061.2060707@ubuntu.com