[opencms-dev] Importing an existing website - more help neede d!!
BARDE, CEDRIC
CEDRIC.BARDE at disney.com
Thu Feb 20 15:38:28 CET 2003
Kai,
I really appreciate your help. I am still working on my problem and i will
let you know as soon as I get something interesting.
Thanx again!
Ced
> -----Original Message-----
> From: Schmidt, Kai [SMTP:Kai.Schmidt at bonprix.net]
> Sent: jeudi 20 février 2003 14:46
> To: 'opencms-dev at www.opencms.org'
> Subject: AW: [opencms-dev] Importing an existing website - more help
> neede d!!
>
> Hi Ced,
>
> First: sorry, I can´t give you an exact answer!
> I never had these probs but as I am no technician I just can suppose what
> is
> happening at your side.
> While importing an zip-file - as far as I understood - Opencms actually
> "creates" two new (xml-)files:
> - a page control file which contains information about the
> (master)template
> and the body of the page
> - a "body" which includes the content displayed (you can find it at
> system/bodies)
>
> In this second file the former html"code" is put in a CDATA section which
> means that the xml-parser will ignore it. So maybe your former html-code
> contains some invalid characters.
>
> One more point I noticed to be problematic:
>
> I also tried to import a small zip-file with the 5.0RC2 and got an empty
> <mastertemplate>-tag. It is not possible to open the page in any editor
> and
> select another template, because you get an error before:
> "com.opencms.core.CmsException: 25 XML tag missing. Detailed error:
> "MASTERTEMPLATE" definition tag not found in file /test/testimport.html.."
> So you will have to add the mastertemplate manually in the page conrol
> file.
> If you have a lot of pages...(I helped myself in using the synchronization
> feature and searching and replacing in files with UltraEdit).
> As far as I remember I never had these template-problems with importing in
> older versions. Does anybody have a solution?
>
> Best regards, Kai
>
>
>
>
>
>
> > Hi again Kai,
> >
> > I went to the Administration view, in the Resource Type
> > Management and I
> > changed to pagetype-assignments, by adding .HTM and .HTML to
> > the "Typ: page"
> > topic. I hope it was the right thing to do.
> > But now, when I try to import my ZIP file, I get the
> > following error, and I
> > do not understand why... It looks like the system tries to
> > parse an HTML
> > file just as an XML file...
> >
> > Thanx a lot in advance for your help!
> > Ced
> >
> > com.opencms.core.CmsException: 0 Unknown exception. Detailed error:
> > CmsException ID: 0.
> > root cause was com.opencms.core.CmsException: 0 Unknown
> > exception. Detailed
> > error: CmsException ID: 0.
> > root cause was com.opencms.core.CmsException: 21 XML parsing
> > error. Detailed
> > error: Cannot parse XML file
> > "/system/bodies/Import_Site/Wts/default.htm".
> > java.io.UTFDataFormatException: Invalid byte 2 of 3-byte
> > UTF-8 sequence..
> > at
> > com.opencms.file.CmsImportFolder.<init>(CmsImportFolder.java:160)
> > at
> > com.opencms.workplace.CmsNewResourceUpload.getContent(CmsNewRe
> > sourceUpload.j
> > ava:205)
> > at
> > com.opencms.template.cache.CmsElementXml.getContent(CmsElement
> > Xml.java:170)
> > at
> > com.opencms.template.cache.CmsUri.callCanonicalRoot(CmsUri.java:185)
> > at
> > com.opencms.template.cache.CmsElementCache.callCanonicalRoot(C
> > msElementCache
> > .java:149)
> > at
> > com.opencms.launcher.CmsXmlLauncher.generateOutput(CmsXmlLaunc
> > her.java:285)
> > at
> > com.opencms.launcher.CmsXmlLauncher.launch(CmsXmlLauncher.java:341)
> > at
> > com.opencms.launcher.A_CmsLauncher.initlaunch(A_CmsLauncher.java:277)
> > at com.opencms.core.OpenCms.showResource(OpenCms.java:840)
> > at
> > com.opencms.core.OpenCmsHttpServlet.doGet(OpenCmsHttpServlet.java:282)
> > at
> > com.opencms.core.OpenCmsHttpServlet.doPost(OpenCmsHttpServlet.
> > java:303)
> > at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
> > at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> > at
> > org.apache.catalina.core.ApplicationFilterChain.internalDoFilt
> > er(Application
> > FilterChain.java:247)
> > at
> > org.apache.catalina.core.ApplicationFilterChain.doFilter(Appli
> > cationFilterCh
> > ain.java:193)
> > at
> > org.apache.catalina.core.StandardWrapperValve.invoke(StandardW
> > rapperValve.ja
> > va:260)
> > at
> > org.apache.catalina.core.StandardPipeline$StandardPipelineValv
> > eContext.invok
> > eNext(StandardPipeline.java:643)
> > at
> > org.apache.catalina.core.StandardPipeline.invoke(StandardPipel
> > ine.java:480)
> > at
> > org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
> > at
> > org.apache.catalina.core.StandardContextValve.invoke(StandardC
> > ontextValve.ja
> > va:191)
> > at
> > org.apache.catalina.core.StandardPipeline$StandardPipelineValv
> > eContext.invok
> > eNext(StandardPipeline.java:643)
> > at
> > org.apache.catalina.core.StandardPipeline.invoke(StandardPipel
> > ine.java:480)
> > at
> > org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
> > at
> > org.apache.catalina.core.StandardContext.invoke(StandardContex
> > t.java:2415)
> > at
> > org.apache.catalina.core.StandardHostValve.invoke(StandardHost
> > Valve.java:180
> > )
> > at
> > org.apache.catalina.core.StandardPipeline$StandardPipelineValv
> > eContext.invok
> > eNext(StandardPipeline.java:643)
> > at
> > org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDi
> > spatcherValve.
> > java:170)
> > at
> > org.apache.catalina.core.StandardPipeline$StandardPipelineValv
> > eContext.invok
> > eNext(StandardPipeline.java:641)
> > at
> > org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReport
> > Valve.java:172
> > )
> > at
> > org.apache.catalina.core.StandardPipeline$StandardPipelineValv
> > eContext.invok
> > eNext(StandardPipeline.java:641)
> > at
> > org.apache.catalina.core.StandardPipeline.invoke(StandardPipel
> > ine.java:480)
> > at
> > org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
> > at
> > org.apache.catalina.core.StandardEngineValve.invoke(StandardEn
> > gineValve.java
> > :174)
> > at
> > org.apache.catalina.core.StandardPipeline$StandardPipelineValv
> > eContext.invok
> > eNext(StandardPipeline.java:643)
> > at
> > org.apache.catalina.core.StandardPipeline.invoke(StandardPipel
> > ine.java:480)
> > at
> > org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
> > at
> > org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.
> > java:223)
> > at
> > org.apache.coyote.http11.Http11Processor.process(Http11Process
> > or.java:432)
> > at
> > org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandle
> > r.processConne
> > ction(Http11Protocol.java:386)
> > at
> > org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoi
> > nt.java:534)
> > at
> > org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(
> > ThreadPool.jav
> > a:530)
> > at java.lang.Thread.run(Thread.java:536)
> > >-----------
> > >Root cause:
> > >com.opencms.core.CmsException: 0 Unknown exception. Detailed error:
> > CmsException ID: 0.
> > >root cause was com.opencms.core.CmsException: 21 XML parsing error.
> > Detailed error: Cannot parse XML file
> > "/system/bodies/Import_Site/Wts/default.htm".
> > java.io.UTFDataFormatException: Invalid byte 2 of 3-byte
> > UTF-8 sequence..
> > > at
> > com.opencms.file.CmsImportFolder.importZipResource(CmsImportFo
> > lder.java:395)
> > > at
> > com.opencms.file.CmsImportFolder.<init>(CmsImportFolder.java:151)
> > > at
> > com.opencms.workplace.CmsNewResourceUpload.getContent(CmsNewRe
> > sourceUpload.j
> > ava:205)
> > > at
> > com.opencms.template.cache.CmsElementXml.getContent(CmsElement
> > Xml.java:170)
> > > at
> > com.opencms.template.cache.CmsUri.callCanonicalRoot(CmsUri.java:185)
> > > at
> > com.opencms.template.cache.CmsElementCache.callCanonicalRoot(C
> > msElementCache
> > .java:149)
> > > at
> > com.opencms.launcher.CmsXmlLauncher.generateOutput(CmsXmlLaunc
> > her.java:285)
> > > at
> > com.opencms.launcher.CmsXmlLauncher.launch(CmsXmlLauncher.java:341)
> > > at
> > com.opencms.launcher.A_CmsLauncher.initlaunch(A_CmsLauncher.java:277)
> > > at com.opencms.core.OpenCms.showResource(OpenCms.java:840)
> > > at
> > com.opencms.core.OpenCmsHttpServlet.doGet(OpenCmsHttpServlet.java:282)
> > > at
> > com.opencms.core.OpenCmsHttpServlet.doPost(OpenCmsHttpServlet.
> > java:303)
> > > at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
> > > at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> > > at
> > org.apache.catalina.core.ApplicationFilterChain.internalDoFilt
> > er(Application
> > FilterChain.java:247)
> > > at
> > org.apache.catalina.core.ApplicationFilterChain.doFilter(Appli
> > cationFilterCh
> > ain.java:193)
> > > at
> > org.apache.catalina.core.StandardWrapperValve.invoke(StandardW
> > rapperValve.ja
> > va:260)
> > > at
> > org.apache.catalina.core.StandardPipeline$StandardPipelineValv
> > eContext.invok
> > eNext(StandardPipeline.java:643)
> > > at
> > org.apache.catalina.core.StandardPipeline.invoke(StandardPipel
> > ine.java:480)
> > > at
> > org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
> > > at
> > org.apache.catalina.core.StandardContextValve.invoke(StandardC
> > ontextValve.ja
> > va:191)
> > > at
> > org.apache.catalina.core.StandardPipeline$StandardPipelineValv
> > eContext.invok
> > eNext(StandardPipeline.java:643)
> > > at
> > org.apache.catalina.core.StandardPipeline.invoke(StandardPipel
> > ine.java:480)
> > > at
> > org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
> > > at
> > org.apache.catalina.core.StandardContext.invoke(StandardContex
> > t.java:2415)
> > > at
> > org.apache.catalina.core.StandardHostValve.invoke(StandardHost
> > Valve.java:180
> > )
> > > at
> > org.apache.catalina.core.StandardPipeline$StandardPipelineValv
> > eContext.invok
> > eNext(StandardPipeline.java:643)
> > > at
> > org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDi
> > spatcherValve.
> > java:170)
> > > at
> > org.apache.catalina.core.StandardPipeline$StandardPipelineValv
> > eContext.invok
> > eNext(StandardPipeline.java:641)
> > > at
> > org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReport
> > Valve.java:172
> > )
> > > at
> > org.apache.catalina.core.StandardPipeline$StandardPipelineValv
> > eContext.invok
> > eNext(StandardPipeline.java:641)
> > > at
> > org.apache.catalina.core.StandardPipeline.invoke(StandardPipel
> > ine.java:480)
> > > at
> > org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
> > > at
> > org.apache.catalina.core.StandardEngineValve.invoke(StandardEn
> > gineValve.java
> > :174)
> > > at
> > org.apache.catalina.core.StandardPipeline$StandardPipelineValv
> > eContext.invok
> > eNext(StandardPipeline.java:643)
> > > at
> > org.apache.catalina.core.StandardPipeline.invoke(StandardPipel
> > ine.java:480)
> > > at
> > org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
> > > at
> > org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.
> > java:223)
> > > at
> > org.apache.coyote.http11.Http11Processor.process(Http11Process
> > or.java:432)
> > > at
> > org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandle
> > r.processConne
> > ction(Http11Protocol.java:386)
> > > at
> > org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoi
> > nt.java:534)
> > > at
> > org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(
> > ThreadPool.jav
> > a:530)
> > > at java.lang.Thread.run(Thread.java:536)
> > >>-----------
> > >>Root cause:
> > >>com.opencms.core.CmsException: 21 XML parsing error. Detailed error:
> > Cannot parse XML file "/system/bodies/Import_Site/Wts/default.htm".
> > java.io.UTFDataFormatException: Invalid byte 2 of 3-byte
> > UTF-8 sequence..
> > >> at
> > com.opencms.template.A_CmsXmlContent.throwException(A_CmsXmlCo
> > ntent.java:187
> > 9)
> > >> at
> > com.opencms.template.A_CmsXmlContent.parse(A_CmsXmlContent.java:1280)
> > >> at
> > com.opencms.template.A_CmsXmlContent.parse(A_CmsXmlContent.java:1247)
> > >> at
> > com.opencms.template.A_CmsXmlContent.init(A_CmsXmlContent.java:1048)
> > >> at
> > com.opencms.template.CmsXmlTemplateFile.<init>(CmsXmlTemplateF
> > ile.java:105)
> > >> at
> > com.opencms.template.CmsXmlTemplate.getOwnTemplateFile(CmsXmlT
> > emplate.java:3
> > 99)
> > >> at
> > com.opencms.linkmanagement.LinkChecker.extractLinks(LinkChecke
> > r.java:72)
> > >> at com.opencms.file.CmsObject.getPageLinks(CmsObject.java:1859)
> > >> at
> > com.opencms.file.CmsResourceTypePage.createResource(CmsResourc
> > eTypePage.java
> > :469)
> > >> at com.opencms.file.CmsObject.createResource(CmsObject.java:961)
> > >> at com.opencms.file.CmsObject.createResource(CmsObject.java:956)
> > >> at
> > com.opencms.file.CmsImportFolder.importZipResource(CmsImportFo
> > lder.java:387)
> > >> at
> > com.opencms.file.CmsImportFolder.<init>(CmsImportFolder.java:151)
> > >> at
> > com.opencms.workplace.CmsNewResourceUpload.getContent(CmsNewRe
> > sourceUpload.j
> > ava:205)
> > >> at
> > com.opencms.template.cache.CmsElementXml.getContent(CmsElement
> > Xml.java:170)
> > >> at
> > com.opencms.template.cache.CmsUri.callCanonicalRoot(CmsUri.java:185)
> > >> at
> > com.opencms.template.cache.CmsElementCache.callCanonicalRoot(C
> > msElementCache
> > .java:149)
> > >> at
> > com.opencms.launcher.CmsXmlLauncher.generateOutput(CmsXmlLaunc
> > her.java:285)
> > >> at
> > com.opencms.launcher.CmsXmlLauncher.launch(CmsXmlLauncher.java:341)
> > >> at
> > com.opencms.launcher.A_CmsLauncher.initlaunch(A_CmsLauncher.java:277)
> > >> at com.opencms.core.OpenCms.showResource(OpenCms.java:840)
> > >> at
> > com.opencms.core.OpenCmsHttpServlet.doGet(OpenCmsHttpServlet.java:282)
> > >> at
> > com.opencms.core.OpenCmsHttpServlet.doPost(OpenCmsHttpServlet.
> > java:303)
> > >> at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
> > >> at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> > >> at
> > org.apache.catalina.core.ApplicationFilterChain.internalDoFilt
> > er(Application
> > FilterChain.java:247)
> > >> at
> > org.apache.catalina.core.ApplicationFilterChain.doFilter(Appli
> > cationFilterCh
> > ain.java:193)
> > >> at
> > org.apache.catalina.core.StandardWrapperValve.invoke(StandardW
> > rapperValve.ja
> > va:260)
> > >> at
> > org.apache.catalina.core.StandardPipeline$StandardPipelineValv
> > eContext.invok
> > eNext(StandardPipeline.java:643)
> > >> at
> > org.apache.catalina.core.StandardPipeline.invoke(StandardPipel
> > ine.java:480)
> > >> at
> > org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
> > >> at
> > org.apache.catalina.core.StandardContextValve.invoke(StandardC
> > ontextValve.ja
> > va:191)
> > >> at
> > org.apache.catalina.core.StandardPipeline$StandardPipelineValv
> > eContext.invok
> > eNext(StandardPipeline.java:643)
> > >> at
> > org.apache.catalina.core.StandardPipeline.invoke(StandardPipel
> > ine.java:480)
> > >> at
> > org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
> > >> at
> > org.apache.catalina.core.StandardContext.invoke(StandardContex
> > t.java:2415)
> > >> at
> > org.apache.catalina.core.StandardHostValve.invoke(StandardHost
> > Valve.java:180
> > )
> > >> at
> > org.apache.catalina.core.StandardPipeline$StandardPipelineValv
> > eContext.invok
> > eNext(StandardPipeline.java:643)
> > >> at
> > org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDi
> > spatcherValve.
> > java:170)
> > >> at
> > org.apache.catalina.core.StandardPipeline$StandardPipelineValv
> > eContext.invok
> > eNext(StandardPipeline.java:641)
> > >> at
> > org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReport
> > Valve.java:172
> > )
> > >> at
> > org.apache.catalina.core.StandardPipeline$StandardPipelineValv
> > eContext.invok
> > eNext(StandardPipeline.java:641)
> > >> at
> > org.apache.catalina.core.StandardPipeline.invoke(StandardPipel
> > ine.java:480)
> > >> at
> > org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
> > >> at
> > org.apache.catalina.core.StandardEngineValve.invoke(StandardEn
> > gineValve.java
> > :174)
> > >> at
> > org.apache.catalina.core.StandardPipeline$StandardPipelineValv
> > eContext.invok
> > eNext(StandardPipeline.java:643)
> > >> at
> > org.apache.catalina.core.StandardPipeline.invoke(StandardPipel
> > ine.java:480)
> > >> at
> > org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
> > >> at
> > org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.
> > java:223)
> > >> at
> > org.apache.coyote.http11.Http11Processor.process(Http11Process
> > or.java:432)
> > >> at
> > org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandle
> > r.processConne
> > ction(Http11Protocol.java:386)
> > >> at
> > org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoi
> > nt.java:534)
> > >> at
> > org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(
> > ThreadPool.jav
> > a:530)
> > >> at java.lang.Thread.run(Thread.java:536)
> >
> > com.opencms.core.CmsException: 0 Unknown exception. Detailed error:
> > CmsException ID: 0.
> > root cause was com.opencms.core.CmsException: 21 XML parsing
> > error. Detailed
> > error: Cannot parse XML file
> > "/system/bodies/Import_Site/Wts/default.htm".
> > java.io.UTFDataFormatException: Invalid byte 2 of 3-byte
> > UTF-8 sequence..
> > at
> > com.opencms.file.CmsImportFolder.importZipResource(CmsImportFo
> > lder.java:395)
> > at
> > com.opencms.file.CmsImportFolder.<init>(CmsImportFolder.java:151)
> > at
> > com.opencms.workplace.CmsNewResourceUpload.getContent(CmsNewRe
> > sourceUpload.j
> > ava:205)
> > at
> > com.opencms.template.cache.CmsElementXml.getContent(CmsElement
> > Xml.java:170)
> > at
> > com.opencms.template.cache.CmsUri.callCanonicalRoot(CmsUri.java:185)
> > at
> > com.opencms.template.cache.CmsElementCache.callCanonicalRoot(C
> > msElementCache
> > .java:149)
> > at
> > com.opencms.launcher.CmsXmlLauncher.generateOutput(CmsXmlLaunc
> > her.java:285)
> > at
> > com.opencms.launcher.CmsXmlLauncher.launch(CmsXmlLauncher.java:341)
> > at
> > com.opencms.launcher.A_CmsLauncher.initlaunch(A_CmsLauncher.java:277)
> > at com.opencms.core.OpenCms.showResource(OpenCms.java:840)
> > at
> > com.opencms.core.OpenCmsHttpServlet.doGet(OpenCmsHttpServlet.java:282)
> > at
> > com.opencms.core.OpenCmsHttpServlet.doPost(OpenCmsHttpServlet.
> > java:303)
> > at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
> > at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> > at
> > org.apache.catalina.core.ApplicationFilterChain.internalDoFilt
> > er(Application
> > FilterChain.java:247)
> > at
> > org.apache.catalina.core.ApplicationFilterChain.doFilter(Appli
> > cationFilterCh
> > ain.java:193)
> > at
> > org.apache.catalina.core.StandardWrapperValve.invoke(StandardW
> > rapperValve.ja
> > va:260)
> > at
> > org.apache.catalina.core.StandardPipeline$StandardPipelineValv
> > eContext.invok
> > eNext(StandardPipeline.java:643)
> > at
> > org.apache.catalina.core.StandardPipeline.invoke(StandardPipel
> > ine.java:480)
> > at
> > org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
> > at
> > org.apache.catalina.core.StandardContextValve.invoke(StandardC
> > ontextValve.ja
> > va:191)
> > at
> > org.apache.catalina.core.StandardPipeline$StandardPipelineValv
> > eContext.invok
> > eNext(StandardPipeline.java:643)
> > at
> > org.apache.catalina.core.StandardPipeline.invoke(StandardPipel
> > ine.java:480)
> > at
> > org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
> > at
> > org.apache.catalina.core.StandardContext.invoke(StandardContex
> > t.java:2415)
> > at
> > org.apache.catalina.core.StandardHostValve.invoke(StandardHost
> > Valve.java:180
> > )
> > at
> > org.apache.catalina.core.StandardPipeline$StandardPipelineValv
> > eContext.invok
> > eNext(StandardPipeline.java:643)
> > at
> > org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDi
> > spatcherValve.
> > java:170)
> > at
> > org.apache.catalina.core.StandardPipeline$StandardPipelineValv
> > eContext.invok
> > eNext(StandardPipeline.java:641)
> > at
> > org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReport
> > Valve.java:172
> > )
> > at
> > org.apache.catalina.core.StandardPipeline$StandardPipelineValv
> > eContext.invok
> > eNext(StandardPipeline.java:641)
> > at
> > org.apache.catalina.core.StandardPipeline.invoke(StandardPipel
> > ine.java:480)
> > at
> > org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
> > at
> > org.apache.catalina.core.StandardEngineValve.invoke(StandardEn
> > gineValve.java
> > :174)
> > at
> > org.apache.catalina.core.StandardPipeline$StandardPipelineValv
> > eContext.invok
> > eNext(StandardPipeline.java:643)
> > at
> > org.apache.catalina.core.StandardPipeline.invoke(StandardPipel
> > ine.java:480)
> > at
> > org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
> > at
> > org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.
> > java:223)
> > at
> > org.apache.coyote.http11.Http11Processor.process(Http11Process
> > or.java:432)
> > at
> > org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandle
> > r.processConne
> > ction(Http11Protocol.java:386)
> > at
> > org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoi
> > nt.java:534)
> > at
> > org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(
> > ThreadPool.jav
> > a:530)
> > at java.lang.Thread.run(Thread.java:536)
> > >-----------
> > >Root cause:
> > >com.opencms.core.CmsException: 21 XML parsing error.
> > Detailed error: Cannot
> > parse XML file "/system/bodies/Import_Site/Wts/default.htm".
> > java.io.UTFDataFormatException: Invalid byte 2 of 3-byte
> > UTF-8 sequence..
> > > at
> > com.opencms.template.A_CmsXmlContent.throwException(A_CmsXmlCo
> > ntent.java:187
> > 9)
> > > at
> > com.opencms.template.A_CmsXmlContent.parse(A_CmsXmlContent.java:1280)
> > > at
> > com.opencms.template.A_CmsXmlContent.parse(A_CmsXmlContent.java:1247)
> > > at
> > com.opencms.template.A_CmsXmlContent.init(A_CmsXmlContent.java:1048)
> > > at
> > com.opencms.template.CmsXmlTemplateFile.<init>(CmsXmlTemplateF
> > ile.java:105)
> > > at
> > com.opencms.template.CmsXmlTemplate.getOwnTemplateFile(CmsXmlT
> > emplate.java:3
> > 99)
> > > at
> > com.opencms.linkmanagement.LinkChecker.extractLinks(LinkChecke
> > r.java:72)
> > > at com.opencms.file.CmsObject.getPageLinks(CmsObject.java:1859)
> > > at
> > com.opencms.file.CmsResourceTypePage.createResource(CmsResourc
> > eTypePage.java
> > :469)
> > > at com.opencms.file.CmsObject.createResource(CmsObject.java:961)
> > > at com.opencms.file.CmsObject.createResource(CmsObject.java:956)
> > > at
> > com.opencms.file.CmsImportFolder.importZipResource(CmsImportFo
> > lder.java:387)
> > > at
> > com.opencms.file.CmsImportFolder.<init>(CmsImportFolder.java:151)
> > > at
> > com.opencms.workplace.CmsNewResourceUpload.getContent(CmsNewRe
> > sourceUpload.j
> > ava:205)
> > > at
> > com.opencms.template.cache.CmsElementXml.getContent(CmsElement
> > Xml.java:170)
> > > at
> > com.opencms.template.cache.CmsUri.callCanonicalRoot(CmsUri.java:185)
> > > at
> > com.opencms.template.cache.CmsElementCache.callCanonicalRoot(C
> > msElementCache
> > .java:149)
> > > at
> > com.opencms.launcher.CmsXmlLauncher.generateOutput(CmsXmlLaunc
> > her.java:285)
> > > at
> > com.opencms.launcher.CmsXmlLauncher.launch(CmsXmlLauncher.java:341)
> > > at
> > com.opencms.launcher.A_CmsLauncher.initlaunch(A_CmsLauncher.java:277)
> > > at com.opencms.core.OpenCms.showResource(OpenCms.java:840)
> > > at
> > com.opencms.core.OpenCmsHttpServlet.doGet(OpenCmsHttpServlet.java:282)
> > > at
> > com.opencms.core.OpenCmsHttpServlet.doPost(OpenCmsHttpServlet.
> > java:303)
> > > at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
> > > at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> > > at
> > org.apache.catalina.core.ApplicationFilterChain.internalDoFilt
> > er(Application
> > FilterChain.java:247)
> > > at
> > org.apache.catalina.core.ApplicationFilterChain.doFilter(Appli
> > cationFilterCh
> > ain.java:193)
> > > at
> > org.apache.catalina.core.StandardWrapperValve.invoke(StandardW
> > rapperValve.ja
> > va:260)
> > > at
> > org.apache.catalina.core.StandardPipeline$StandardPipelineValv
> > eContext.invok
> > eNext(StandardPipeline.java:643)
> > > at
> > org.apache.catalina.core.StandardPipeline.invoke(StandardPipel
> > ine.java:480)
> > > at
> > org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
> > > at
> > org.apache.catalina.core.StandardContextValve.invoke(StandardC
> > ontextValve.ja
> > va:191)
> > > at
> > org.apache.catalina.core.StandardPipeline$StandardPipelineValv
> > eContext.invok
> > eNext(StandardPipeline.java:643)
> > > at
> > org.apache.catalina.core.StandardPipeline.invoke(StandardPipel
> > ine.java:480)
> > > at
> > org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
> > > at
> > org.apache.catalina.core.StandardContext.invoke(StandardContex
> > t.java:2415)
> > > at
> > org.apache.catalina.core.StandardHostValve.invoke(StandardHost
> > Valve.java:180
> > )
> > > at
> > org.apache.catalina.core.StandardPipeline$StandardPipelineValv
> > eContext.invok
> > eNext(StandardPipeline.java:643)
> > > at
> > org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDi
> > spatcherValve.
> > java:170)
> > > at
> > org.apache.catalina.core.StandardPipeline$StandardPipelineValv
> > eContext.invok
> > eNext(StandardPipeline.java:641)
> > > at
> > org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReport
> > Valve.java:172
> > )
> > > at
> > org.apache.catalina.core.StandardPipeline$StandardPipelineValv
> > eContext.invok
> > eNext(StandardPipeline.java:641)
> > > at
> > org.apache.catalina.core.StandardPipeline.invoke(StandardPipel
> > ine.java:480)
> > > at
> > org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
> > > at
> > org.apache.catalina.core.StandardEngineValve.invoke(StandardEn
> > gineValve.java
> > :174)
> > > at
> > org.apache.catalina.core.StandardPipeline$StandardPipelineValv
> > eContext.invok
> > eNext(StandardPipeline.java:643)
> > > at
> > org.apache.catalina.core.StandardPipeline.invoke(StandardPipel
> > ine.java:480)
> > > at
> > org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
> > > at
> > org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.
> > java:223)
> > > at
> > org.apache.coyote.http11.Http11Processor.process(Http11Process
> > or.java:432)
> > > at
> > org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandle
> > r.processConne
> > ction(Http11Protocol.java:386)
> > > at
> > org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoi
> > nt.java:534)
> > > at
> > org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(
> > ThreadPool.jav
> > a:530)
> > > at java.lang.Thread.run(Thread.java:536)
> >
> >
> >
> >
> > > -----Original Message-----
> > > From: Schmidt, Kai [SMTP:Kai.Schmidt at bonprix.net]
> > > Sent: mercredi 19 février 2003 18:18
> > > To: 'opencms-dev at www.opencms.org'
> > > Subject: AW: [opencms-dev] Importing an existing website
> > >
> > > Hi Ced,
> > >
> > > Yes! try to make a zip out of it, then upload the file (new
> > => upload
> > > file)
> > > and in the second step check "unzip file"
> > > The only problem will be (at least in former versions than
> > RC2, I don´t
> > > know
> > > if it´s still a problem) that you have to change the
> > filetype-assignment
> > > first (Administration view => resource type management).
> > There you will
> > > have
> > > to set .html and .htm to pagetype (and e.g. .png to
> > picture) otherwise you
> > > will not be able to edit the content later on.
> > > If you encounter any problems please post again.
> > >
> > > Regards, Kai
> > >
> > > P.S. Maybe helpful in this context: Also have a look at
> > > Synchronisation-feature, it might be useful if you work
> > with external
> > > editor.
> > >
> > > > -----Ursprüngliche Nachricht-----
> > > > Von: BARDE, CEDRIC [mailto:CEDRIC.BARDE at disney.com]
> > > > Gesendet: Mittwoch, 19. Februar 2003 18:02
> > > > An: 'Opencms'
> > > > Betreff: [opencms-dev] Importing an existing website
> > > >
> > > >
> > > > Hi all,
> > > >
> > > > I have been using OpenCms for a couple of weeks now, and I am
> > > > wondering
> > > > whether it is possible to import a whole website into
> > > > OpenCms. I have found
> > > > the way to upload a single file, but is there a way to upload
> > > > kind of an
> > > > existing file system (with folders, web pages and images)?
> > > >
> > > > Thanx a lot in advance!
> > > > Best regards,
> > > > Ced
> > > >
> > > > ______________________________________
> > > > Cédric BARDE
> > > > Disneyland Resort Paris - Information Services
> > > > Bâtiment Robin Hood - BP 100
> > > > 77777 Marne-La-Vallée
> > > > Tél : 01 64 74 65 49
> > > > Fax : 01 64 74 65 65
> > > > Email : cedric.barde at disney.com
> > > >
> >
More information about the opencms-dev
mailing list