tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ricardo Bánffy <rica...@organic.com.br>
Subject RE: Java Compiler Failing Without Reporting Error
Date Fri, 09 Jun 2000 13:35:09 GMT
You may try to compile manualy the .java file Tomcat generates in the work
directory. This may give you more information.

If the .java file exists, then it's the java compiler.

If it doesn't, it could be Jasper's failure.

Are you sure the user Tomcat is running as has write permissions to the work
directory?

-----Original Message-----
From: Gladwell, Ricardo [mailto:ricardo.gladwell@demon.net]
Sent: Friday, June 09, 2000 6:09 AM
To: Tomcat Users (E-mail)
Subject: Java Compiler Failing Without Reporting Error


Dear All,

Tomcat is functioning perfectly well with respect to Servlets, however, when
it come to compile a JSP page the javac compiler dies: without reporting an
error! The following generic stack trace is returned but it contains no
details as to why the compiler failed. If anyone at all has had this problem
and knows the fix could you email me ASAP. Please, I am desperate.

org.apache.jasper.JasperException: Unable to compile class for JSP
	at java.lang.Throwable.fillInStackTrace(Native Method)
	at java.lang.Throwable.fillInStackTrace(Compiled Code)
	at java.lang.Throwable.(Compiled Code)
	at java.lang.Exception.(Compiled Code)
	at javax.servlet.ServletException.(Compiled Code)
	at org.apache.jasper.JasperException.(Compiled Code)
	at org.apache.jasper.compiler.Compiler.compile(Compiled Code)
	at org.apache.jasper.runtime.JspServlet.loadJSP(Compiled Code)
	at
org.apache.jasper.runtime.JspServlet$JspServletWrapper.loadIfNecessary(Compi
led Code)
	at
org.apache.jasper.runtime.JspServlet$JspServletWrapper.service(Compiled
Code)
	at org.apache.jasper.runtime.JspServlet.serviceJspFile(Compiled
Code)
	at org.apache.jasper.runtime.JspServlet.service(Compiled Code)
	at javax.servlet.http.HttpServlet.service(Compiled Code)
	at org.apache.tomcat.core.ServletWrapper.handleRequest(Compiled
Code)
	at org.apache.tomcat.core.ContextManager.service(Compiled Code)
	at
org.apache.tomcat.service.connector.Ajp12ConnectionHandler.processConnection
(Compiled Code)
	at org.apache.tomcat.service.TcpConnectionThread.run(Compiled Code)
	at java.lang.Thread.run(Compiled Code)


--
Ricardo Gladwell, Web Developer
Demon Internet, Westhumble House,
Dorking Business Park, Dorking. RH4 1HJ
Tel: +44 (01306) 732 356
Mobile: +44 (07779) 841 444

--------------------------------------------------------------------------
To unsubscribe, email: tomcat-user-unsubscribe@jakarta.apache.org
For additional commmands, email: tomcat-user-help@jakarta.apache.org


Mime
View raw message