You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Denise Mangano <De...@complusdata.com> on 2003/03/04 19:42:11 UTC

Tomcat on WinXP

Hi everyone.  Yesterday I posted to get help with setting up mod_jk on my
WinXP machine.  As it turns out I was wrong and the httpd that came with the
phpdev package won't except dynamically loaded modules. So my solution is to
reinstall everything without using the phpdev package.

I am following John Turner's how to, and the Apache install went smoothly.
I ran the executable for Tomcat install, and installation was successful.
However when I go to http://localhost:8080 I get the error below.  To me it
seems like a possibly a classpath error for the compiler??  The install
directory for tomcat is G:\tomcat (I have a separate partition set up to
keep my web server separate from everything else on the PC).  My PATH (both
user and system) includes C:\jdk1.4.1\bin and G:\tomcat\bin.  I can't
imagine why this set up should cause problems, especially since my PATH is
set, and upon Tomcat install the installer found my jdk1.4.1 installation.

exception:
org.apache.jasper.JasperException: Unable to compile class for JSP

An error occurred at line: -1 in the jsp file: null

Generated servlet error:
    [javac] Compiling 1 source file



	at
org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandle
r.java:130)
	at
org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:2
93)
	at
org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:340)
	at org.apache.jasper.compiler.Compiler.compile(Compiler.java:352)
	at
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:4
74)
	at
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:1
84)
	at
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
	at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
	at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:247)
	at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:193)
	at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
va:260)
	at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:643)
	at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
	at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
	at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja
va:191)
	at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:643)
	at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase
.java:493)
	at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:641)
	at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
	at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
	at
org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2415)
	at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180
)
	at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:643)
	at
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.
java:170)
	at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:641)
	at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172
)
	at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:641)
	at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
	at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
	at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java
:174)
	at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:643)
	at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
	at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
	at
org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223)
	at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:432)
	at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConne
ction(Http11Protocol.java:386)
	at
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:534)
	at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.jav
a:530)
	at java.lang.Thread.run(Thread.java:536)

Thanks in advance for any pointers :)
Denise

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


Re: Tomcat on WinXP

Posted by Martin Smith <mf...@erols.com>.
That happened to me (on WinXP Home) and after messing around with it for 
several hours, I re-downloaded and re-installed and it worked.  I think 
there was some unpacking error someplace, and I think someone else 
reported a similar experience.

Good luck. You are NOT crazy. <g>

martin

Denise Mangano wrote:

>Hi everyone.  Yesterday I posted to get help with setting up mod_jk on my
>WinXP machine.  As it turns out I was wrong and the httpd that came with the
>phpdev package won't except dynamically loaded modules. So my solution is to
>reinstall everything without using the phpdev package.
>
>I am following John Turner's how to, and the Apache install went smoothly.
>I ran the executable for Tomcat install, and installation was successful.
>However when I go to http://localhost:8080 I get the error below.  To me it
>seems like a possibly a classpath error for the compiler??  The install
>directory for tomcat is G:\tomcat (I have a separate partition set up to
>keep my web server separate from everything else on the PC).  My PATH (both
>user and system) includes C:\jdk1.4.1\bin and G:\tomcat\bin.  I can't
>imagine why this set up should cause problems, especially since my PATH is
>set, and upon Tomcat install the installer found my jdk1.4.1 installation.
>
>exception:
>org.apache.jasper.JasperException: Unable to compile class for JSP
>
>An error occurred at line: -1 in the jsp file: null
>
>Generated servlet error:
>    [javac] Compiling 1 source file
>
>
>
>	at
>org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandle
>r.java:130)
>	at
>org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:2
>93)
>	at
>org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:340)
>	at org.apache.jasper.compiler.Compiler.compile(Compiler.java:352)
>	at
>org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:4
>74)
>	at
>org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:1
>84)
>	at
>org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
>	at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
>	at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
>	at
>org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
>FilterChain.java:247)
>	at
>org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
>ain.java:193)
>	at
>org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
>va:260)
>	at
>org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
>eNext(StandardPipeline.java:643)
>	at
>org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
>	at
>org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
>	at
>org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja
>va:191)
>	at
>org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
>eNext(StandardPipeline.java:643)
>	at
>org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase
>.java:493)
>	at
>org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
>eNext(StandardPipeline.java:641)
>	at
>org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
>	at
>org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
>	at
>org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2415)
>	at
>org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180
>)
>	at
>org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
>eNext(StandardPipeline.java:643)
>	at
>org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.
>java:170)
>	at
>org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
>eNext(StandardPipeline.java:641)
>	at
>org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172
>)
>	at
>org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
>eNext(StandardPipeline.java:641)
>	at
>org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
>	at
>org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
>	at
>org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java
>:174)
>	at
>org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
>eNext(StandardPipeline.java:643)
>	at
>org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
>	at
>org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
>	at
>org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223)
>	at
>org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:432)
>	at
>org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConne
>ction(Http11Protocol.java:386)
>	at
>org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:534)
>	at
>org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.jav
>a:530)
>	at java.lang.Thread.run(Thread.java:536)
>
>Thanks in advance for any pointers :)
>Denise
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>
>
>  
>





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