tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Omar Adobati" <o.adob...@tin.it>
Subject Re: Tomcat Compiling Error
Date Sun, 03 Oct 2004 15:07:09 GMT
There nothing more in the log file.
Maybe should help that I'm using a form-based authentication?



----- Original Message ----- 
From: "Dale, Matt" <Matt.Dale@beCogent.com>
To: "Tomcat Users List" <tomcat-user@jakarta.apache.org>
Sent: Sunday, October 03, 2004 4:56 PM
Subject: RE: Tomcat Compiling Error



I'm not really sure then i've always been able to solve it with one of the 
suggestions below. Are there any other tips in the log files?

-----Original Message-----
From: Omar Adobati [mailto:o.adobati@tin.it]
Sent: 03 October 2004 15:51
To: Tomcat Users List
Subject: Re: Tomcat Compiling Error


I have tried what u say but the problem is here again...
I'm also sure to have th JDK in my classpath and that other webapps
application are using that.

other suggestions?


----- Original Message ----- 
From: "Dale, Matt" <Matt.Dale@beCogent.com>
To: "Tomcat Users List" <tomcat-user@jakarta.apache.org>
Sent: Sunday, October 03, 2004 4:29 PM
Subject: RE: Tomcat Compiling Error



This will happen if you are using only a JRE and not a JDK. I've also
occasionaly seen it when using a JDK and also with tools.jar on the
classpath which is a strange one. As it says if you copy tools.jar from the
JDK to the common/lib directory of your tomcat install it will definitely
solve the problem.

Ta
Matt

-----Original Message-----
From: Omar Adobati [mailto:o.adobati@tin.it]
Sent: 03 October 2004 11:34
To: tomcat-user@jakarta.apache.org
Subject: Tomcat Compiling Error


Does anybody help my solving this problem?
I really dont'know why just this application gives me this kind of error.

The problem seems to be that the jsp pages aren't compiled but why?

Tanks in advice,

  Omar


==================
2-ott-2004 18.41.32 org.apache.jasper.compiler.Compiler generateClass
GRAVE: Error compiling file: [trimmed by me for security
reasons]_//org/apache/jsp/login_jsp.java
[javac] Compiling 1 source file


2-ott-2004 18.41.32 org.apache.catalina.authenticator.FormAuthenticator
authenticate
AVVERTENZA: Unexpected error forwarding to login page
org.apache.jasper.JasperException: Unable to compile class for JSP

No Java compiler was found to compile the generated source for the JSP.
This can usually be solved by copying manually $JAVA_HOME/lib/tools.jar from
the JDK
to the common/lib directory of the Tomcat server, followed by a Tomcat
restart.
If using an alternate Java compiler, please check its installation and
access path.

        at
org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:127)
        at
org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:351)
        at
org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:415)
        at org.apache.jasper.compiler.Compiler.compile(Compiler.java:458)
        at org.apache.jasper.compiler.Compiler.compile(Compiler.java:439)
        at
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:552)
        at
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:291)
        at
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:301)
        at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:248)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
        at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:284)
        at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:204)
        at
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:742)
        at
org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:506)
        at
org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:443)
        at
org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:359)
        at
org.apache.catalina.authenticator.FormAuthenticator.authenticate(FormAuthenticator.java:259)
        at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:551)
        at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:149)
        at
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:578)
        at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:149)
        at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:564)
        at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:195)
        at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151)
        at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:164)
        at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:149)
        at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:564)
        at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:156)
        at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151)
        at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:564)
        at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:972)
        at
org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:206)
        at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:828)
        at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:700)
        at
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:584)
        at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
        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


---------------------------------------------------------------------
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


Mime
View raw message