plesk+ tomcat + mod_jk + jsp 給出 404

plesk+ tomcat + mod_jk + jsp 給出 404

我嘗試將 myhello-world.war 安裝到 plesk tomcat5,我正在執行“安裝 java webapp”,但是當我去時http://domain.com/mytomcat-helloworld/pages/myhelloworld.js我得到:

404

/mytomcat-helloworld/pages/myhelloworld_jstl.jsp

java.io.FileNotFoundException: /mytomcat-helloworld/pages/myhelloworld_jstl.jsp
    at jrun.jsp.JSPEngine.getPageState(JSPEngine.java:330)
    at jrun.jsp.Translator.translate(Translator.java:67)
    at jrun.jsp.JSPEngine.translateJSP(JSPEngine.java:708)
    at jrun.jsp.JSPServlet.translate(JSPServlet.java:125)
    at jrun.jsp.JSPServlet.service(JSPServlet.java:113)
    at jrun.servlet.ServletInvoker.invoke(ServletInvoker.java:106)
    at jrun.servlet.JRunInvokerChain.invokeNext(JRunInvokerChain.java:42)
    at jrun.servlet.JRunRequestDispatcher.invokeNext(JRunRequestDispatcher.java:586)
    at jrun.servlet.JRunRequestDispatcher.forwardInvoke(JRunRequestDispatcher.java:555)
    at jrun.servlet.JRunNamedDispatcher.forward(JRunNamedDispatcher.java:64)
    at coldfusion.license.JspLicenseServlet.service(Unknown Source)
    at coldfusion.bootstrap.BootstrapServlet.service(BootstrapServlet.java:89)
    at jrun.servlet.ServletInvoker.invoke(ServletInvoker.java:106)
    at jrun.servlet.JRunInvokerChain.invokeNext(JRunInvokerChain.java:42)
    at jrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher.java:286)
    at jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:543)
    at jrun.servlet.jrpp.JRunProxyService.invokeRunnable(JRunProxyService.java:203)
    at jrunx.scheduler.ThreadPool$DownstreamMetrics.invokeRunnable(ThreadPool.java:320)
    at jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:428)
    at jrunx.scheduler.ThreadPool$UpstreamMetrics.invokeRunnable(ThreadPool.java:266)
    at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66)

如果我使用http://domain.com:9080/mytomcat-helloworld/pages/myhelloworld_jstl.jsp 一切都如預期進行,有什麼想法如何解決這個問題嗎?

plesk 版本 10.4.4 tomcat 版本 tomcat5-5.5.23-0jpp.22.el5_7

我嘗試部署的戰爭文件來自:http://www.michael-thomas.com/tech/apache/tomcat/tutorial_firststeps_tomcat/mytomcat-helloworld-war.zip

答案1

我自己已經修復了,原來是coldfusion處理了jsp文件,我放置到conf/vhost.conf:

RemoveHandler .jsp
JRunConfig Ignoresuffixmap true

相關內容