You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Ilja <im...@hotmail.com> on 2003/10/12 15:35:25 UTC
org.apache.jasper.JasperException: Unable to compile class for JSP
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.compile(JspCompilationContext.java:561)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:300)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:293)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:240)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:286)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:752)
at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:640)
at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:552)
at com.opencms.flex.cache.CmsFlexRequestDispatcher.include(CmsFlexRequestDispatcher.java:180)
at com.opencms.flex.CmsJspLoader.service(CmsJspLoader.java:955)
at com.opencms.flex.cache.CmsFlexRequestDispatcher.include(CmsFlexRequestDispatcher.java:268)
at com.opencms.flex.CmsJspLoader.load(CmsJspLoader.java:567)
at com.opencms.flex.CmsJspLoader.initlaunch(CmsJspLoader.java:235)
at com.opencms.core.OpenCms.showResource(OpenCms.java:956)
at com.opencms.core.OpenCmsHttpServlet.doGet(OpenCmsHttpServlet.java:310)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:743)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:286)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:254)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:564)
at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:256)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:210)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:564)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:190)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:175)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:149)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:564)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:156)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:564)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:974)
at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:207)
at org.apache.coyote.http11.Http11Processor.process(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.run(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@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
Page context.
Posted by anunay ashish <an...@tis.co.in>.
Hi,
What is meant by page context in JSP pages?
Thanks in advance.
Regards,
Anunay Ashish.
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
Re: org.apache.jasper.JasperException: Unable to compile class for JSP
Posted by Ilja <im...@hotmail.com>.
anyone?
On Sun, 12 Oct 2003 15:35:25 +0200, "Ilja" <im...@hotmail.com>
said:
> 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.compile(JspCompilationContext.java:561)
> at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:300)
> at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:293)
> at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:240)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:286)
> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:752)
> at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:640)
> at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:552)
> at com.opencms.flex.cache.CmsFlexRequestDispatcher.include(CmsFlexRequestDispatcher.java:180)
> at com.opencms.flex.CmsJspLoader.service(CmsJspLoader.java:955)
> at com.opencms.flex.cache.CmsFlexRequestDispatcher.include(CmsFlexRequestDispatcher.java:268)
> at com.opencms.flex.CmsJspLoader.load(CmsJspLoader.java:567)
> at com.opencms.flex.CmsJspLoader.initlaunch(CmsJspLoader.java:235)
> at com.opencms.core.OpenCms.showResource(OpenCms.java:956)
> at com.opencms.core.OpenCmsHttpServlet.doGet(OpenCmsHttpServlet.java:310)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:743)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:286)
> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:254)
> at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151)
> at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:564)
> at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:256)
> at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:210)
> at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151)
> at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:564)
> at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:190)
> at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151)
> at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:175)
> at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:149)
> at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:564)
> at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:156)
> at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151)
> at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:564)
> at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:974)
> at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:207)
> at org.apache.coyote.http11.Http11Processor.process(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.run(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@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org