Ich versuche, myhello-world.war auf plesk tomcat5 zu installieren, ich mache "install java webapp", aber wenn ich gehehttp://domain.com/mytomcat-helloworld/pages/myhelloworld.jsIch bekomme:
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)
wenn ich benutzehttp://domain.com:9080/mytomcat-helloworld/pages/myhelloworld_jstl.jsp alles funktioniert wie erwartet, irgendwelche Ideen, wie man das beheben kann?
Plesk-Version 10.4.4 Tomcat-Version tomcat5-5.5.23-0jpp.22.el5_7
die War-Datei, die ich bereitstellen wollte, stammt von:http://www.michael-thomas.com/tech/apache/tomcat/tutorial_firststeps_tomcat/mytomcat-helloworld-war.zip
Antwort1
habe es selbst behoben, es stellte sich heraus, dass ColdFusion die JSP-Dateien verarbeitet hat, die ich in conf/vhost.conf platziert habe:
RemoveHandler .jsp
JRunConfig Ignoresuffixmap true