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(DefaultErrorHandle 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(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:256) 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.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:171) 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:594) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConne 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.jav 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:[EMAIL PROTECTED] 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:[EMAIL PROTECTED] >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:[EMAIL PROTECTED] >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: [EMAIL PROTECTED] >For additional commands, e-mail: [EMAIL PROTECTED] > >--------------------------------------------------------------------- >To unsubscribe, e-mail: [EMAIL PROTECTED] >For additional commands, e-mail: [EMAIL PROTECTED] 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]