[opencms-dev] OpenCms 8.0.3 installation fail

Deiverson Silveira deiverson at solutioncms.com
Fri Nov 25 00:56:32 CET 2011


Hi,

Try rename opencms.war for opencms.zip and unzip, after rename folder
opencms for opencms.war

Good luck,

Deiverson

2011/11/24 Sandrine Prousteau <spr.webdev at gmail.com>

> Hi
>
> I'm trying to install OpenCms 8.0.3 on a Linux server (Apache *Tomcat 6.0*
>  (Servlet 2.5 / JSP 2.1) on *JDK 1.5*). It is a shared Tomcat, I don't
> have access to the manager, but the opencms.war has been deployed, and I
> followed the step until step 8, where modules imports logging randomly
> stop. I don't understand!
>
> What's wrong, please?
>
> On first steps, it shows :
> older Permissions:     passed
> JDK Version:     1.6.0_26
> Temp Directory:     /home/tomcat6/jakarta-tomcat/temp
> Operating System:     Linux 2.6.18-238.19.1.el5
> Servlet Container:     Apache Tomcat/6.0.20
> Image Processing:     passed
> Unpacked WAR File:     passed
> Xerces Version:     Xerces-J 2.9.1
> XML API:     passed
>
> I asked for the tomcat logs, and they are :
> org.apache.catalina.core.StandardContext loadOnStartup
> SEVERE: 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:249)
> at
> org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1173)
> at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:993)
> at
> org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4149)
> at
> org.apache.catalina.core.StandardContext.start(StandardContext.java:4458)
> at
> org.apache.catalina.core.StandardContext.reload(StandardContext.java:3190)
> at
> org.apache.catalina.loader.WebappLoader.backgroundProcess(WebappLoader.java:404)
> at
> org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java:1309)
> at
> org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1601)
> at
> org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1610)
> at
> org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1610)
> at
> org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1590)
> at java.lang.Thread.run(Thread.java:662)
>
> I looked at setup.log in my /WEF-INF and multiple errors occured.
> Everything looks good until :
> 2622:    Importing
> /system/workplace/resources/editors/editarea/dist/images/close.gif ... !!!
> Exception Error creating resource
> "/system/workplace/resources/editors/editarea/dist/images/close.gif" on
> path "/system/workplace/resources/editors/editarea/dist/images/close.gif".
> 2623:    org.opencms.file.CmsVfsException: Error creating resource
> "/system/workplace/resources/editors/editarea/dist/images/close.gif" on
> path "/system/workplace/resources/editors/editarea/dist/images/close.gif".
> 2624:        at
> org.opencms.db.CmsDbContext.throwException(CmsDbContext.java:338)
> 2625:        at org.opencms.db.CmsDbContext.report(CmsDbContext.java:286)
> 2626:        at
> org.opencms.db.CmsSecurityManager.importResource(CmsSecurityManager.java:2976)
> 2627:        at
> org.opencms.file.types.A_CmsResourceType.importResource(A_CmsResourceType.java:595)
> 2628:        at
> org.opencms.file.types.CmsResourceTypeImage.importResource(CmsResourceTypeImage.java:356)
> 2629:        at
> org.opencms.file.CmsObject.importResource(CmsObject.java:1844)
> 2630:        at
> org.opencms.importexport.CmsImportVersion7.importResource(CmsImportVersion7.java:1797)
> 2631:        at sun.reflect.GeneratedMethodAccessor769.invoke(Unknown
> Source)
> 2632:        at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> 2633:        at java.lang.reflect.Method.invoke(Method.java:597)
> 2634:        at
> org.apache.commons.beanutils.MethodUtils.invokeMethod(MethodUtils.java:281)
> 2635:        at
> org.apache.commons.digester.CallMethodRule.end(CallMethodRule.java:626)
> 2636:        at org.apache.commons.digester.Rule.end(Rule.java:253)
> 2637:        at
> org.apache.commons.digester.Digester.endElement(Digester.java:1222)
> 2638:        at
> org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source)
> 2639:        at
> org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEndElement(Unknown
> Source)
> 2640:        at
> org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown
> Source)
> 2641:        at
> org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown
> Source)
> 2642:        at org.apache.xerces.parsers.XML11Configuration.parse(Unknown
> Source)
> 2643:        at org.apache.xerces.parsers.XML11Configuration.parse(Unknown
> Source)
> 2644:        at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
> 2645:        at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown
> Source)
> 2646:        at
> org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
> 2647:        at
> org.apache.commons.digester.Digester.parse(Digester.java:1765)
> 2648:        at
> org.opencms.importexport.CmsImportVersion7.importData(CmsImportVersion7.java:1312)
> 2649:        at
> org.opencms.importexport.CmsImport.importData(CmsImport.java:113)
> 2650:        at
> org.opencms.module.CmsModuleImportExportHandler.importModule(CmsModuleImportExportHandler.java:576)
> 2651:        at
> org.opencms.module.CmsModuleImportExportHandler.importData(CmsModuleImportExportHandler.java:372)
> 2652:        at
> org.opencms.importexport.CmsImportExportManager.importData(CmsImportExportManager.java:729)
> 2653:        at
> org.opencms.setup.CmsSetupBean.importModuleFromDefault(CmsSetupBean.java:2537)
> 2654:        at
> org.opencms.setup.CmsSetupBean.importModulesFromSetupBean(CmsSetupBean.java:1250)
> 2655:        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 2656:        at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> 2657:        at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> 2658:        at java.lang.reflect.Method.invoke(Method.java:597)
> 2659:        at
> org.opencms.main.CmsShell$CmsCommandObject.executeMethod(CmsShell.java:194)
> 2660:        at org.opencms.main.CmsShell.executeCommand(CmsShell.java:763)
> 2661:        at
> org.opencms.main.CmsShell.executeCommands(CmsShell.java:835)
> 2662:        at org.opencms.main.CmsShell.start(CmsShell.java:663)
> 2663:        at
> org.opencms.setup.CmsSetupWorkplaceImportThread.run(CmsSetupWorkplaceImportThread.java:187)
> 2664:    Caused by: java.lang.NullPointerException
> 2665:        at
> org.opencms.db.generic.CmsVfsDriver.readResource(CmsVfsDriver.java:2171)
> 2666:        at
> org.opencms.db.CmsDriverManager.createResource(CmsDriverManager.java:1729)
> 2667:        at
> org.opencms.db.CmsSecurityManager.importResource(CmsSecurityManager.java:2974)
> 2668:        ... 37 more
> And then ...
> !!! Exception Error reading the user "Admin".
> 2814:    org.opencms.file.CmsVfsException: Error reading the user "Admin".
> 2815:        at
> org.opencms.db.CmsDbContext.throwException(CmsDbContext.java:338)
> 2816:        at org.opencms.db.CmsDbContext.report(CmsDbContext.java:286)
> 2817:        at
> org.opencms.db.CmsSecurityManager.readUser(CmsSecurityManager.java:4987)
> 2818:        at org.opencms.file.CmsObject.readUser(CmsObject.java:3227)
> 2819:        at
> org.opencms.importexport.CmsImportVersion7.setUserCreated(CmsImportVersion7.java:2838)
> 2820:        at sun.reflect.GeneratedMethodAccessor767.invoke(Unknown
> Source)
> 2821:        at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> 2822:        at java.lang.reflect.Method.invoke(Method.java:597)
> 2823:        at
> org.apache.commons.beanutils.MethodUtils.invokeMethod(MethodUtils.java:281)
> 2824:        at
> org.apache.commons.digester.CallMethodRule.end(CallMethodRule.java:626)
> 2825:        at org.apache.commons.digester.Rule.end(Rule.java:253)
> 2826:        at
> org.apache.commons.digester.Digester.endElement(Digester.java:1222)
> 2827:        at
> org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source)
> 2828:        at
> org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEndElement(Unknown
> Source)
> 2829:        at
> org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown
> Source)
> 2830:        at
> org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown
> Source)
> 2831:        at org.apache.xerces.parsers.XML11Configuration.parse(Unknown
> Source)
> 2832:        at org.apache.xerces.parsers.XML11Configuration.parse(Unknown
> Source)
> 2833:        at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
> 2834:        at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown
> Source)
> 2835:        at
> org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
> 2836:        at
> org.apache.commons.digester.Digester.parse(Digester.java:1765)
> 2837:        at
> org.opencms.importexport.CmsImportVersion7.importData(CmsImportVersion7.java:1312)
> 2838:        at
> org.opencms.importexport.CmsImport.importData(CmsImport.java:113)
> 2839:        at
> org.opencms.module.CmsModuleImportExportHandler.importModule(CmsModuleImportExportHandler.java:576)
> 2840:        at
> org.opencms.module.CmsModuleImportExportHandler.importData(CmsModuleImportExportHandler.java:372)
> 2841:        at
> org.opencms.importexport.CmsImportExportManager.importData(CmsImportExportManager.java:729)
> 2842:        at
> org.opencms.setup.CmsSetupBean.importModuleFromDefault(CmsSetupBean.java:2537)
> 2843:        at
> org.opencms.setup.CmsSetupBean.importModulesFromSetupBean(CmsSetupBean.java:1250)
> 2844:        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 2845:        at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> 2846:        at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> 2847:        at java.lang.reflect.Method.invoke(Method.java:597)
> 2848:        at
> org.opencms.main.CmsShell$CmsCommandObject.executeMethod(CmsShell.java:194)
> 2849:        at org.opencms.main.CmsShell.executeCommand(CmsShell.java:763)
> 2850:        at
> org.opencms.main.CmsShell.executeCommands(CmsShell.java:835)
> 2851:        at org.opencms.main.CmsShell.start(CmsShell.java:663)
> 2852:        at
> org.opencms.setup.CmsSetupWorkplaceImportThread.run(CmsSetupWorkplaceImportThread.java:187)
> 2853:    Caused by: java.lang.NullPointerException
> 2854:        at
> org.opencms.db.CmsDriverManager.readUser(CmsDriverManager.java:7711)
> 2855:        at
> org.opencms.db.CmsSecurityManager.readUser(CmsSecurityManager.java:4985)
> 2856:        ... 35 more
> And later...
> Exception in thread "OpenCms: Offline Search Index Worker"
> org.apache.lucene.store.AlreadyClosedException: this IndexWriter is closed
> 2946:        at
> org.apache.lucene.index.IndexWriter.ensureOpen(IndexWriter.java:780)
> 2947:        at
> org.apache.lucene.index.IndexWriter.ensureOpen(IndexWriter.java:785)
> 2948:        at
> org.apache.lucene.index.IndexWriter.commit(IndexWriter.java:3481)
> 2949:        at
> org.apache.lucene.index.IndexWriter.commit(IndexWriter.java:3467)
> 2950:        at
> org.opencms.search.CmsLuceneIndexWriter.commit(CmsLuceneIndexWriter.java:129)
> 2951:        at
> org.opencms.search.CmsSearchManager.updateIndexIncremental(CmsSearchManager.java:2305)
> 2952:        at
> org.opencms.search.CmsSearchManager.updateIndexOffline(CmsSearchManager.java:2349)
> 2953:        at
> org.opencms.search.CmsSearchManager$CmsSearchOfflineIndexWorkThread.run(CmsSearchManager.java:471)
> It's a concatenation of Exceptions...
>
> _______________________________________________
> This mail is sent to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, please visit
> http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev
>
>
>
>
>


-- 
*
www.solutioncms.com
The Brazilian
Official Provider OpenCms
*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20111124/b5bd77dd/attachment.htm>


More information about the opencms-dev mailing list