[opencms-dev] Help installing OpenCms

"De Gea García, Alfonso" adegea at chs.mma.es
Thu Sep 29 14:04:23 CEST 2005


Thank you Michael, I have solved yet the problem.

-----Mensaje original-----
De: Michael Moossen [mailto:m.moossen at alkacon.com]
Enviado el: jueves, 29 de septiembre de 2005 9:38
Para: The OpenCms mailing list
Asunto: Re: [opencms-dev] Help installing OpenCms


Hi, Alfonso!
  it seems you have not the org.opencms.legacy.jar file in your
${OPENCMS_HOME}/WEB-INF/lib folder.
  let explain it: 
- the 6.0 release is fully compatible with the old XmlTemplate technology. does
not matter if you import or not the org.opencms.legacy module. but the
org.opencms.legacy.jar archive is still needed for this.
- to remove any dependency to the old technology (and be able to remove the
org.opencms.legacy.jar file, you have to edit your config files, removing all
references to com.opencms.* classes:

* opencms-importexport.xml:
opencms/importexport/importexporthandlers/importexporthandler at class=com.opencms.legacy.CmsCosImportExportHandler

opencms/importexport/import/importversions/importversion at class=com.opencms.legacy.CmsImportVersion1


* opencms-vfs.xml:
opencms/vfs/resources/resourceloaders/loader at class=com.opencms.legacy.CmsXmlTemplateLoader

opencms/vfs/resources/resourcetypes/type at class=com.opencms.legacy.CmsResourceTypeXMLTemplate

hth
-- 
Regards
Michael Moossen

Alkacon Software GmbH - The OpenCms Experts
http://www.alkacon.com


Quoting "\"De Gea García, Alfonso\"" <adegea at chs.mma.es>:

> 
> Hello,
> When I'm finishing the instation wizard, at the 'Import modules' form, I get
> the following java error list, and it is about
> that it's not possible reading the xml configuration file.
> 
> Has anybody any idea?
> 
> Thank you.
> 
> 47:	
> 46:	Shutdown completed, total uptime was 00:03:40.
> 45:	Shutting down OpenCms, version 6.0.0 in web application "opencms"
> 44:	
> 43:	
> 42:		at
>
org.opencms.setup.CmsSetupWorkplaceImportThread.run(CmsSetupWorkplaceImportThread.java:201)
> 41:		at
>
org.opencms.setup.CmsSetupWorkplaceImportThread.kill(CmsSetupWorkplaceImportThread.java:118)
> 40:		at org.opencms.main.CmsShell.exit(CmsShell.java:605)
> 39:	java.lang.NullPointerException
> 38:		at
>
org.opencms.setup.CmsSetupWorkplaceImportThread.run(CmsSetupWorkplaceImportThread.java:186)
> 37:		at org.opencms.main.CmsShell.start(CmsShell.java:663)
> 36:		at org.opencms.main.CmsShell.executeCommands(CmsShell.java:801)
> 35:		at org.opencms.main.CmsShell.printPrompt(CmsShell.java:647)
> 34:	java.lang.NullPointerException
> 33:		... 3 more
> 32:		at org.opencms.main.OpenCmsCore.initConfiguration(OpenCmsCore.java:840)
> 31:		at
>
org.opencms.configuration.CmsConfigurationManager.loadXmlConfiguration(CmsConfigurationManager.java:343)
> 30:		at
>
org.opencms.configuration.CmsConfigurationManager.loadXmlConfiguration(CmsConfigurationManager.java:498)
> 29:		at org.apache.commons.digester.Digester.parse(Digester.java:1666)
> 28:		at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
> 27:		at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
> 26:		at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
> 25:		at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
> 24:		at
> org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown
> Source)
> 23:		at
>
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown
> Source)
> 22:		at
>
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanStartElement(Unknown
> Source)
> 21:		at org.apache.xerces.impl.dtd.XMLDTDValidator.emptyElement(Unknown
> Source)
> 20:		at
> org.apache.xerces.parsers.AbstractXMLDocumentParser.emptyElement(Unknown
> Source)
> 19:		at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown
> Source)
> 18:		at
> org.apache.commons.digester.Digester.startElement(Digester.java:1364)
> 17:		at
> org.apache.commons.digester.Digester.createSAXException(Digester.java:2945)
> 16:		at
> org.apache.commons.digester.Digester.createSAXException(Digester.java:2919)
> 15:	Caused by: java.lang.ClassNotFoundException:
> com.opencms.legacy.CmsXmlTemplateLoader
> 14:		at
>
org.opencms.setup.CmsSetupWorkplaceImportThread.run(CmsSetupWorkplaceImportThread.java:155)
> 13:		at org.opencms.main.CmsShell.<init>(CmsShell.java:498)
> 12:		at org.opencms.main.OpenCmsCore.upgradeRunlevel(OpenCmsCore.java:1456)
> 11:		at org.opencms.main.OpenCmsCore.initConfiguration(OpenCmsCore.java:842)
> 10:	org.opencms.main.CmsInitException: Critical error during OpenCms
> initialization: Unable to read the OpenCms XML configuration.
> 9:	--------------------
> 8:	Giving up, unable to start OpenCms.
> 7:	Critical error during OpenCms initialization: Unable to read the OpenCms
> XML configuration.
> 6:	The following critical error occured:
> 5:	--------------------
> 
> 
> _______________________________________________
> 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
> 


----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.



_______________________________________________
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