RES: [opencms-dev] Error importing module in OpenCMS b3 - Solucti on

BRAGA Bruno Gonçalves bruno.braga at globalvalue.com.br
Tue May 10 19:10:15 CEST 2005


I discovered.

 

(manifest.xml)

 

Work in Beta1 (not work in beta3):

 

<type class="org.opencms.file.types.CmsResourceTypeXmlContent">

            <param name="resource.type.id">32</param>

            <param name="resource.type.name">b2bnoticia</param>

            <param
name="schema">/system/modules/br.com.globalvalue.opencms.artigos/schemas/Not
icias.xsd</param>

</type>

 

Work in Beta3:

 

<type class="org.opencms.file.types.CmsResourceTypeXmlContent"
name="b2bnoticia" id="32">

            <param
name="schema">/system/modules/br.com.globalvalue.opencms.artigos/schemas/Not
icias.xsd</param> 

</type>

 

  _____  

De: BRAGA Bruno Gonçalves [mailto:bruno.braga at globalvalue.com.br] 
Enviada em: terça-feira, 10 de maio de 2005 13:49
Para: The OpenCms mailing list
Assunto: [opencms-dev] Error importing module in OpenCMS b3

 

This error not present in beta 1.
Was modified some consistency?
 
 
"org.opencms.configuration.CmsConfigurationException: Invalid resource type
configuration type='org.opencms.file.types.CmsResourceTypeXmlContent'
name='null' id='-1' Error in the OpenCms configuration.
        at
org.apache.commons.digester.Digester.createSAXException(Digester.java:2792)
        at
org.apache.commons.digester.Digester.createSAXException(Digester.java:2818)
        at
org.apache.commons.digester.Digester.endElement(Digester.java:1070)
        at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown
Source)
        at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEndElement(Unknown
Source)
        at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatc
her.dispatch(Unknown Source)
        at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown
Source)
        at org.apache.xerces.parsers.XML11Configuration.parse(Unknown
Source)
        at org.apache.xerces.parsers.XML11Configuration.parse(Unknown
Source)
        at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
        at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
        at org.apache.commons.digester.Digester.parse(Digester.java:1591)
        at
org.opencms.module.CmsModuleImportExportHandler.readModuleFromImport(CmsModu
leImportExportHandler.java:140)
        at
com.opencms.workplace.CmsAdminModuleNew.importModule(CmsAdminModuleNew.java:
240)
        at
com.opencms.workplace.CmsAdminModuleNew.getContent(CmsAdminModuleNew.java:19
6)
        at
com.opencms.template.CmsXmlTemplate.getContent(CmsXmlTemplate.java:136)
        at
com.opencms.template.CmsRootTemplate.getMasterTemplate(CmsRootTemplate.java:
122)
        at
com.opencms.legacy.CmsXmlTemplateLoader.callCanonicalRoot(CmsXmlTemplateLoad
er.java:200)
        at
com.opencms.legacy.CmsXmlTemplateLoader.generateOutput(CmsXmlTemplateLoader.
java:489)
        at
com.opencms.legacy.CmsXmlTemplateLoader.processXmlTemplate(CmsXmlTemplateLoa
der.java:719)
        at
com.opencms.legacy.CmsXmlTemplateLoader.load(CmsXmlTemplateLoader.java:635)
        at
org.opencms.loader.CmsResourceManager.loadResource(CmsResourceManager.java:6
75)
        at org.opencms.main.OpenCmsCore.showResource(OpenCmsCore.java:1309)
        at org.opencms.main.OpenCmsServlet.doGet(OpenCmsServlet.java:114)
        at org.opencms.main.OpenCmsServlet.doPost(OpenCmsServlet.java:126)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
        at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:237)
        at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:157)
        at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
va:214)
        at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContex
t.java:104)
        at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
        at
org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContext
Valve.java:198)
        at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja
va:152)
        at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContex
t.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(StandardValveContex
t.java:104)
        at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118
)
        at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContex
t.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(StandardValveContex
t.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.processConne
ction(Http11Protocol.java:705)
        at
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
        at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.jav
a:683)
        at java.lang.Thread.run(Thread.java:534)
 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20050510/3dce1a05/attachment.htm>


More information about the opencms-dev mailing list