Comment je peut résoudre mon problème(JSP-Tomcat)?
veasnamuch
Posté le 19-06-2002 à 03:33:27
J'avait téléchargé le fichier zip nommé "jakarta-tomcat-3.3.zip" du site jakarta-tomcat nommé "http://jakarta.apache.org/builds/jakarta-tomcat/release/v3.3.old/bin/jakarta-tomcat-3.3.zip"
et j'ai extrait ce fichier en mettant dans la partition primaire "C".
org.apache.jasper.compiler.ParseException: Cannot read file: \Test.jsp
at org.apache.jasper.compiler.JspReader.pushFile(Unknown Source)
at org.apache.jasper.compiler.JspReader.pushFile(Unknown Source)
at org.apache.jasper.compiler.JspReader.(Unknown Source)
at org.apache.jasper.compiler.JspReader.createJspReader(Unknown Source)
at org.apache.jasper.compiler.Compiler.compile(Unknown Source)
at org.apache.tomcat.facade.JasperLiaison.jsp2java(Unknown Source)
at org.apache.tomcat.facade.JasperLiaison.processJspFile(Unknown Source)
at org.apache.tomcat.facade.JspInterceptor.requestMap(Unknown Source)
at org.apache.tomcat.core.ContextManager.processRequest(Unknown Source)
at org.apache.tomcat.core.ContextManager.internalService(Unknown Source)
at org.apache.tomcat.core.ContextManager.service(Unknown Source)
at org.apache.tomcat.modules.server.Http10Interceptor.processConnection(Unknown Source)
at org.apache.tomcat.util.net.TcpWorkerThread.runIt(Unknown Source)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(Unknown Source)
at java.lang.Thread.run(Thread.java:484)
Et le contenu du serveur "Tomcat"
2002-06-19 06:55:11 - ServerXmlReader: Config=$TOMCAT_HOME\conf\server.xml
2002-06-19 06:55:11 - PathSetter: home=C:\jakarta-tomcat-3.3
2002-06-19 06:55:11 - ContextXmlReader: Context config=$TOMCAT_HOME\conf\apps-127.0.0.1.xml
2002-06-19 06:55:11 - ContextXmlReader: Context config=$TOMCAT_HOME\conf\apps-admin.xml
2002-06-19 06:55:11 - ContextXmlReader: Context config=$TOMCAT_HOME\conf\apps-examples.xml
2002-06-19 06:55:11 - AutoWebApp: Loaded from config: DEFAULTadmin
2002-06-19 06:55:11 - AutoWebApp: Auto-Adding DEFAULT
2002-06-19 06:55:11 - AutoWebApp: Loaded from config: DEFAULTexamples
2002-06-19 06:55:11 - ContextManager: Tomcat configured and in stable state
2002-06-19 06:55:11 - ContextManager: Adding DEFAULTadmin
2002-06-19 06:55:12 - ContextManager: Adding DEFAULTexamples
2002-06-19 06:55:12 - ContextManager: Adding DEFAULTROOT
EmbededTomcat: Init time 8131
2002-06-19 06:55:15 - Http10Interceptor: Starting on 8080
2002-06-19 06:55:15 - Ajp12Interceptor: Starting on 8007
2002-06-19 06:55:15 - Ajp13Interceptor: Starting on 8009
EmbededTomcat: Startup time 2003
2002-06-19 06:55:28 - Ctx() : Compiling: /Test.jsp to Test_0
2002-06-19 06:55:29 - Ctx() : compile error: req=R( + /Test.jsp + null) - org.apache.jasper.compiler.ParseException: Cannot read file: \Test.jsp
at org.apache.jasper.compiler.JspReader.pushFile(Unknown Source)
at org.apache.jasper.compiler.JspReader.pushFile(Unknown Source)
at org.apache.jasper.compiler.JspReader.<init>(Unknown Source)
at org.apache.jasper.compiler.JspReader.createJspReader(Unknown Source)
at org.apache.jasper.compiler.Compiler.compile(Unknown Source)
at org.apache.tomcat.facade.JasperLiaison.jsp2java(Unknown Source)
at org.apache.tomcat.facade.JasperLiaison.processJspFile(Unknown Source)
at org.apache.tomcat.facade.JspInterceptor.requestMap(Unknown Source)
at org.apache.tomcat.core.ContextManager.processRequest(Unknown Source)
at org.apache.tomcat.core.ContextManager.internalService(Unknown Source)
at org.apache.tomcat.core.ContextManager.service(Unknown Source)
at org.apache.tomcat.modules.server.Http10Interceptor.processConnection(Unknown Source)
at org.apache.tomcat.util.net.TcpWorkerThread.runIt(Unknown Source)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(Unknown Source)
at java.lang.Thread.run(Thread.java:484)
2002-06-19 06:55:29 - Ctx() : Exception in R( + /Test.jsp + null)
- org.apache.jasper.compiler.ParseException: Cannot read file: \Test.jsp
at org.apache.jasper.compiler.JspReader.pushFile(Unknown Source)
at org.apache.jasper.compiler.JspReader.pushFile(Unknown Source)
at org.apache.jasper.compiler.JspReader.<init>(Unknown Source)
at org.apache.jasper.compiler.JspReader.createJspReader(Unknown Source)
at org.apache.jasper.compiler.Compiler.compile(Unknown Source)
at org.apache.tomcat.facade.JasperLiaison.jsp2java(Unknown Source)
at org.apache.tomcat.facade.JasperLiaison.processJspFile(Unknown Source)
at org.apache.tomcat.facade.JspInterceptor.requestMap(Unknown Source)
at org.apache.tomcat.core.ContextManager.processRequest(Unknown Source)
at org.apache.tomcat.core.ContextManager.internalService(Unknown Source)
at org.apache.tomcat.core.ContextManager.service(Unknown Source)
at org.apache.tomcat.modules.server.Http10Interceptor.processConnection(Unknown Source)
at org.apache.tomcat.util.net.TcpWorkerThread.runIt(Unknown Source)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(Unknown Source)
at java.lang.Thread.run(Thread.java:484)
Même si je teste sur d'autre JSP example fournissant dans le répertoire "C:\jakarta-tomcat-3.3\webapps\examples\jsp", comme "http://127.0.0.1:8080/examples/jsp/num/numguess.jsp", il me produit les mêmes erreurs.
org.apache.jasper.compiler.ParseException: Cannot read file: \jsp\num\numguess.jsp
at org.apache.jasper.compiler.JspReader.pushFile(Unknown Source)
at org.apache.jasper.compiler.JspReader.pushFile(Unknown Source)
at org.apache.jasper.compiler.JspReader.(Unknown Source)
at org.apache.jasper.compiler.JspReader.createJspReader(Unknown Source)
at org.apache.jasper.compiler.Compiler.compile(Unknown Source)
at org.apache.tomcat.facade.JasperLiaison.jsp2java(Unknown Source)
at org.apache.tomcat.facade.JasperLiaison.processJspFile(Unknown Source)
at org.apache.tomcat.facade.JspInterceptor.requestMap(Unknown Source)
at org.apache.tomcat.core.ContextManager.processRequest(Unknown Source)
at org.apache.tomcat.core.ContextManager.internalService(Unknown Source)
at org.apache.tomcat.core.ContextManager.service(Unknown Source)
at org.apache.tomcat.modules.server.Http10Interceptor.processConnection(Unknown Source)
at org.apache.tomcat.util.net.TcpWorkerThread.runIt(Unknown Source)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(Unknown Source)
at java.lang.Thread.run(Thread.java:484)