FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian Java

 
 
LinkBack Thread Tools
 
Old 05-18-2012, 04:57 PM
Thomas Koch
 
Default Enable jsp support in jetty8?

Hi,

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
 
Old 05-19-2012, 08:37 AM
Thomas Koch
 
Default 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
 
Old 05-19-2012, 10:10 AM
Thomas Koch
 
Default 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:

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

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
 
Old 05-30-2012, 08:54 AM
James Page
 
Default 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):

jsp-api-2.2.jar -> /usr/share/java/tomcat-jsp-api-2.2.jar
ecj.jar -> /usr/share/java/ecj.jar
jstl1.1.jar -> /usr/share/java/jstl1.1.jar
el-api-2.2.jar -> /usr/share/java/tomcat-el-api-2.2.jar
jasper.jar -> /usr/share/java/jasper.jar
tomcat-juli.jar -> /usr/share/java/tomcat-juli.jar
jasper-el.jar -> /usr/share/java/jasper-el.jar

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/

iQIcBAEBCAAGBQJPxeBgAAoJEL/srsug59jDyvUQAI0F1utVymgWe8ZOlrGF2ROS
11Jl/9jl3Boy5/wQC0ar/r3SpJj3UE6Ti7YUNLHrmFi/D89oGuV6n8ZVx33PZXut
IsOLJhqN1M9EdEdfLeQsnCz5VKmKm2vuZKY8ITe06fnRuXLQTM 8DNBEEvQuzO2Sd
/AWqp2nmqDfl+Ke0hSEGHnXqY/bxWoCG1B0jlw+/L4Xq7TJqVc11xRkt+vIyC0QI
oEZjq0ARGpywWoPUUVJs7wABZOaRWcm/rRu71ObPdR8AT0ojgdL/1u2/gz7CRf7y
XQyNkx7woP8wQfrqyn9XjozLT9HxJQQL4UXeu4Rg8HrtfsbBbJ IDh00/kn73yq5R
aCFDmHVU+8tHyUoGnaLLHYzsXbWHMWa00hvL3RHipH9oEn+Oxy jR2zHkLzyrz4GB
KddSr6SLW61xEYIUZ8Hv4JlT2C5UeXXzXGZB+qeRGHIWZPxTm4 kdJ1XUsmb5Om7J
5zeStSXLp2vtKspVEyZp2gxTvooJSvuExgcraSwyTu1DiLpzy3 AdZ2yjuee+fWji
hMXCtTxebIfQDqXfYwokv2eN3+oU2pw0OIEVq7gQqfp4XnnMLQ xHcc75ivWDOPht
bkHLTQz3Vzv7phyYlRf5XS2tKDt5QNdVEBX8Fd5SkebRfYvKQl 0dNREY/oNmpevv
LKIYfaKKOFLK3+yerXAY
=iRA5
-----END PGP SIGNATURE-----


--
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
 

Thread Tools




All times are GMT. The time now is 12:17 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org