tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dominic Parry" <...@rucus.ru.ac.za>
Subject Re: JSPs not compiling
Date Tue, 17 Jun 2003 18:23:48 GMT
Hi Kevin

Did you by any chance add the Tomcat Jars to the %JAVA_HOME%\jre\lib\ext folder? If you did,
you should remove them, and add the ones you need to your CLASSHPATH. Java puts some security
restrictions on jars in the ext folder, for good reason.

Cheers

Dom

----- Original Message ----- 
  From: Thomas, Kevin 
  To: 'Tomcat Users List' 
  Sent: Tuesday, June 17, 2003 6:56 PM
  Subject: JSPs not compiling


  Sorry guys, me again.

  I've done the searching on google and the Tomcat archives but nothing...

  I've got Tomcat quite happily serving up me servlets but when I try to run
  .jsp's I'm getting
  the following:

  org.apache.jasper.JasperException: Unable to compile class for JSP
  at org.apache.jasper.JspEngineContext.compile(Unknown Source)
  at org.apache.jasper.servlet.JspServletWrapper.service(Unknown
  Source)
  at org.apache.jasper.servlet.JspServlet.serviceJspFile(Unknown
  Source)
  at org.apache.jasper.servlet.JspServlet.service(Unknown Source)
  at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
  at
  org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Unknown
  Source)
  at org.apache.catalina.core.ApplicationFilterChain.doFilter(Unknown
  Source)
  at org.apache.catalina.core.StandardWrapperValve.invoke(Unknown
  Source)
  at
  org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
  eNext(Unknown Source)
  at org.apache.catalina.core.StandardPipeline.invoke(Unknown Source)
  at org.apache.catalina.core.ContainerBase.invoke(Unknown Source)
  at org.apache.catalina.core.StandardContextValve.invoke(Unknown
  Source)
  at
  org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
  eNext(Unknown Source)
  at
  org.apache.catalina.authenticator.AuthenticatorBase.invoke(Unknown Source)
  at
  org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
  eNext(Unknown Source)
  at org.apache.catalina.core.StandardPipeline.invoke(Unknown Source)
  at org.apache.catalina.core.ContainerBase.invoke(Unknown Source)
  at org.apache.catalina.core.StandardContext.invoke(Unknown Source)
  at org.apache.catalina.core.StandardHostValve.invoke(Unknown Source)
  at
  org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
  eNext(Unknown Source)
  at org.apache.catalina.valves.ErrorDispatcherValve.invoke(Unknown
  Source)
  at
  org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
  eNext(Unknown Source)
  at org.apache.catalina.valves.ErrorReportValve.invoke(Unknown
  Source)
  at
  org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
  eNext(Unknown Source)
  at org.apache.catalina.core.StandardPipeline.invoke(Unknown Source)
  at org.apache.catalina.core.ContainerBase.invoke(Unknown Source)
  at org.apache.catalina.core.StandardEngineValve.invoke(Unknown
  Source)
  at
  org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
  eNext(Unknown Source)
  at org.apache.catalina.core.StandardPipeline.invoke(Unknown Source)
  at org.apache.catalina.core.ContainerBase.invoke(Unknown Source)
  at
  org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223)
  at
  org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:405)
  at
  org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConne
  ction(Http11Protocol.java:376)
  at
  org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:508)
  at
  org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.jav
  a:518)
  at java.lang.Thread.run(Thread.java:484)


  root cause 

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

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

  Generated servlet error:


  at org.apache.jasper.compiler.DefaultErrorHandler.javacError(Unknown
  Source)
  at org.apache.jasper.compiler.ErrorDispatcher.javacError(Unknown
  Source)
  at org.apache.jasper.compiler.Compiler.compile(Unknown Source)
  at org.apache.jasper.JspEngineContext.compile(Unknown Source)
  at org.apache.jasper.servlet.JspServletWrapper.service(Unknown
  Source)
  at org.apache.jasper.servlet.JspServlet.serviceJspFile(Unknown
  Source)
  at org.apache.jasper.servlet.JspServlet.service(Unknown Source)
  at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
  at
  org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Unknown
  Source)
  at org.apache.catalina.core.ApplicationFilterChain.doFilter(Unknown
  Source)
  at org.apache.catalina.core.StandardWrapperValve.invoke(Unknown
  Source)
  at
  org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
  eNext(Unknown Source)
  at org.apache.catalina.core.StandardPipeline.invoke(Unknown Source)
  at org.apache.catalina.core.ContainerBase.invoke(Unknown Source)
  at org.apache.catalina.core.StandardContextValve.invoke(Unknown
  Source)
  at
  org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
  eNext(Unknown Source)
  at
  org.apache.catalina.authenticator.AuthenticatorBase.invoke(Unknown Source)
  at
  org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
  eNext(Unknown Source)
  at org.apache.catalina.core.StandardPipeline.invoke(Unknown Source)
  at org.apache.catalina.core.ContainerBase.invoke(Unknown Source)
  at org.apache.catalina.core.StandardContext.invoke(Unknown Source)
  at org.apache.catalina.core.StandardHostValve.invoke(Unknown Source)
  at
  org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
  eNext(Unknown Source)
  at org.apache.catalina.valves.ErrorDispatcherValve.invoke(Unknown
  Source)
  at
  org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
  eNext(Unknown Source)
  at org.apache.catalina.valves.ErrorReportValve.invoke(Unknown
  Source)
  at
  org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
  eNext(Unknown Source)
  at org.apache.catalina.core.StandardPipeline.invoke(Unknown Source)
  at org.apache.catalina.core.ContainerBase.invoke(Unknown Source)
  at org.apache.catalina.core.StandardEngineValve.invoke(Unknown
  Source)
  at
  org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
  eNext(Unknown Source)
  at org.apache.catalina.core.StandardPipeline.invoke(Unknown Source)
  at org.apache.catalina.core.ContainerBase.invoke(Unknown Source)
  at
  org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223)
  at
  org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:405)
  at
  org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConne
  ction(Http11Protocol.java:376)
  at
  org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:508)
  at
  org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.jav
  a:518)
  at java.lang.Thread.run(Thread.java:484)

  I know this is going to be something really simple about paths or something,
  can anyone shed any light?

  Cheers,
  Kev.

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


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message