[opencms-dev] compiling error
Salvador Santander Gutierrez
salvador.santander.ext at juntadeandalucia.es
Mon Jan 19 14:45:01 CET 2004
Set in /etc/tomcat4/tomcat4.conf the JAVA_HOME variable to your SDK path.
----- Original Message -----
From: "fahez nabeerasool" <nfahez at meditrans.fr>
To: <opencms-dev at opencms.org>
Sent: Monday, January 19, 2004 2:31 PM
Subject: [opencms-dev] compiling error
> could anyone help me ;
> here is the log file generated by tomcat4
>
>
>
>
>
> > 2004-01-19 12:10:11 Error compiling file:
> >
/var/lib/tomcat4/work/Standalone/localhost/opencms/ocsetup/index_jsp.java
> > [jav
> > ac] Compiling 1 source file
> >
> >
> > 2004-01-19 12:10:11 Info: Compile:
> >
javaFileName=/var/lib/tomcat4/work/Standalone/localhost/opencms/ocsetup/inde
x_jsp.java
> >
> >
classpath=/var/lib/tomcat4/webapps/opencms/WEB-INF/classes/:/var/lib/tomcat4
/webapps/opencms/WEB-INF/lib/Tidy.jar:/var/l
> >
ib/tomcat4/webapps/opencms/WEB-INF/lib/activation.jar:/var/lib/tomcat4/webap
ps/opencms/WEB-INF/lib/fesi.jar:/var/lib/tomcat4
> >
/webapps/opencms/WEB-INF/lib/jakarta-oro-2_0_6.jar:/var/lib/tomcat4/webapps/
opencms/WEB-INF/lib/jug.jar:/var/lib/tomcat4/web
> >
apps/opencms/WEB-INF/lib/mail.jar:/var/lib/tomcat4/webapps/opencms/WEB-INF/l
ib/mysql-connector-java-3.0.7-stable-bin.jar:/va
> >
r/lib/tomcat4/webapps/opencms/WEB-INF/lib/opencms.jar:/var/lib/tomcat4/webap
ps/opencms/WEB-INF/lib/xerces-1_4_4.jar:/var/lib
> >
/tomcat4/webapps/opencms/WEB-INF/classes/:/var/lib/tomcat4/webapps/opencms/W
EB-INF/lib/Tidy.jar:/var/lib/tomcat4/webapps/ope
> >
ncms/WEB-INF/lib/activation.jar:/var/lib/tomcat4/webapps/opencms/WEB-INF/lib
/fesi.jar:/var/lib/tomcat4/webapps/opencms/WEB-I
> >
NF/lib/jakarta-oro-2_0_6.jar:/var/lib/tomcat4/webapps/opencms/WEB-INF/lib/ju
g.jar:/var/lib/tomcat4/webapps/opencms/WEB-INF/l
> >
ib/mail.jar:/var/lib/tomcat4/webapps/opencms/WEB-INF/lib/mysql-connector-jav
a-3.0.7-stable-bin.jar:/var/lib/tomcat4/webapps/
> >
opencms/WEB-INF/lib/opencms.jar:/var/lib/tomcat4/webapps/opencms/WEB-INF/lib
/xerces-1_4_4.jar:/usr/share/tomcat4/common/clas
> >
ses/:/usr/share/tomcat4/common/lib/commons-collections.jar:/usr/share/tomcat
4/common/lib/commons-logging-api.jar:/usr/share/
> >
tomcat4/common/lib/servlet.jar:/usr/share/tomcat4/common/lib/xercesImpl.jar:
/usr/share/tomcat4/common/lib/xmlParserAPIs.jar:
> >
/usr/share/tomcat4/common/lib/commons-fileupload.jar:/usr/share/tomcat4/comm
on/lib/ant.jar:/usr/share/tomcat4/common/lib/nam
> >
ing-factory.jar:/usr/share/tomcat4/common/lib/naming-common.jar:/usr/share/t
omcat4/common/lib/jasper-runtime.jar:/usr/share/
> >
tomcat4/common/lib/jasper-compiler.jar:/usr/share/tomcat4/common/lib/naming-
resources.jar
> > cp=/var/lib/tomcat4/webapps/opencms/WEB-INF/classes
> > cp=/var/lib/tomcat4/webapps/opencms/WEB-INF/lib/Tidy.jar
> > cp=/var/lib/tomcat4/webapps/opencms/WEB-INF/lib/activation.jar
> > cp=/var/lib/tomcat4/webapps/opencms/WEB-INF/lib/fesi.jar
> >
cp=/var/lib/tomcat4/webapps/opencms/WEB-INF/lib/jakarta-oro-2_0_6.jar
> > cp=/var/lib/tomcat4/webapps/opencms/WEB-INF/lib/jug.jar
> > cp=/var/lib/tomcat4/webapps/opencms/WEB-INF/lib/mail.jar
> >
> >
cp=/var/lib/tomcat4/webapps/opencms/WEB-INF/lib/mysql-connector-java-3.0.7-s
table-bin.jar
>
> cp=/var/lib/tomcat4/webapps/opencms/WEB-INF/lib/opencms.jar
> cp=/var/lib/tomcat4/webapps/opencms/WEB-INF/lib/xerces-1_4_4.jar
> cp=/usr/share/tomcat4/common/classes
> cp=/usr/share/tomcat4/common/lib/commons-collections.jar
> cp=/usr/share/tomcat4/common/lib/commons-logging-api.jar
> cp=/usr/share/tomcat4/common/lib/servlet.jar
> cp=/usr/share/tomcat4/common/lib/xercesImpl.jar
> cp=/usr/share/tomcat4/common/lib/xmlParserAPIs.jar
> cp=/usr/share/tomcat4/common/lib/commons-fileupload.jar
> cp=/usr/share/tomcat4/common/lib/ant.jar
> cp=/usr/share/tomcat4/common/lib/naming-factory.jar
> cp=/usr/share/tomcat4/common/lib/naming-common.jar
> cp=/usr/share/tomcat4/common/lib/jasper-runtime.jar
> cp=/usr/share/tomcat4/common/lib/jasper-compiler.jar
> cp=/usr/share/tomcat4/common/lib/naming-resources.jar
> work dir=/var/lib/tomcat4/work/Standalone/localhost/opencms
> srcDir=/var/lib/tomcat4/work/Standalone/localhost/opencms
> include=ocsetup/index_jsp.java
> Exception compiling Unable to find a javac compiler;
> com.sun.tools.javac.Main is not on the classpath.
> Perhaps JAVA_HOME does not point to the JDK
>
> 2004-01-19 12:10:11 Exception:
> Unable to find a javac compiler;
> com.sun.tools.javac.Main is not on the classpath.
> Perhaps JAVA_HOME does not point to the JDK
> at
> org.apache.tools.ant.taskdefs.compilers.CompilerAdapterFactory.getCompiler
> (CompilerAdapterFactory.java:139)
> at org.apache.tools.ant.taskdefs.Javac.compile (Javac.java:835)
> at org.apache.tools.ant.taskdefs.Javac.execute (Javac.java:682)
> at org.apache.jasper.compiler.Compiler.generateClass
(Compiler.java:320)
> at org.apache.jasper.compiler.Compiler.compile (Compiler.java:370)
> at org.apache.jasper.JspCompilationContext.compile
> (JspCompilationContext.java:473)
> at org.apache.jasper.servlet.JspServletWrapper.service
> (JspServletWrapper.java: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.ApplicationFilterChain.internalDoFilter
> (ApplicationFilterChain.java:247)
> at org.apache.catalina.core.ApplicationFilterChain.doFilter
> (ApplicationFilterChain.java:193)
> at org.apache.catalina.core.StandardWrapperValve.invoke
> (StandardWrapperValve.java: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.java: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:2417)
> 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:193)
> at org.apache.coyote.http11.Http11Processor.process
> (Http11Processor.java:781)
> at
>
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConne
ction
> (Http11Protocol.java:549)
> at org.apache.tomcat.util.net.TcpWorkerThread.runIt
> (PoolTcpEndpoint.java:589)
> at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run
> (ThreadPool.java:666)
> at java.lang.Thread.run (Thread.java:321)
>
> 2004-01-19 12:10:11 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
>
> at javax.servlet.http.HttpServlet.service (HttpServlet.java:853)
> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter
> (ApplicationFilterChain.java:247)
> at org.apache.catalina.core.ApplicationFilterChain.doFilter
> (ApplicationFilterChain.java:193)
> at org.apache.catalina.core.StandardWrapperValve.invoke
> (StandardWrapperValve.java: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.java: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:2417)
> 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:193)
> at org.apache.coyote.http11.Http11Processor.process
> (Http11Processor.java:781)
> at
>
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConne
ction
> (Http11Protocol.java:549)
> at org.apache.tomcat.util.net.TcpWorkerThread.runIt
> (PoolTcpEndpoint.java:589)
> at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run
> (ThreadPool.java:666)
> at java.lang.Thread.run (Thread.java:321)
>
> 2004-01-19 12:10:11 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] Compiling 1 source file
>
>
>
> at org.apache.jasper.compiler.DefaultErrorHandler.javacError
> (DefaultErrorHandler.java:130)
> at org.apache.jasper.compiler.ErrorDispatcher.javacError
> (ErrorDispatcher.java: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.java:473)
> at org.apache.jasper.servlet.JspServletWrapper.service
> (JspServletWrapper.java: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.ApplicationFilterChain.internalDoFilter
> (ApplicationFilterChain.java:247)
> at org.apache.catalina.core.ApplicationFilterChain.doFilter
> (ApplicationFilterChain.java:193)
> at org.apache.catalina.core.StandardWrapperValve.invoke
> (StandardWrapperValve.java: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.java: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:2417)
> 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)
> : 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:193)
> at org.apache.coyote.http11.Http11Processor.process
> (Http11Processor.java:781)
> at
>
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConne
ction
> (Http11Protocol.java:549)
> at org.apache.tomcat.util.net.TcpWorkerThread.runIt
> (PoolTcpEndpoint.java:589)
> at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run
> (ThreadPool.java:666)
> at java.lang.Thread.run (Thread.java:321)
>
>
> _______________________________________________
> This mail is send to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, please visit
> http://mail.opencms.org/mailman/listinfo/opencms-dev
More information about the opencms-dev
mailing list