tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matt Anderson" <m...@swiftdsl.com.au>
Subject Linux Virtual Hosting - weird file not found exception
Date Mon, 19 Jul 2004 14:10:53 GMT
Hi everyone,

I have this problem on my Linux server with tomcat. I recently put in some
virtual hosts and these have worked on a windows 2000 server machine but
doesn't seem to work with linux (Debian).

For some reason it goes to compile the jsp files in a wierd directory
/usr/apps/jakarta-tomcat-5.0.25/work\Catalina\www.extremescrapping.com\_/org
/apache/jsp/index_jsp.class
I believe it should be
/usr/apps/jakarta-tomcat-5.0.25/work/Catalina/www.extremescrapping.com/_/org
/apache/jsp/index_jsp.class

Does anyone know how to make it so it compiles using the correct linux file
path separator and not the windows one. Keep in mind I installed this from
the tar file found Jakarta's website and didn't just copy the files from
windows across. I also manually entered in the virtual hosting ensuring that
the file path separator was a '/'. However I have now run out of ideas. Can
anyone help me please? Below is an example of a failed compile when
index.jsp was requested.

Kindest Regards,
Matt Anderson

java.io.FileNotFoundException: no such file:
/usr/apps/jakarta-tomcat-5.0.25/work\Catalina\www.extremescrapping.com\_/org
/apache/jsp/index_jsp.class
        at
org.apache.jasper.compiler.SmapUtil$SDEInstaller.<init>(SmapUtil.java:248)
        at
org.apache.jasper.compiler.SmapUtil$SDEInstaller.install(SmapUtil.java:236)
        at
org.apache.jasper.compiler.SmapUtil.installSmap(SmapUtil.java:163)
        at
org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:420)
        at org.apache.jasper.compiler.Compiler.compile(Compiler.java:463)
        at org.apache.jasper.compiler.Compiler.compile(Compiler.java:442)
        at org.apache.jasper.compiler.Compiler.compile(Compiler.java:430)
        at
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:5
11)
        at
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:2
74)
        at
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
        at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
        at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:237)
        at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:157)
        at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
va:214)
        at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContex
t.java:104)
        at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
        at
org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContext
Valve.java:198)
        at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja
va:152)
        at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContex
t.java:104)
        at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
        at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137
)
        at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContex
t.java:104)
        at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117
)
        at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContex
t.java:102)
        at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
        at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java
:109)
        at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContex
t.java:104)
        at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
        at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
        at
org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
        at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:793)
        at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConne
ction(Http11Protocol.java:702)
        at
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:571)
        at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.jav
a:644)
        at java.lang.Thread.run(Thread.java:534)


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message