[opencms-dev] openCMS installation exception?

Steve steve.welsh at redplanetuk.com
Wed Oct 27 15:46:24 CEST 2004


>From first inspection it looks like you haven't set a JAVA_HOME
environment variable on your system to point to the base directory of
where you installed java.  This means that when Tomcat wants to compile
your jsp into a servlet it can't find the java compiler (javac) to do
the job.
 
Steve,

REDPlanet Technologies Ltd,
Salters House, Salters Lane Ind. Est., Sedgefield, Stockton-on-Tees,
TS21 3EE

www.redplanetuk.com
Tel +44 (1740) 625222 


-----Original Message-----
From: opencms-dev-bounces at opencms.org
[mailto:opencms-dev-bounces at opencms.org] On Behalf Of Gaworski,
Priemyslaw S
Sent: 27 October 2004 14:39
To: opencms-dev at opencms.org
Subject: [opencms-dev] openCMS installation exception?
 
Dear OpenCms and Java specialists,
I tried installation of OpenCMS 5.0 on two PC. I got the Java, I got the
Tomcat 5.0 and I have SQL.
The last part of unzipping the opencms.war also worked fine ...except
when one wants to proceed with the last part by accessing 
http://localhost:8080/opencms/ocsetup/
<BLOCKED::http://localhost:8080/opencms/ocsetup/> 
here is what happens ... and that's there regardless of reinstalling
Java, reinstalling Tomcat.
Now, the only thing I did not try yet is to uninstall MySQL ... which I
had on my machine before the rest of it.
 
General advice, I think the server installation is not detail enough and
while I am sure it works on new box, my two old boxes that had different
versions of Java and Tomcat before plus other things do not seem to like
it.
I explored already Zope and Mango and tell you that if it was not
because at work I was assigned to make the webcam work, I would toss it
in the corner and never look at it again.
 
Here is the mistake I get,
I would appreciate a lot any help anyone can give me with this
 
Thanks,
Shamick Gaworski
Lexington, Ky
type Exception report
message 
description The server encountered an internal error () that prevented
it from fulfilling this request.
exception 
org.apache.jasper.JasperException: Unable to compile class for JSP
 
org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHa
ndler.java:97)
 
org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.ja
va:346)
  org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:414)
  org.apache.jasper.compiler.Compiler.compile(Compiler.java:472)
  org.apache.jasper.compiler.Compiler.compile(Compiler.java:451)
  org.apache.jasper.compiler.Compiler.compile(Compiler.java:439)
 
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.ja
va:511)
 
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.ja
va:295)
 
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
  org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
  javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
root cause 
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
 
org.apache.tools.ant.taskdefs.compilers.CompilerAdapterFactory.getCompil
er(CompilerAdapterFactory.java:106)
  org.apache.tools.ant.taskdefs.Javac.compile(Javac.java:935)
  org.apache.tools.ant.taskdefs.Javac.execute(Javac.java:764)
  org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:382)
  org.apache.jasper.compiler.Compiler.compile(Compiler.java:472)
  org.apache.jasper.compiler.Compiler.compile(Compiler.java:451)
  org.apache.jasper.compiler.Compiler.compile(Compiler.java:439)
 
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.ja
va:511)
 
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.ja
va:295)
 
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
  org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
  javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
note The full stack trace of the root cause is available in the Apache
Tomcat/5.0.28 logs.
  _____  


Apache Tomcat/5.0.28

 
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20041027/908a07ee/attachment.htm>


More information about the opencms-dev mailing list