You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Jason Bainbridge <ja...@jblinux.org> on 2003/06/11 16:54:03 UTC

Re: win2000 issue with tomcat4.1.24 FAQ

Hi,

Try adding JAVA_HOME/bin to your PATH, this has cropped up as a problem for 
some installs of 4.1.24...

Regards,
-- 
Jason Bainbridge
http://jblinux.org

On Wed, 11 Jun 2003 22:27, Srinivasu Gandu wrote:
> Hi all,
> I am using win2000 and trying to install and run the tomcat4.1.24, I am
> getting an parser exception as follows when I try to access the home page
> http://localhost:8080. I also tried not to install as service, in that case
> it
> is unable to see the JSP parser servlet. Could some one help on this..
>
> 2003-06-10 23:01:47 StandardWrapperValve[jsp]: Servlet.service() for
> servlet jsp threw 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] Since fork is true, ignoring compiler setting.
>     [javac] Compiling 1 source file
>     [javac] Since fork is true, ignoring compiler setting.
>     [javac] C:\Program Files\Apache Group\Tomcat
> 4.1\work\Standalone\localhost\_\index_jsp.java:266:
> handlePageException(java.lang.Exception) in javax.servlet.jsp.PageContext
> cannot be applied to (java.lang.Throwable)
>     [javac]       if (pageContext != null)
> pageContext.handlePageException(t);
>     [javac]                                           ^
>     [javac] 1 error
>
>
>
>  at
> org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandl
>e r.java:130)
>  at
> org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:
>2 93)
>  at org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:353)
>  at org.apache.jasper.compiler.Compiler.compile(Compiler.java:370)
>  at
> org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:
>4 73)
>  at
> org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:
>1 90)
>  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(Applicatio
>n FilterChain.java:247)
>  at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterC
>h ain.java:193)
>  at
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.j
>a va:256)
>  at
> org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invo
>k 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.j
>a va:191)
>  at
> org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invo
>k 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.StandardContext.invoke(StandardContext.java:2415)
>  at
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:18
>0 )
>  at
> org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invo
>k eNext(StandardPipeline.java:643)
>  at
> org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve
>. java:171)
>  at
> org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invo
>k eNext(StandardPipeline.java:641)
>  at
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:17
>2 )
>  at
> org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invo
>k 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.jav
>a
>
> :174)
>
>  at
> org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invo
>k 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:594)
>  at
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConn
>e ction(Http11Protocol.java:392)
>  at
> org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:565)
>  at
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.ja
>v a:619)
>  at java.lang.Thread.run(Thread.java:536)
>
> ===========================================================================
>= =
>
> I also tried with editing the regedit suggested by John.
> "
> The JVM specified in the registry doesn't seem to work for compiling JSPs.
> You can edit the registry and change the value of
> HKEY_LOCAL_MACHINE/SYSTEM/CurrentControlSet/Services/Apache Tomcat
> 4.1/Parameters/JVM Library and make it point to the jvm.dll in
> javainstallation\jre\bin\server\jvm.dll and that should take care of it.
> "
>
> This did not work either..I am getting the following error.
>
>
> HTTP Status 503 - Servlet jsp is currently unavailable
>
> ---------------------------------------------------------------------------
>- ----
> type Status report
>
> message Servlet jsp is currently unavailable
>
> description The requested service (Servlet jsp is currently unavailable) is
> not currently available.
>
>
> ---------------------------------------------------------------------------
>- ----
>
>
>
> -----Original Message-----
> From: Shapira, Yoav [mailto:Yoav.Shapira@mpi.com]
> Sent: Tuesday, June 10, 2003 12:41 PM
> To: Tomcat Users List
> Subject: RE: win2000 issue with tomcat4.1.24
>
>
>
> Howdy,
> Can you please restate the original exception?  If you have logs showing
> the stack trace, post those as well...
>
> Yoav Shapira
> Millennium ChemInformatics
>
> >-----Original Message-----
>
> From: Srinivasu Gandu [mailto:SGandu@SoftwareSpecialists.com]
>
> >Sent: Tuesday, June 10, 2003 12:29 PM
> >To: 'Tomcat Users List'
> >Subject: RE: win2000 issue with tomcat4.1.24
> >
> >I did not do anything new just installed both of them.
> >
> >1) Installed j2sdk-1_4_1_01-windows-i586.exe (I can not get J2EE JDK)
> >right??
> >
> >2) Installed jakarta-tomcat-4.1.24.exe
> >
> >When I try to access the home page I am getting this exception..Please
>
> some
>
> >one put us in right direction..
> >
> >-----Original Message-----
>
> From: Jason Bainbridge [mailto:jason@jblinux.org]
>
> >Sent: Tuesday, June 10, 2003 10:26 AM
> >To: Tomcat Users List
> >Subject: Re: win2000 issue with tomcat4.1.24
> >
> >On Tue, 10 Jun 2003 22:08, Srinivasu Gandu wrote:
> >> Thanks J, I use to have 4.1.18 I cleaned up and physically removed
>
> all
>
> >the
> >
> >> directories.. and installed this one newly... If that is the case
>
> what
>
> >> needs to be done? appreciate it
> >
> >4.1.18 shouldn't conflict at all, you haven't got a version of the J2EE
>
> JDK
>
> >installed somewhere as opposed to the J2SE JDK?
> >
> >--
> >Jason Bainbridge
> >http://jblinux.org
> >
> >---------------------------------------------------------------------
> >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
>
> This e-mail, including any attachments, is a confidential business
> communication, and may contain information that is confidential,
> proprietary and/or privileged.  This e-mail is intended only for the
> individual(s) to whom it is addressed, and may not be saved, copied,
> printed, disclosed or used by anyone else.  If you are not the(an) intended
> recipient, please immediately delete this e-mail from your computer system
> and notify the sender.  Thank you.
>
>
> ---------------------------------------------------------------------
> 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


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