[opencms-dev] File not found error (solved) and other installation problems

=?utf-8?B?UGVkcm8gQmV6dW5hcnRlYSBM83Bleg==?= pedro at bezunartea.net
Tue Mar 14 06:24:11 CET 2006


I've tried to install opencms on linux FC4 x86_64. This is what i have:
- sun jdk 1.5.0.5
- mysql 4.1.16
- tomcat 5.0.30

I've tried versions 6.2beta and 6.0.4 and after both installataions I got
the following error:

java.io.FileNotFoundException: opencms_init.log (Permission denied)

I then started tomcat as root and found out that the missing file was in
root home directory /root/opencms_init.log instead of /var/log/tomcat5. To
fix this I modified the file .../WEB-INF/classes/log4j.properties, leaving
the line:

opencms.logfile=${catalina.base}/logs/opencms_init.log

instead of:

opencms.logfile=opencms_init.log

The problem I couldn't solve was that the installation never finished. It
froze installing the modules. I should also say that I always got the
following exception:

javax.servlet.ServletException: Critical error during OpenCms
initialization: The OpenCms setup wizard is still enabled.

I guess the setup wizard is disabled after installation. Anyway, these are
the last lines of the "import modules" phase window where the installation
stops:

5:	Starting Workplace import and database setup for OpenCms!
4:
3:
2:	OpenCms property file:
"/mnt/divx/pedro/desarrollo/opencms_6.0.4/opencms-war/WEB-INF/config/opencms.properties".
1:	OpenCms WEB-INF path: 
"/mnt/divx/pedro/desarrollo/opencms_6.0.4/opencms-war/WEB-INF/".

And the exception shown in localhost_log file:

2006-03-14 06:20:33 StandardWrapperValve[jsp]: Servlet.service() for
servlet jsp threw exception
java.lang.NullPointerException
        at
org.opencms.setup.CmsSetupBean.prepareStep8bOutput(CmsSetupBean.java:1126)
        at
org.apache.jsp.setup.step_005f8b_005fdata_005fimport_jsp._jspService(step_005f8b_005fdata_005fimport_jsp.java:69)
        at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
        at
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:324)
        at
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
        at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
        at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
        at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
        at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
        at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
        at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
        at
org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198)
        at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152)
        at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
        at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
        at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)
        at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
        at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118)
        at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
        at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
        at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
        at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
        at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
        at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
        at
org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
        at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
        at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)
        at
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
        at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
        at java.lang.Thread.run(Thread.java:595)

Any ideas? TIA,

Pedro.







More information about the opencms-dev mailing list