Google
Google
Mailing List
Home
Forum Home
JBoss - Java Application Server
Struts - A MVC web framework
Tomcat - JSP/Servlet container
iText - An open source PDF Java Library
JDOM - JDOM XML Parser
J2EE - A mailing list for Java(tm) 2 Platform, Enterprise Edition
J2EE Pattern - An interest list for Sun Java Center J2EE Pattern Catalog
Servlet - A mailing list for discussion about Sun Microsystem's Java Servlet API Technology
JSP - A mailing list about Java Server Pages specification and reference
Struts & Hibernate
Subjects
JSP editor plugin for eclipse ?
org apache jasper JasperException: Unable to compile class for JSP
Tomcat: Connection reset by peer: socket write error
Cannot retrieve definition for form bean null
Struts Tiles Tutorial (free Struts training)
Where do I download Tomcat 4 0 6?
Data Access Object (DAO) pattern, example DAO 's
Where to download Tomcat v 4 1 24 from?
Tomcat 5 0 16 Requested resource not available
Oracle Connection Pooling in 3 2 2
Servlet : Session invalidate
Servlet action is currently unavailable
Tomcat/Struts Unicode Encoding/Decoding problems
Tomcat and webapplication specific java library path
Running a Simple JMS Example
Mapping in workers2 properties
org apache jasper JasperException
Cannot find message resources under key org apache struts action
   MESSAGE
problem with html:text bean throwing exception
Cannot find message resources under key org apache struts action MESSAGE
invalid direct reference problem with solution
Tool for jsp debug Try Sysdeo Eclipse Plugin
Tomcat 5 Cannot load JDBC driver class 'null ' SQL state: null
weblogic ejbc
java properties file
Jboss 3 2 3 Coyote Can 't re
Tomcat 5, Apache2 and mod jk2 integration problem
JBoss example problem new to J2EE
url string for connecting jboss to oracle
Value attribute of <html:checkbox
javax servlet ServletException: BeanUtils populate
HTTP Status 404 The requested resource is not available
5 0 18: Windows XP Pro vs Windows 2000
 
org.apache.jasper.JasperException: Unable to compile class for JSP

org.apache.jasper.JasperException: Unable to compile class for JSP

2003-10-12       - By Ilja

 Back
Reply:     1     2     3     4     5     6     7  

In tried installing opencms (www.opencms.org), but got the following
error when running on Tomcat 5.0.7:

I think this is a Tomcat 5.0.x related problem, since according to the
developers it runs fine on a Tomcat 4.2.x version. They don't know where
lies the problem..

The root-cause:

org.apache.jasper.JasperException Source code of org.apache.jasper.JasperException: Unable to compile class for JSP
  at org.apache.jasper.JspCompilationContext Source code of org.apache.jasper.JspCompilationContext(JspCompilationContext.java
:561)
  at org.apache.jasper.servlet.JspServletWrapper Source code of org.apache.jasper.servlet.JspServletWrapper(JspServletWrapper.java
:300)
  at org.apache.jasper.servlet.JspServlet Source code of org.apache.jasper.servlet.JspServlet(JspServlet.java:293)
  at org.apache.jasper.servlet.JspServlet Source code of org.apache.jasper.servlet.JspServlet(JspServlet.java:240)
  at javax.servlet.http.HttpServlet Source code of javax.servlet.http.HttpServlet(HttpServlet.java:856)
  at org.apache.catalina.core.ApplicationFilterChain Source code of org.apache.catalina.core.ApplicationFilterChain
(ApplicationFilterChain.java:286)
  at org.apache.catalina.core.ApplicationFilterChain Source code of org.apache.catalina.core.ApplicationFilterChain
(ApplicationFilterChain.java:206)
  at org.apache.catalina.core.ApplicationDispatcher Source code of org.apache.catalina.core.ApplicationDispatcher(ApplicationDispatcher
.java:752)
  at org.apache.catalina.core.ApplicationDispatcher Source code of org.apache.catalina.core.ApplicationDispatcher
(ApplicationDispatcher.java:640)
  at org.apache.catalina.core.ApplicationDispatcher Source code of org.apache.catalina.core.ApplicationDispatcher
(ApplicationDispatcher.java:552)
  at com.opencms.flex.cache.CmsFlexRequestDispatcher Source code of com.opencms.flex.cache.CmsFlexRequestDispatcher
(CmsFlexRequestDispatcher.java:180)
  at com.opencms.flex.CmsJspLoader Source code of com.opencms.flex.CmsJspLoader(CmsJspLoader.java:955)
  at com.opencms.flex.cache.CmsFlexRequestDispatcher Source code of com.opencms.flex.cache.CmsFlexRequestDispatcher
(CmsFlexRequestDispatcher.java:268)
  at com.opencms.flex.CmsJspLoader Source code of com.opencms.flex.CmsJspLoader(CmsJspLoader.java:567)
  at com.opencms.flex.CmsJspLoader Source code of com.opencms.flex.CmsJspLoader(CmsJspLoader.java:235)
  at com.opencms.core.OpenCms Source code of com.opencms.core.OpenCms(OpenCms.java:956)
  at com.opencms.core.OpenCmsHttpServlet Source code of com.opencms.core.OpenCmsHttpServlet(OpenCmsHttpServlet.java:310)
  at javax.servlet.http.HttpServlet Source code of javax.servlet.http.HttpServlet(HttpServlet.java:743)
  at javax.servlet.http.HttpServlet Source code of javax.servlet.http.HttpServlet(HttpServlet.java:856)
  at org.apache.catalina.core.ApplicationFilterChain Source code of org.apache.catalina.core.ApplicationFilterChain
(ApplicationFilterChain.java:286)
  at org.apache.catalina.core.ApplicationFilterChain Source code of org.apache.catalina.core.ApplicationFilterChain
(ApplicationFilterChain.java:206)
  at org.apache.catalina.core.StandardWrapperValve Source code of org.apache.catalina.core.StandardWrapperValve(StandardWrapperValve
.java:254)
  at org.apache.catalina.core.StandardValveContext.invokeNext
(StandardValveContext.java:151)
  at org.apache.catalina.core.StandardPipeline Source code of org.apache.catalina.core.StandardPipeline(StandardPipeline.java:564)
  at org.apache.catalina.core.StandardContextValve Source code of org.apache.catalina.core.StandardContextValve
(StandardContextValve.java:256)
  at org.apache.catalina.core.StandardContextValve Source code of org.apache.catalina.core.StandardContextValve(StandardContextValve
.java:210)
  at org.apache.catalina.core.StandardValveContext.invokeNext
(StandardValveContext.java:151)
  at org.apache.catalina.core.StandardPipeline Source code of org.apache.catalina.core.StandardPipeline(StandardPipeline.java:564)
  at org.apache.catalina.core.StandardHostValve Source code of org.apache.catalina.core.StandardHostValve(StandardHostValve.java
:190)
  at org.apache.catalina.core.StandardValveContext.invokeNext
(StandardValveContext.java:151)
  at org.apache.catalina.valves.ErrorReportValve Source code of org.apache.catalina.valves.ErrorReportValve(ErrorReportValve.java
:175)
  at org.apache.catalina.core.StandardValveContext.invokeNext
(StandardValveContext.java:149)
  at org.apache.catalina.core.StandardPipeline Source code of org.apache.catalina.core.StandardPipeline(StandardPipeline.java:564)
  at org.apache.catalina.core.StandardEngineValve Source code of org.apache.catalina.core.StandardEngineValve(StandardEngineValve
.java:156)
  at org.apache.catalina.core.StandardValveContext.invokeNext
(StandardValveContext.java:151)
  at org.apache.catalina.core.StandardPipeline Source code of org.apache.catalina.core.StandardPipeline(StandardPipeline.java:564)
  at org.apache.catalina.core.ContainerBase Source code of org.apache.catalina.core.ContainerBase(ContainerBase.java:974)
  at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:207)
  at org.apache.coyote.http11.Http11Processor Source code of org.apache.coyote.http11.Http11Processor(Http11Processor.java:647)
  at org.apache.coyote.http11.Http11Protocol Source code of org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler
.processConnection(Http11Protocol.java:489)
  at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:575)
  at org.apache.tomcat.util.threads.ThreadPool Source code of org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool
.java:649)
  at java.lang.Thread Source code of java.lang.Thread(Thread.java:554)

The index.jsp:

<%@ page session="false" %>
<%@ taglib prefix="cms" uri="http://www.opencms.org/taglib/cms" %>
<cms:include property="template" suffix=".jsp" element="head" />

<h1>Congratulations!</h1>

<h3>If you're seeing this page via a web browser, it means you've setup
OpenCms successfully.</h3>


<p>Your installed OpenCms version is: <cms:info
property="opencms.version" /><br>
<span class="small">Running on
<cms:info property="java.vm.vendor" />
<cms:info property="java.vm.name" />
<cms:info property="java.vm.version" />
<cms:info property="java.vm.info" /> with
<cms:info property="os.name" />
<cms:info property="os.version" />
(<cms:info property="os.arch" />)</span></p>


<p>As you may have guessed by now, this is the default OpenCms home page.
It can <i>not</i> be found on the local file system ;-) but in the
OpenCms
<i>virtual file system</i> or VFS, which is served from the connected
database.
You can access the VFS though the OpenCms workplace.</p>


<p class="high">To login to the OpenCms workplace, point your browser to
the following URL:<br>&nbsp;<br>
<a href="#"
onclick="window.open('<cms:link>/system/login/</cms:link>');return
false;"><cms:link>/system/login/</cms:link></a></p>


<table align="right" cellpadding="0" cellspacing="0"><tr><td
class="note">

You are currently identified as:<br>
User: <tt><cms:user property="name" /></tt><br>
Group: <tt><cms:user property="group" /></tt><br>
Description: <tt><cms:user property="description" /></tt>

</td></tr></table>

<p>Use the following account information for the first
login:<br>&nbsp;<br>

Username: <tt>Admin</tt><br>
Password: <tt>admin</tt></p>


<p><b>Important:</b> You should change this default password immediately,
before someone else does it for you.</p>


<p>If you're seeing this page, and you don't think you should be,
then either you're a a user who has arrived at a new installation of
OpenCms,
or you're an administrator who hasn't got his/her setup quite right.
Providing the latter is the case, please refer to the OpenCms
Documentation
available at <a href="http://www.opencms.org"
target="_blank">http://www.opencms.org</a>
for more detailed setup and administration information.</p>

<p>In case you have questions about OpenCms, please use the
<b>opencms-dev</b> mailing list.
This is currently the list for all questions regarding OpenCms setup,
configuration and development.
Check the <a
href="<cms:link>/release/mailinglist.html</cms:link>">mailing list</a>
page to lean how to subscribe to this list.
</p>

<p>Thank you for using OpenCms!</p>

<cms:include property="template" suffix=".jsp" element="foot" />

-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------
To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected)
For additional commands, e-mail: tomcat-user-help@(protected)