[opencms-dev] Can't create new html files in Alpha 1

Alexander Kandzior alex at opencms.org
Wed Sep 22 12:49:36 CEST 2004


Just make sure the Xerces version actually used is 2.x, not 1.x. 

The xerces version used by OpenCms shown on the setup wizard "test" screen. 
However, in the alpha 1 Xerces 1.x gives an "ok" result, which is wrong.

Best Regards,
Alex.

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

 

> -----Original Message-----
> From: opencms-dev-bounces at opencms.org 
> [mailto:opencms-dev-bounces at opencms.org] On Behalf Of Ivo Pescia
> Sent: Wednesday, September 22, 2004 12:01 PM
> To: The OpenCms mailing list
> Subject: RE: [opencms-dev] Can't create new html files in Alpha 1
> 
> Hi Alex,
> 
> yes on this machine i had a OpenCMS 5 Version running where 
> i've had replaced the xerces.jar.
> 
> 
> I'll reinstall everything from scratch and install opencms 
> 6.0 directly. Let's see if it works. I'll post the results.
> 
> 
> On Wed, 22 Sep 2004 07:37:02 +0200, "Alexander Kandzior" 
> <alex at opencms.org> 
> wrote :
> 
> > Ivo,
> > 
> > Apparently the OpenCms XML Entitiy resolver
> > (org.opencms.xml.CmsXmlEntitiyResolver) does not work as 
> expected on your
> > environment. 
> > 
> > Did you install OpenCms 6 on a server OpenCms 5 is running 
> on and you have
> > replaced the XML Xerces there with the 1.4.4 version as 
> required for 
> OpenCms
> > 5?
> > 
> > Best Regards,
> > Alex.
> > 
> > Alexander Kandzior
> > Alkacon Software - The OpenCms Experts
> > http://www.alkacon.com
> > 
> >  
> > 
> > > -----Original Message-----
> > > From: opencms-dev-bounces at opencms.org 
> > > [mailto:opencms-dev-bounces at opencms.org] On Behalf Of Ivo Pescia
> > > Sent: Wednesday, September 22, 2004 12:17 AM
> > > To: opencms-dev at opencms.org
> > > Subject: [opencms-dev] Can't create new html files in Alpha 1
> > > 
> > > Hi, i installed alpha 1
> > > on following setup.
> > > Installation works fine,
> > > only problem is it won't me let create .html files
> > > 
> > > 
> > > I can create other files, and i can alter existing 
> > > .html files with the html editor.
> > > 
> > > Current Environment:
> > > OpenCms version is: 6.0 alpha 1 Caladan
> > > 
> > > Running on Sun Microsystems Inc. Java HotSpot(TM) Client VM 
> > > 1.4.2-b28 mixed 
> > > mode with Windows XP 5.1 (x86)
> > > Tomcat: Apache Tomcat/5.0.18
> > > 
> > > 
> > > org.opencms.xml.CmsXmlException: XML validation error:
> > > 
> > > <errors>
> > >   <error column="137" line="3">Schema error: type not 
> > > found : :OpenCmsHtml.</error>
> > >   <error column="137" line="3">Schema error: untyped element : 
> > > element.</error>
> > >   <error column="137" line="3">Schema error: simpleType 
> not found : 
> > > (:OpenCmsLocale) -- (local attribute) language .</error>
> > >   <error column="137" line="3">Schema error: attribute 
> > > language has an 
> > > unrecognized type OpenCmsLocale.</error>
> > >   <error column="23" line="4">Attribute "language" must be 
> > > declared for 
> > > element type "page".</error>
> > >   <error column="26" line="5">Element type "element" must be 
> > > declared.</error>
> > >   <error column="26" line="5">Attribute "name" must be 
> > > declared for element 
> > > type "element".</error>
> > >   <error column="15" line="6">Element type "links" must be 
> > > declared.</error>
> > >   <error column="17" line="7">Element type "content" must be 
> > > declared.</error>
> > > </errors>
> > > 
> > > The verfified XML content was:
> > > 
> -------------------------------------------------------------------
> > > <?xml version="1.0" encoding="UTF-8"?>
> > > 
> > > <pages xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
> > > xsi:noNamespaceSchemaLocation="http://www.opencms.org/dtd/6.0/
> > > xmlpage.xsd">
> > >   <page language="en">
> > >     <element name="body">
> > >       <links/>
> > >       <content/>
> > >     </element>
> > >   </page>
> > > </pages>
> > > 
> > > 
> -------------------------------------------------------------------
> > > 
> > >  [Code 400 - Error in xml processing]
> > > 	at org.opencms.xml.CmsXmlUtils.validateXmlStructure
> > > (CmsXmlUtils.java:278)
> > > 	at org.opencms.xml.A_CmsXmlDocument.validateXmlStructure
> > > (A_CmsXmlDocument.java:311)
> > > 	at org.opencms.file.types.CmsResourceTypeXmlPage.writeFile
> > > (CmsResourceTypeXmlPage.java:193)
> > > 	at org.opencms.file.CmsObject.writeFile(CmsObject.java:670)
> > > 	at 
> > > org.opencms.workplace.editors.CmsDefaultPageEditor.initBodyEle
> > > mentLanguage
> > > (CmsDefaultPageEditor.java:459)
> > > 	at 
> > > org.opencms.workplace.editors.CmsSimplePageEditor.initWorkplac
> > > eRequestValues
> > > (CmsSimplePageEditor.java:159)
> > > 	at 
> > > org.opencms.workplace.CmsWorkplace.<init>(CmsWorkplace.java:172)
> > > 	at org.opencms.workplace.CmsDialog.<init>(CmsDialog.java:171)
> > > 	at org.opencms.workplace.editors.CmsEditor.<init>
> > > (CmsEditor.java:154)
> > > 	at org.opencms.workplace.editors.CmsDefaultPageEditor.<init>
> > > (CmsDefaultPageEditor.java:107)
> > > 	at org.opencms.workplace.editors.CmsSimplePageEditor.<init>
> > > (CmsSimplePageEditor.java:70)
> > > 	at org.opencms.workplace.editors.CmsMSDHtmlEditor.<init>
> > > (CmsMSDHtmlEditor.java:72)
> > > 	at 
> > > org.apache.jsp.WEB_002dINF.jsp.offline.system.workplace.editor
> > s.msdhtml.edit
> > > or_jsp._jspService(editor_jsp.java:54)
> > > 	at org.apache.jasper.runtime.HttpJspBase.service
> > > (HttpJspBase.java:133)
> > > 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
> > > 	at org.apache.jasper.servlet.JspServletWrapper.service
> > > (JspServletWrapper.java:311)
> > > 	at org.apache.jasper.servlet.JspServlet.serviceJspFile
> > > (JspServlet.java:301)
> > > 	at 
> > > org.apache.jasper.servlet.JspServlet.service(JspServlet.java:248)
> > > 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
> > > 	at 
> > > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter
> > > (ApplicationFilterChain.java:284)
> > > 	at org.apache.catalina.core.ApplicationFilterChain.doFilter
> > > (ApplicationFilterChain.java:204)
> > > 	at org.apache.catalina.core.ApplicationDispatcher.invoke
> > > (ApplicationDispatcher.java:742)
> > > 	at org.apache.catalina.core.ApplicationDispatcher.doInclude
> > > (ApplicationDispatcher.java:630)
> > > 	at org.apache.catalina.core.ApplicationDispatcher.include
> > > (ApplicationDispatcher.java:542)
> > > 	at org.opencms.flex.CmsFlexRequestDispatcher.includeExternal
> > > (CmsFlexRequestDispatcher.java:357)
> > > 	at org.opencms.flex.CmsFlexRequestDispatcher.include
> > > (CmsFlexRequestDispatcher.java:163)
> > > 	at 
> > > org.opencms.loader.CmsJspLoader.service(CmsJspLoader.java:411)
> > > 	at org.opencms.flex.CmsFlexRequestDispatcher.include
> > > (CmsFlexRequestDispatcher.java:293)
> > > 	at org.opencms.jsp.CmsJspTagInclude.includeTagAction
> > > (CmsJspTagInclude.java:396)
> > > 	at org.opencms.jsp.CmsJspActionElement.include
> > > (CmsJspActionElement.java:245)
> > > 	at org.opencms.jsp.CmsJspActionElement.include
> > > (CmsJspActionElement.java:190)
> > > 	at 
> > > org.apache.jsp.WEB_002dINF.jsp.offline.system.workplace.editor
> > s.editor_005fm
> > > ain_jsp._jspService(editor_005fmain_jsp.java:48)
> > > 	at org.apache.jasper.runtime.HttpJspBase.service
> > > (HttpJspBase.java:133)
> > > 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
> > > 	at org.apache.jasper.servlet.JspServletWrapper.service
> > > (JspServletWrapper.java:311)
> > > 	at org.apache.jasper.servlet.JspServlet.serviceJspFile
> > > (JspServlet.java:301)
> > > 	at 
> > > org.apache.jasper.servlet.JspServlet.service(JspServlet.java:248)
> > > 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
> > > 	at 
> > > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter
> > > (ApplicationFilterChain.java:284)
> > > 	at org.apache.catalina.core.ApplicationFilterChain.doFilter
> > > (ApplicationFilterChain.java:204)
> > > 	at org.apache.catalina.core.ApplicationDispatcher.invoke
> > > (ApplicationDispatcher.java:742)
> > > 	at org.apache.catalina.core.ApplicationDispatcher.doInclude
> > > (ApplicationDispatcher.java:630)
> > > 	at org.apache.catalina.core.ApplicationDispatcher.include
> > > (ApplicationDispatcher.java:542)
> > > 	at org.opencms.flex.CmsFlexRequestDispatcher.includeExternal
> > > (CmsFlexRequestDispatcher.java:357)
> > > 	at org.opencms.flex.CmsFlexRequestDispatcher.include
> > > (CmsFlexRequestDispatcher.java:163)
> > > 	at 
> > > org.opencms.loader.CmsJspLoader.service(CmsJspLoader.java:411)
> > > 	at org.opencms.flex.CmsFlexRequestDispatcher.include
> > > (CmsFlexRequestDispatcher.java:293)
> > > 	at org.opencms.loader.CmsJspLoader.dispatchJsp
> > > (CmsJspLoader.java:431)
> > > 	at org.opencms.loader.CmsJspLoader.load(CmsJspLoader.java:388)
> > > 	at org.opencms.loader.CmsResourceManager.loadResource
> > > (CmsResourceManager.java:466)
> > > 	at 
> > > org.opencms.main.OpenCmsCore.showResource(OpenCmsCore.java:1305)
> > > 	at 
> > > org.opencms.main.OpenCmsServlet.doGet(OpenCmsServlet.java:103)
> > > 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:743)
> > > 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
> > > 	at 
> > > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter
> > > (ApplicationFilterChain.java:284)
> > > 	at org.apache.catalina.core.ApplicationFilterChain.doFilter
> > > (ApplicationFilterChain.java:204)
> > > 	at org.apache.catalina.core.StandardWrapperValve.invoke
> > > (StandardWrapperValve.java:257)
> > > 	at org.apache.catalina.core.StandardValveContext.invokeNext
> > > (StandardValveContext.java:151)
> > > 	at org.apache.catalina.core.StandardPipeline.invoke
> > > (StandardPipeline.java:564)
> > > 	at org.apache.catalina.core.StandardContextValve.invokeInternal
> > > (StandardContextValve.java:245)
> > > 	at org.apache.catalina.core.StandardContextValve.invoke
> > > (StandardContextValve.java:199)
> > > 	at org.apache.catalina.core.StandardValveContext.invokeNext
> > > (StandardValveContext.java:151)
> > > 	at org.apache.catalina.core.StandardPipeline.invoke
> > > (StandardPipeline.java:564)
> > > 	at org.apache.catalina.core.StandardHostValve.invoke
> > > (StandardHostValve.java:195)
> > > 	at org.apache.catalina.core.StandardValveContext.invokeNext
> > > (StandardValveContext.java:151)
> > > 	at org.apache.catalina.valves.ErrorReportValve.invoke
> > > (ErrorReportValve.java:164)
> > > 	at org.apache.catalina.core.StandardValveContext.invokeNext
> > > (StandardValveContext.java:149)
> > > 	at org.apache.catalina.core.StandardPipeline.invoke
> > > (StandardPipeline.java:564)
> > > 	at org.apache.catalina.core.StandardEngineValve.invoke
> > > (StandardEngineValve.java:156)
> > > 	at org.apache.catalina.core.StandardValveContext.invokeNext
> > > (StandardValveContext.java:151)
> > > 	at org.apache.catalina.core.StandardPipeline.invoke
> > > (StandardPipeline.java:564)
> > > 	at org.apache.catalina.core.ContainerBase.invoke
> > > (ContainerBase.java:972)
> > > 	at org.apache.coyote.tomcat5.CoyoteAdapter.service
> > > (CoyoteAdapter.java:206)
> > > 	at org.apache.coyote.http11.Http11Processor.process
> > > (Http11Processor.java:828)
> > > 	at 
> > > org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandle
> > r.processConne
> > > ction(Http11Protocol.java:700)
> > > 	at org.apache.tomcat.util.net.TcpWorkerThread.runIt
> > > (PoolTcpEndpoint.java:584)
> > > 	at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run
> > > (ThreadPool.java:683)
> > > 	at java.lang.Thread.run(Thread.java:534
> > > 
> > > 
> > > _______________________________________________
> > > 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 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 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