<html><body>
<p>Hello Paul,<br>
<br>
the problem was in the opencms-modules.xml AND in some ~.xsd-files. So now after that correction these templates are usable.<br>
<br>
Thank you for your expiditious answer!<br>
<br>
Best regards<br>
<br>
Frank<br>
<br>
<br>
<img width="16" height="16" src="cid:1__=4EBBFF29DFDA5C038f9e8a93@vater-gruppe.de" border="0" alt="Inactive hide details for Paul-Inge Flakstad ---18.05.2009 00:51:18---Hi Frank You will have to restart your server (e.g. Tomca"><font color="#424282">Paul-Inge Flakstad ---18.05.2009 00:51:18---Hi Frank You will have to restart your server (e.g. Tomcat) after adding new resource types before y</font><br>
<br>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr valign="top"><td width="1%"><img width="96" height="1" src="cid:2__=4EBBFF29DFDA5C038f9e8a93@vater-gruppe.de" border="0" alt=""><br>
<font size="2" color="#5F5F5F">Von:</font></td><td width="100%"><img width="1" height="1" src="cid:2__=4EBBFF29DFDA5C038f9e8a93@vater-gruppe.de" border="0" alt=""><br>
<font size="2">Paul-Inge Flakstad <flakstad@npolar.no></font></td></tr>
<tr valign="top"><td width="1%"><img width="96" height="1" src="cid:2__=4EBBFF29DFDA5C038f9e8a93@vater-gruppe.de" border="0" alt=""><br>
<font size="2" color="#5F5F5F">An:</font></td><td width="100%"><img width="1" height="1" src="cid:2__=4EBBFF29DFDA5C038f9e8a93@vater-gruppe.de" border="0" alt=""><br>
<font size="2">The OpenCms mailing list <opencms-dev@opencms.org></font></td></tr>
<tr valign="top"><td width="1%"><img width="96" height="1" src="cid:2__=4EBBFF29DFDA5C038f9e8a93@vater-gruppe.de" border="0" alt=""><br>
<font size="2" color="#5F5F5F">Datum:</font></td><td width="100%"><img width="1" height="1" src="cid:2__=4EBBFF29DFDA5C038f9e8a93@vater-gruppe.de" border="0" alt=""><br>
<font size="2">18.05.2009 00:51</font></td></tr>
<tr valign="top"><td width="1%"><img width="96" height="1" src="cid:2__=4EBBFF29DFDA5C038f9e8a93@vater-gruppe.de" border="0" alt=""><br>
<font size="2" color="#5F5F5F">Betreff:</font></td><td width="100%"><img width="1" height="1" src="cid:2__=4EBBFF29DFDA5C038f9e8a93@vater-gruppe.de" border="0" alt=""><br>
<font size="2">Re: [opencms-dev] error on several structured content items in Workplace Explorer (e.g. article)</font></td></tr>
<tr valign="top"><td width="1%"><img width="96" height="1" src="cid:2__=4EBBFF29DFDA5C038f9e8a93@vater-gruppe.de" border="0" alt=""><br>
<font size="2" color="#5F5F5F">Gesendet von:</font></td><td width="100%"><img width="1" height="1" src="cid:2__=4EBBFF29DFDA5C038f9e8a93@vater-gruppe.de" border="0" alt=""><br>
<font size="2">opencms-dev-bounces@opencms.org</font></td></tr>
</table>
<hr width="100%" size="2" align="left" noshade style="color:#8091A5; "><br>
<br>
<br>
<font color="#0000FF" face="Arial">Hi Frank</font><br>
<font size="4"> </font><br>
<font color="#0000FF" face="Arial">You will have to restart your server (e.g. Tomcat) after adding new resource types before you can create an instance of the new resource type.</font><br>
<font size="4"> </font><br>
<font color="#0000FF" face="Arial">If this does not solve your problem, take a look at your XSD files and check for errors. There's really no way to tell from the exception stack trace exactly where the error is, but at line four from the top, you see a reference to the CmsXmlContentDefinition class.</font><br>
<font size="4"> </font><br>
<font color="#0000FF" face="Arial">Check that your link paths to other XSDs are correct, that you've followed the naming rules (the plural "s" where required, and so on), and that your element type names are correct.</font><br>
<font size="4"> </font><br>
<font color="#0000FF" face="Arial">I've encountered this exception several times, most times the problem has been a typo in one or more of my XSD files.</font><font size="4"> </font><br>
<font size="4"> </font><br>
<font color="#0000FF" face="Arial">Hope this helps.</font><br>
<font size="4"> </font><br>
<font color="#0000FF" face="Arial">Cheers,</font><br>
<font color="#0000FF" face="Arial">-Paul</font><br>
<font size="4"> </font><br>
<br>
<hr width="100%" size="2" align="left"><b><font face="Tahoma">From:</font></b><font face="Tahoma"> opencms-dev-bounces@opencms.org [</font><font face="Tahoma"><a href="mailto:opencms-dev-bounces@opencms.org">mailto:opencms-dev-bounces@opencms.org</a></font><font face="Tahoma">] </font><b><font face="Tahoma">On Behalf Of </font></b><font face="Tahoma">Frank Pertack</font><b><font face="Tahoma"><br>
Sent:</font></b><font face="Tahoma"> 17. mai 2009 20:37</font><b><font face="Tahoma"><br>
To:</font></b><font face="Tahoma"> opencms-dev@opencms.org</font><b><font face="Tahoma"><br>
Subject:</font></b><font face="Tahoma"> [opencms-dev] error on several structured content items in Workplace Explorer (e.g. article)</font><font size="4"><br>
</font>
<p><font size="4">hello,<br>
<br>
I am trying to build a page with the "structured content" ("strukturierter Inhalt") in OpenCms 7.05.<br>
After the Input of the filename (create a new file) and pressing "continue >>" I get the following error:<br>
<br>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ </font>
<table border="1">
<tr valign="top"><td width="257">
<table border="1">
<tr valign="top"><td width="245">
<table border="0" cellspacing="0" cellpadding="0">
<tr valign="top"><td width="238"><b><font face="Verdana">Error</font></b><font face="Verdana">Unmarshalling XML document failed.<br>
Reason: null Nested exception: null </font></td></tr>
</table>
</td></tr>
</table>
</td></tr>
</table>
<tt><font size="5"><br>
org.opencms.xml.CmsXmlException: Unmarshalling XML document failed.<br>
at org.opencms.xml.CmsXmlUtils.unmarshalHelper(CmsXmlUtils.java:654)<br>
at org.opencms.xml.CmsXmlUtils.unmarshalHelper(CmsXmlUtils.java:617)<br>
at org.opencms.xml.CmsXmlContentDefinition.unmarshal(CmsXmlContentDefinition.java:252)<br>
at org.opencms.file.types.CmsResourceTypeXmlContent.createResource(CmsResourceTypeXmlContent.java:138)<br>
at org.opencms.file.CmsObject.createResource(CmsObject.java:733)<br>
at org.opencms.workplace.explorer.CmsNewResourceXmlContent.actionCreateResource(CmsNewResourceXmlContent.java:180)<br>
at org.apache.jsp.WEB_002dINF.jsp.offline.system.workplace.commons.newresource_005fxmlcontent_jsp._jspService(newresource_005fxmlcontent_jsp.java:77)<br>
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)<br>
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)<br>
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:374)<br>
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:342)<br>
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:267)<br>
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)<br>
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)<br>
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)<br>
at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:630)<br>
at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:436)<br>
at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:374)<br>
at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:302)<br>
at org.opencms.loader.CmsJspLoader.load(CmsJspLoader.java:1168)<br>
at org.opencms.loader.CmsResourceManager.loadResource(CmsResourceManager.java:964)<br>
at org.opencms.main.OpenCmsCore.showResource(OpenCmsCore.java:1498)<br>
at org.opencms.main.OpenCmsServlet.doGet(OpenCmsServlet.java:152)<br>
at org.opencms.main.OpenCmsServlet.doPost(OpenCmsServlet.java:164)<br>
at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)<br>
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)<br>
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)<br>
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)<br>
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)<br>
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)<br>
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)<br>
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)<br>
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)<br>
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)<br>
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:845)<br>
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)<br>
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)<br>
at java.lang.Thread.run(Unknown Source)<br>
Caused by: org.dom4j.DocumentException: null Nested exception: null<br>
at org.dom4j.io.SAXReader.read(SAXReader.java:484)<br>
at org.opencms.xml.CmsXmlUtils.unmarshalHelper(CmsXmlUtils.java:652)<br>
... 37 more</font></tt><font size="4"><br>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~</font><tt><font size="5"><br>
Does anybody have an idea why I get that error and what I have to do to get rid of that?<br>
I didn't occur in the beginning, before I adapted the example "opencms-sausage"-website.</font></tt><font size="4"><br>
</font><tt><font size="5"><br>
Thank you in advance.</font></tt><font size="4"><br>
</font><tt><font size="5"><br>
Frank Pertack</font></tt><font size="4"><br>
<br>
Frank Pertack<br>
<br>
<br>
Vater Solution GmbH<br>
Liebigstraße 26<br>
24145 Kiel<br>
<br>
Telefon: +49 431 20084-210<br>
Telefax: +49 431 20084-222<br>
Mobil: +49 151 16353519<br>
mailto: fpertack@vater-gruppe.de</font><u><font size="4" color="#0000FF"><br>
</font></u><a href="http://www.vater-gruppe.de/"><u><font size="4" color="#0000FF">http://www.vater-gruppe.de</font></u></a><font size="4"><br>
<br>
Amtsgericht Kiel, HRB 6403 <br>
Geschäftsführer:<br>
Klaus-Hinrich Vater<br>
Michael Wiese<br>
-----<br>
Diese Email enthält ggfs. vertrauliche und/oder rechtlich geschützte Informationen. Wenn Sie nicht der richtige Adressat sind oder diese Email irrtümlich erhalten haben, informieren Sie bitte sofort den Absender und vernichten Sie diese Email. Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Email sind nicht gestattet.</font><tt><br>
_______________________________________________<br>
This mail is sent to you from the opencms-dev mailing list<br>
To change your list options, or to unsubscribe from the list, please visit<br>
</tt><tt><a href="http://lists.opencms.org/mailman/listinfo/opencms-dev">http://lists.opencms.org/mailman/listinfo/opencms-dev</a></tt>
<p><br>
<br>
Frank Pertack<br>
<br>
<br>
Vater Solution GmbH<br>
Liebigstraße 26<br>
24145 Kiel<br>
<br>
Telefon: +49 431 20084-210<br>
Telefax: +49 431 20084-222<br>
Mobil: +49 151 16353519<br>
mailto: fpertack@vater-gruppe.de<br>
<a href="http://www.vater-gruppe.de">http://www.vater-gruppe.de</a><br>
<br>
Amtsgericht Kiel, HRB 6403 <br>
Geschäftsführer:<br>
Klaus-Hinrich Vater<br>
Michael Wiese<br>
-----<br>
Diese Email enthält ggfs. vertrauliche und/oder rechtlich geschützte Informationen. Wenn Sie nicht der richtige Adressat sind oder diese Email irrtümlich erhalten haben, informieren Sie bitte sofort den Absender und vernichten Sie diese Email. Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Email sind nicht gestattet.</body></html>