  | 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
|
|
|
  | | | 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 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 : Unable to compile class for JSP at org.apache.jasper.JspCompilationContext (JspCompilationContext.java :561) at org.apache.jasper.servlet.JspServletWrapper (JspServletWrapper.java :300) at org.apache.jasper.servlet.JspServlet (JspServlet.java:293) at org.apache.jasper.servlet.JspServlet (JspServlet.java:240) at javax.servlet.http.HttpServlet (HttpServlet.java:856) at org.apache.catalina.core.ApplicationFilterChain  (ApplicationFilterChain.java:286) at org.apache.catalina.core.ApplicationFilterChain  (ApplicationFilterChain.java:206) at org.apache.catalina.core.ApplicationDispatcher (ApplicationDispatcher .java:752) at org.apache.catalina.core.ApplicationDispatcher  (ApplicationDispatcher.java:640) at org.apache.catalina.core.ApplicationDispatcher  (ApplicationDispatcher.java:552) at com.opencms.flex.cache.CmsFlexRequestDispatcher  (CmsFlexRequestDispatcher.java:180) at com.opencms.flex.CmsJspLoader (CmsJspLoader.java:955) at com.opencms.flex.cache.CmsFlexRequestDispatcher  (CmsFlexRequestDispatcher.java:268) at com.opencms.flex.CmsJspLoader (CmsJspLoader.java:567) at com.opencms.flex.CmsJspLoader (CmsJspLoader.java:235) at com.opencms.core.OpenCms (OpenCms.java:956) at com.opencms.core.OpenCmsHttpServlet (OpenCmsHttpServlet.java:310) at javax.servlet.http.HttpServlet (HttpServlet.java:743) at javax.servlet.http.HttpServlet (HttpServlet.java:856) at org.apache.catalina.core.ApplicationFilterChain  (ApplicationFilterChain.java:286) at org.apache.catalina.core.ApplicationFilterChain  (ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve (StandardWrapperValve .java:254) at org.apache.catalina.core.StandardValveContext.invokeNext (StandardValveContext.java:151) at org.apache.catalina.core.StandardPipeline (StandardPipeline.java:564) at org.apache.catalina.core.StandardContextValve  (StandardContextValve.java:256) at org.apache.catalina.core.StandardContextValve (StandardContextValve .java:210) at org.apache.catalina.core.StandardValveContext.invokeNext (StandardValveContext.java:151) at org.apache.catalina.core.StandardPipeline (StandardPipeline.java:564) at org.apache.catalina.core.StandardHostValve (StandardHostValve.java :190) at org.apache.catalina.core.StandardValveContext.invokeNext (StandardValveContext.java:151) at org.apache.catalina.valves.ErrorReportValve (ErrorReportValve.java :175) at org.apache.catalina.core.StandardValveContext.invokeNext (StandardValveContext.java:149) at org.apache.catalina.core.StandardPipeline (StandardPipeline.java:564) at org.apache.catalina.core.StandardEngineValve (StandardEngineValve .java:156) at org.apache.catalina.core.StandardValveContext.invokeNext (StandardValveContext.java:151) at org.apache.catalina.core.StandardPipeline (StandardPipeline.java:564) at org.apache.catalina.core.ContainerBase (ContainerBase.java:974) at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:207) at org.apache.coyote.http11.Http11Processor (Http11Processor.java:647) at 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 $ControlRunnable.run(ThreadPool .java:649) at 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> <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> <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)
|
|
 |