tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shweta Parakh -X (shparakh - Infosys at Cisco)" <shpar...@cisco.com>
Subject org.apache.jasper.JasperException in compiling class for JSP (tomcat4.x, apache2, mod_jk)
Date Thu, 12 Feb 2009 12:05:27 GMT
Hi All,
 
I am using Tomcat 4.1.30, Apache2.2.11 and mod_jk1.2.27.
Could someone please help me with below error ?
 
I have JAVA_HOME variable set correctly. I also tried adding below env
variables to tomcat.sh but of no use.
 
_RUNJAVA=$JAVA_HOME\bin\java
_RUNJAVAW=$JAVA_HOME\bin\javaw
_RUNJDB=$JAVA_HOME\bin\jdb
_RUNJAVAC=$JAVA_HOME\bin\javac
Here is the error, the application is displaying.
org.apache.jasper.JasperException: Unable to compile class for JSP

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

Generated servlet error:
Project base dir set to: ../tomcat
Detected Java version: 1.4 in: ../Java1.6.0_05/jre
Detected OS: SunOS
    [javac] WEB-INF/screens/createDevice1_jsp.java added as
WEB-INF/screens/createDevice1_jsp.class doesn't exist.
    [javac] Compiling 1 source file
    [javac] Using external javac compiler
    [javac] Compilation arguments:
    [javac] '-classpath'
    [javac]
'../Java1.6.0_05/lib/tools.jar:../tomcat/bin/bootstrap.jar:..tomcat/comm
on/lib/*.jar:..Java1.6.0_05/jre/lib/rt.jar'
    [javac] '-sourcepath'
    [javac] '../tomcat/work/Standalone/localhost/cns'
    [javac] '-encoding'
    [javac] 'UTF8'
    [javac] '-g'
    [javac] 
    [javac] The ' characters around the executable and arguments are
    [javac] not part of the command.
    [javac] File to be compiled:
    [javac]
../tomcat/work/Standalone/localhost/cns/WEB-INF/screens/createDevice1_js
p.java

	at
org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHa
ndler.java:130)
	at
org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.ja
va:293)
	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.ja
va:473)
	at
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.ja
va:190)
	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.ApplicationDispatcher.invoke(ApplicationDispatc
her.java:684)
	at
org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDisp
atcher.java:432)
	at
org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispat
cher.java:356)
	at
org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.jav
a:1069)
	at
org.apache.struts.action.RequestProcessor.processForwardConfig(RequestPr
ocessor.java:455)
	at
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:
279)
	at
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
	at
org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:507)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
	at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:247)
	at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:193)
	at com.cisco.cns.cfgsrv.UserFilter.doFilter(UserFilter.java:65)
	at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:213)
	at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:193)
	at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValv
e.java:256)
	at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i
nvokeNext(StandardPipeline.java:643)
	at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4
80)
	at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
	at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValv
e.java:191)
	at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i
nvokeNext(StandardPipeline.java:643)
	at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(Authenticator
Base.java:551)
	at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i
nvokeNext(StandardPipeline.java:641)
	at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4
80)
	at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
	at
org.apache.catalina.core.StandardContext.invoke(StandardContext.java:242
2)
	at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java
:180)
	at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i
nvokeNext(StandardPipeline.java:643)
	at
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherVa
lve.java:171)
	at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i
nvokeNext(StandardPipeline.java:641)
	at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java
:163)
	at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i
nvokeNext(StandardPipeline.java:641)
	at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4
80)
	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.i
nvokeNext(StandardPipeline.java:643)
	at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4
80)
	at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
	at
org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:199)
	at
org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:324)
	at
org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:395)
	at
org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:673)
	at
org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:
615)
	at
org.apache.jk.common.SocketConnection.runIt(ChannelSocket.java:786)
	at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool
.java:683)
	at java.lang.Thread.run(Thread.java:619)

Thanks,
Shweta

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