奇怪的Glassfish例外

时间:2011-05-17 08:59:15

标签: java glassfish wicket single-sign-on

我在windows上使用glassfish 2.1.1。我的java版本是1.6.0_25

我的Web应用程序是用Apache wicket编写的。

问题是当我按下与系统中其他链接没有区别的两个链接时,Glassfish会抛出此异常:


[#|2011-05-16T17:01:21.367+0300|SEVERE|sun-appserver2.1|javax.enterprise.system.container.web|_ThreadID=18;_ThreadName=httpSSLWorkerThread-8080-2;_RequestID=005f27b5-0eca-4457-be9f-4a6333c52bf4;|ApplicationDispatcher[/my-app] PWC1231: Servlet.service() for servlet default threw exception
java.io.FileNotFoundException: /my-app/true
    at org.apache.catalina.servlets.DefaultServlet.serveResource(DefaultServlet.java:748)
    at org.apache.catalina.servlets.DefaultServlet.doGet(DefaultServlet.java:400)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:734)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
    at org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:427)
    at org.apache.catalina.core.ApplicationDispatcher.doInvoke(ApplicationDispatcher.java:873)
    at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:723)
    at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:679)
    at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:594)
    at org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:1013)
    at org.apache.jasper.runtime.PageContextImpl.include(PageContextImpl.java:687)
    at org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:900)
    at org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:871)
    at org.apache.jsp.error_jsp._jspService(error_jsp.java from :94)
    at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:109)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
    at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:389)
    at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:486)
    at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:380)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
    at org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:427)
    at org.apache.catalina.core.ApplicationDispatcher.doInvoke(ApplicationDispatcher.java:873)
    at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:723)
    at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:560)
    at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:490)
    at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:382)
    at org.apache.catalina.core.StandardHostValve.custom(StandardHostValve.java:549)
    at org.apache.catalina.core.StandardHostValve.status(StandardHostValve.java:438)
    at org.apache.catalina.core.StandardHostValve.postInvoke(StandardHostValve.java:249)
    at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:649)
    at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:593)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:587)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1093)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:166)
    at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:648)
    at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:593)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:587)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1093)
    at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:291)
    at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.invokeAdapter(DefaultProcessorTask.java:666)
    at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.doProcess(DefaultProcessorTask.java:597)
    at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.process(DefaultProcessorTask.java:872)
    at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.executeProcessorTask(DefaultReadTask.java:341)
    at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:263)
    at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:214)
    at com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:264)
    at com.sun.enterprise.web.connector.grizzly.ssl.SSLWorkerThread.run(SSLWorkerThread.java:106)

此错误不会阻止系统正常工作。它只是在日志上打印到日志文件。此外,我确信这不是一个应用程序(Web应用程序 - wicket端)错误。

我们的Web应用程序使用SSO(单点登录),此关系是否会导致此异常。我不知道。

有什么建议吗?

感谢。

0 个答案:

没有答案