[opencms-dev] Installation problem "Class com.opencms.boot.CmsSetup not found"
Jan Heise
jan at janheise.de
Mon Apr 19 08:39:01 CEST 2004
hi marc,
i tried with tomcat 5 and resin and both did not work properly. so you
should try with tomcat 4.1.30 which is imho the one with the least
problems
regarding opencms.
hth,
jan
Am 19.04.2004 um 01:01 schrieb Marc Heubes:
> 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(JspServl
> et.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(Applic
> ationFilterChain.java:247)
> at
> org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationF
> ilterChain.java:98)
> at
> org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilter
> Chain.java:176)
> at java.security.AccessController.doPrivileged(Native Method)
> at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFil
> terChain.java:172)
> at
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperVal
> ve.java:243)
> at
> org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.j
> ava: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(StandardContextVal
> ve.java:190)
> at
> org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.j
> ava:566)
> at
> org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.j
> ava:246)
> at
> org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.j
> ava: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.jav
> a:180)
> at
> org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.j
> ava:566)
> at
> org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherV
> alve.java:170)
> at
> org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.j
> ava:564)
> at
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.jav
> a:170)
> at
> org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.j
> ava:564)
> at
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:
> 468)
> at
> org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.j
> ava: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.j
> ava: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.
>
> _______________________________________________
> 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