Bug#452586: jetty: JSP pages do not work

Jan-Pascal van Best janpascal at vanbest.org
Fri Nov 23 20:28:27 UTC 2007


Package: jetty
Version: 5.1.14-1
Severity: important

Hi,

It seems .jsp pages do not work any more with Jetty 5.1.14-1. If I ask for
http://localhost:8280/snoop.jsp, I get the following request attributes:

Request Attributes
javax.servlet.error.servlet_name:   jsp 
DemoFilter-REQUEST:   1 
DemoFilter-ERROR:   1 
javax.servlet.forward.context_path:   
javax.servlet.error.exception:  java.lang.IllegalStateException: No Java compiler available
javax.servlet.error.message:  No Java compiler available 
javax.servlet.error.exception_type:   class java.lang.IllegalStateException 
javax.servlet.error.request_uri:  /snoop.jsp 
javax.servlet.forward.servlet_path:   /snoop.jsp 
javax.servlet.forward.request_uri:  /snoop.jsp 
javax.servlet.error.status_code:  500 
Dump:   org.mortbay.servlet.Dump at 1acfa31 
Servlet InitParameters 
Context InitParameters
org.mortbay.jetty.servlet.SessionPath:  / 
admin:  mortbay at mortbay.com 
home:   http://jetty.mortbay.org 

Context Attributes org.mortbay.http.ErrorHandler:  
ErrorPageHandler in null 

The same "No Java compiler available" error message occurs with jetty-solr:

HTTP ERROR: 500
No Java compiler available
RequestURI=/solr/admin/

-- System Information:
Debian Release: 4.0
  APT prefers stable
  APT policy: (990, 'stable'), (300, 'testing'), (200, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-5-k7
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages jetty depends on:
ii  adduser                    3.102         Add and remove users and groups
ii  ant                        1.7.0-3       Java based build tool like make
ii  apache2-utils              2.2.3-4+etch1 utility programs for webservers
ii  gij [java2-runtime]        4:4.1.1-15    The GNU Java bytecode interpreter
ii  gij-4.1 [java1-runtime]    4.1.1-20      The GNU Java bytecode interpreter
ii  gij-4.2 [java1-runtime]    4.2.1-5       The GNU Java bytecode interpreter
ii  java-gcj-compat            1.0.76-7      Java runtime environment using GIJ
ii  libcommons-logging-java    1.0.4-5       commmon wrapper interface for seve
ii  libmx4j-java               3.0.1-3       An open source implementation of t
ii  libservlet2.4-java         5.0.30-3      Servlet 2.4 and JSP 2.0 Java class
ii  libtomcat5.5-java          5.5.25-1      Java Servlet engine -- core librar
ii  libxerces2-java            2.8.1-1       Validating XML parser for Java wit
ii  sun-java5-jre [java1-runti 1.5.0-10-3    Sun Java(TM) Runtime Environment (

jetty recommends no packages.

-- no debconf information





More information about the pkg-java-maintainers mailing list