[opencms-dev] opencms installation hang on Step 8 (Importing modules)

ric at oslad.com ric at oslad.com
Sat Jul 29 09:24:55 CEST 2006



HELP! Everything is fine until step 8.
Thanks!

ENV:
opencms 6.2.2
tomcat 5.5.17
mysql 4.1.20
jdk 1.5.0_07
apache 2.0 (via SSL)
CentOS Linux 4.3 (kernel 2.6)

[root at oslad ~]# mysqladmin variables -p |egrep "max_all|query_cache_size"
Enter password:
| max_allowed_packet              | 1073740800                                 
           |
| query_cache_size                | 67108864                                   
           |

[root at oslad opencms]# vi WEB-INF/logs/setup.log

1591:   ( 9 / 157 ) Publishing file
/system/workplace/resources/editors/htmlarea/images/ed_about.gif ... !!! Error
publishing file
"/system/workplace/resources/editors/htmlarea/images/ed_about.gif".
1592:   !!! Exception null
1593:   java.lang.NullPointerException
1594:           at
org.opencms.db.generic.CmsVfsDriver.writePropertyObject(CmsVfsDriver.java:2203)
1595:           at
org.opencms.db.generic.CmsVfsDriver.writePropertyObjects(CmsVfsDriver.java:2217)
1596:           at
org.opencms.db.generic.CmsProjectDriver.publishFile(CmsProjectDriver.java:1166)
1597:           at
org.opencms.db.generic.CmsProjectDriver.publishProject(CmsProjectDriver.java:1654)
1598:           at
org.opencms.db.CmsDriverManager.publishProject(CmsDriverManager.java:4493)
1599:           at
org.opencms.db.CmsSecurityManager.publishProject(CmsSecurityManager.java:2893)
1600:           at
org.opencms.file.CmsObject.publishProject(CmsObject.java:1975)
1601:           at
org.opencms.file.CmsObject.publishProject(CmsObject.java:1956)
1602:           at
org.opencms.module.CmsModuleImportExportHandler.importData(CmsModuleImportExportHandler.java:361)
1603:           at
org.opencms.importexport.CmsImportExportManager.importData(CmsImportExportManager.java:620)
1604:           at
org.opencms.setup.CmsSetupBean.importModuleFromDefault(CmsSetupBean.java:1896)
1605:           at
org.opencms.setup.CmsSetupBean.importModulesFromSetupBean(CmsSetupBean.java:1022)
1606:           at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
1607:           at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
1608:           at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
1609:           at java.lang.reflect.Method.invoke(Method.java:585)
1610:           at
org.opencms.main.CmsShell$CmsCommandObject.executeMethod(CmsShell.java:247)
1611:           at org.opencms.main.CmsShell.executeCommand(CmsShell.java:787)
1612:           at org.opencms.main.CmsShell.executeCommands(CmsShell.java:859)
1613:           at org.opencms.main.CmsShell.start(CmsShell.java:687)
1614:           at
org.opencms.setup.CmsSetupWorkplaceImportThread.run(CmsSetupWorkplaceImportThread.java:194)

[root at oslad opencms]# vi WEB-INF/logs/opencms.log
29 Jul 2006 14:20:01,317 ERROR [  org.opencms.main.OpenCmsCore: 299] Critical
error during OpenCms initialization: The OpenCms setup wizard is still enabled.
29 Jul 2006 14:20:01,318 ERROR [g.opencms.main.OpenCmsListener:  91]
org.opencms.main.CmsInitException: Critical error during OpenCms
initialization: The OpenCms setup wizard is still enabled.
29 Jul 2006 14:20:01,328  INFO [.opencms.i18n.CmsLocaleManager: 307] . i18n
configuration   : the JVM default locale is "en"29 Jul 2006 14:20:01,330  INFO
[  org.opencms.main.OpenCmsCore:2062] . Runlevel change      : Switching from 1
to 2 29 Jul 2006 14:20:01,352 ERROR [  org.opencms.main.OpenCmsCore: 299]
Critical error during OpenCms initialization: The OpenCms setup wizard is still
enabled. 29 Jul 2006 14:20:01,356 ERROR [.catalina.core.StandardContext:3919]
Servlet  threw load() exception
javax.servlet.ServletException: Critical error during OpenCms initialization:
The OpenCms setup wizard is still enabled.         at
org.opencms.main.OpenCmsServlet.init(OpenCmsServlet.java:241)
        at
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1105)
        at
org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:932)
        at
org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3917)
        at
org.apache.catalina.core.StandardContext.start(StandardContext.java:4201)
        at
org.apache.catalina.core.StandardContext.reload(StandardContext.java:2990)     
   at
org.apache.catalina.loader.WebappLoader.backgroundProcess(WebappLoader.java:403)
        at
org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java:1277)
        at
org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1569)
        at
org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1578)
        at
org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1578)
        at
org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1558)
        at java.lang.Thread.run(Thread.java:595)
29 Jul 2006 14:20:02,470 ERROR [lina.core.StandardWrapperValve: 253]
Servlet.service() for servlet jsp threw exception
java.lang.NullPointerException
        at
org.opencms.setup.CmsSetupBean.prepareStep8bOutput(CmsSetupBean.java:1365)     
   at
org.apache.jsp.setup.step_005f8b_005fdata_005fimport_jsp._jspService(step_005f8b_005fdata_005fimport_jsp.java:67)
       at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)    
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
        at
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:332)
        at
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)       
 at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
        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:213)
        at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
        at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
        at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
        at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
        at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
        at
org.apache.coyote.ajp.AjpAprProcessor.process(AjpAprProcessor.java:425)
        at
org.apache.coyote.ajp.AjpAprProtocol$AjpConnectionHandler.process(AjpAprProtocol.java:452)
        at
org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1285)
        at java.lang.Thread.run(Thread.java:595)

[root at oslad ~]# vi /usr/local/tomcat/logs/catalina.out
log4j:ERROR setFile(null,true) call failed.
java.io.FileNotFoundException: opencms_init.log (Permission denied)
        at java.io.FileOutputStream.openAppend(Native Method)
        at java.io.FileOutputStream.<init>(FileOutputStream.java:177)
        at java.io.FileOutputStream.<init>(FileOutputStream.java:102)
        at org.apache.log4j.FileAppender.setFile(FileAppender.java:273)
        at
org.apache.log4j.RollingFileAppender.setFile(RollingFileAppender.java:156)
        at org.apache.log4j.FileAppender.activateOptions(FileAppender.java:152)
        at
org.apache.log4j.config.PropertySetter.activate(PropertySetter.java:247)
        at
org.apache.log4j.config.PropertySetter.setProperties(PropertySetter.java:123)
        at
org.apache.log4j.config.PropertySetter.setProperties(PropertySetter.java:87)
        at
org.apache.log4j.PropertyConfigurator.parseAppender(PropertyConfigurator.java:645)
        at
org.apache.log4j.PropertyConfigurator.parseCategory(PropertyConfigurator.java:603)
        at
org.apache.log4j.PropertyConfigurator.configureRootCategory(PropertyConfigurator.java:500)
        at
org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurator.java:406)
        at
org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurator.java:432)
        at
org.apache.log4j.helpers.OptionConverter.selectAndConfigure(OptionConverter.java:460)
        at org.apache.log4j.LogManager.<clinit>(LogManager.java:113)
        at org.apache.log4j.Logger.getLogger(Logger.java:94)
        at
org.apache.commons.logging.impl.Log4JLogger.getLogger(Log4JLogger.java:229)
        at
org.apache.commons.logging.impl.Log4JLogger.<init>(Log4JLogger.java:65)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
Method)
        at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
        at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
        at
org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:529)
        at
org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:235)
        at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:370)
        at
org.apache.catalina.core.ContainerBase.getLogger(ContainerBase.java:380)
        at
org.apache.catalina.core.StandardContext.start(StandardContext.java:4090)
        at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1013)
        at org.apache.catalina.core.StandardHost.start(StandardHost.java:718)
        at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1013)
        at
org.apache.catalina.core.StandardEngine.start(StandardEngine.java:442)
        at
org.apache.catalina.core.StandardService.start(StandardService.java:450)
        at
org.apache.catalina.core.StandardServer.start(StandardServer.java:709)
        at org.apache.catalina.startup.Catalina.start(Catalina.java:551)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:294)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at
org.apache.commons.daemon.support.DaemonLoader.start(DaemonLoader.java:177)




More information about the opencms-dev mailing list