[opencms-dev] Installation problem "Class com.opencms.boot.CmsSetup not found"

Marc Heubes worf at uni.de
Mon Apr 19 01:02:02 CEST 2004


Hello,

I tried out intstalling the current release of OpenCMS for several
hours, but I got no chance tu run the installation script :(

My Server:
Debian Woody, Testing Packages
Tomcat/4.0.4 Debian Package
j2sdk1.4.2_04 directly from Sun

This should work with OpenCMS, shouldn't it?

The exception I get:
----------
Exception

org.apache.jasper.JasperException: Unable to compile class for JSPNote: sun.tools.javac.Main has been deprecated.


An error occurred at line: 10 in the jsp file: /opencms/ocsetup/index.jsp

Generated servlet error:
/usr/share/tomcat4/work/Standalone/localhost/_/opencms/ocsetup/index$jsp.java:74: Class com.opencms.boot.CmsSetup not found.
                com.opencms.boot.CmsSetup Bean = null;
                                ^


An error occurred at line: 10 in the jsp file: /opencms/ocsetup/index.jsp

Generated servlet error:
/usr/share/tomcat4/work/Standalone/localhost/_/opencms/ocsetup/index$jsp.java:77: Class com.opencms.boot.CmsSetup not found.
                    Bean= (com.opencms.boot.CmsSetup)
                                           ^


An error occurred at line: 10 in the jsp file: /opencms/ocsetup/index.jsp

Generated servlet error:
/usr/share/tomcat4/work/Standalone/localhost/_/opencms/ocsetup/index$jsp.java:82: Class com.opencms.boot.CmsSetup not found.
                            Bean = (com.opencms.boot.CmsSetup) java.beans.Beans.instantiate(this.getClass().getClassLoader(), "com.opencms.boot.CmsSetup");
                                                    ^
3 errors, 1 warning
        at org.apache.jasper.compiler.Compiler.compile(Compiler.java:285)
        at org.apache.jasper.servlet.JspServlet.loadJSP(JspServlet.java:548)
        at org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadIfNecessary(JspServlet.java:176)
        at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:188)
        at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:381)
        at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:473)
        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.access$000(ApplicationFilterChain.java:98)
        at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:176)
        at java.security.AccessController.doPrivileged(Native Method)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:172)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:243)
        at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
        at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
        at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:190)
        at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
        at org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:246)
        at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
        at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
        at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
        at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2347)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
        at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
        at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
        at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170)
        at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
        at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:468)
        at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
        at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
        at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
        at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
        at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
        at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
        at org.apache.ajp.tomcat4.Ajp13Processor.process(Ajp13Processor.java:458)
        at org.apache.ajp.tomcat4.Ajp13Processor.run(Ajp13Processor.java:551)
        at java.lang.Thread.run(Thread.java:534)

----------

I searched the archive of this list, but the hints didn't help :(

I was hopeully with this hint:
> copy the file $JAVA_HOME/lib/tools.jar to the directory
> $CATALINA_HOME/shared/lib and try the setup again; 
> or upgrade your Tomcat; or update your $CLASSPATH.

But it didn't help to copy the file to /usr/share/tomcat4/lib, adding
the jdk-dir to classpath also didn't help.

I also tried some older versions of the JDK, but this also wasn't the
problem.

Any idea what I could do?

Thanks for help!

Greets,
Marc.
--
Marc Heubes
Dortmund, Germany, EU.




More information about the opencms-dev mailing list