[opencms-dev] Importing an existing website

BARDE, CEDRIC CEDRIC.BARDE at disney.com
Thu Feb 20 10:52:57 CET 2003


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(CmsNewResourceUpload.j
ava:205)
	at
com.opencms.template.cache.CmsElementXml.getContent(CmsElementXml.java:170)
	at
com.opencms.template.cache.CmsUri.callCanonicalRoot(CmsUri.java:185)
	at
com.opencms.template.cache.CmsElementCache.callCanonicalRoot(CmsElementCache
.java:149)
	at
com.opencms.launcher.CmsXmlLauncher.generateOutput(CmsXmlLauncher.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.internalDoFilter(Application
FilterChain.java:247)
	at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:193)
	at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
va:260)
	at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:643)
	at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
	at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
	at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja
va:191)
	at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:643)
	at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
	at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
	at
org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2415)
	at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180
)
	at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:643)
	at
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.
java:170)
	at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:641)
	at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172
)
	at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:641)
	at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
	at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
	at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java
:174)
	at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:643)
	at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.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(Http11Processor.java:432)
	at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConne
ction(Http11Protocol.java:386)
	at
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.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(CmsImportFolder.java:395)
>	at com.opencms.file.CmsImportFolder.<init>(CmsImportFolder.java:151)
>	at
com.opencms.workplace.CmsNewResourceUpload.getContent(CmsNewResourceUpload.j
ava:205)
>	at
com.opencms.template.cache.CmsElementXml.getContent(CmsElementXml.java:170)
>	at
com.opencms.template.cache.CmsUri.callCanonicalRoot(CmsUri.java:185)
>	at
com.opencms.template.cache.CmsElementCache.callCanonicalRoot(CmsElementCache
.java:149)
>	at
com.opencms.launcher.CmsXmlLauncher.generateOutput(CmsXmlLauncher.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.internalDoFilter(Application
FilterChain.java:247)
>	at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:193)
>	at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
va:260)
>	at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:643)
>	at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
>	at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
>	at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja
va:191)
>	at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:643)
>	at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
>	at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
>	at
org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2415)
>	at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180
)
>	at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:643)
>	at
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.
java:170)
>	at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:641)
>	at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172
)
>	at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:641)
>	at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
>	at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
>	at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java
:174)
>	at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:643)
>	at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.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(Http11Processor.java:432)
>	at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConne
ction(Http11Protocol.java:386)
>	at
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.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_CmsXmlContent.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>(CmsXmlTemplateFile.java:105)
>>	at
com.opencms.template.CmsXmlTemplate.getOwnTemplateFile(CmsXmlTemplate.java:3
99)
>>	at
com.opencms.linkmanagement.LinkChecker.extractLinks(LinkChecker.java:72)
>>	at com.opencms.file.CmsObject.getPageLinks(CmsObject.java:1859)
>>	at
com.opencms.file.CmsResourceTypePage.createResource(CmsResourceTypePage.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(CmsImportFolder.java:387)
>>	at com.opencms.file.CmsImportFolder.<init>(CmsImportFolder.java:151)
>>	at
com.opencms.workplace.CmsNewResourceUpload.getContent(CmsNewResourceUpload.j
ava:205)
>>	at
com.opencms.template.cache.CmsElementXml.getContent(CmsElementXml.java:170)
>>	at
com.opencms.template.cache.CmsUri.callCanonicalRoot(CmsUri.java:185)
>>	at
com.opencms.template.cache.CmsElementCache.callCanonicalRoot(CmsElementCache
.java:149)
>>	at
com.opencms.launcher.CmsXmlLauncher.generateOutput(CmsXmlLauncher.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.internalDoFilter(Application
FilterChain.java:247)
>>	at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:193)
>>	at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
va:260)
>>	at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:643)
>>	at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
>>	at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
>>	at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja
va:191)
>>	at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:643)
>>	at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
>>	at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
>>	at
org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2415)
>>	at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180
)
>>	at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:643)
>>	at
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.
java:170)
>>	at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:641)
>>	at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172
)
>>	at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:641)
>>	at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
>>	at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
>>	at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java
:174)
>>	at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:643)
>>	at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.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(Http11Processor.java:432)
>>	at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConne
ction(Http11Protocol.java:386)
>>	at
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.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(CmsImportFolder.java:395)
	at com.opencms.file.CmsImportFolder.<init>(CmsImportFolder.java:151)
	at
com.opencms.workplace.CmsNewResourceUpload.getContent(CmsNewResourceUpload.j
ava:205)
	at
com.opencms.template.cache.CmsElementXml.getContent(CmsElementXml.java:170)
	at
com.opencms.template.cache.CmsUri.callCanonicalRoot(CmsUri.java:185)
	at
com.opencms.template.cache.CmsElementCache.callCanonicalRoot(CmsElementCache
.java:149)
	at
com.opencms.launcher.CmsXmlLauncher.generateOutput(CmsXmlLauncher.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.internalDoFilter(Application
FilterChain.java:247)
	at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:193)
	at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
va:260)
	at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:643)
	at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
	at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
	at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja
va:191)
	at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:643)
	at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
	at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
	at
org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2415)
	at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180
)
	at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:643)
	at
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.
java:170)
	at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:641)
	at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172
)
	at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:641)
	at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
	at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
	at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java
:174)
	at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:643)
	at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.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(Http11Processor.java:432)
	at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConne
ction(Http11Protocol.java:386)
	at
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.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_CmsXmlContent.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>(CmsXmlTemplateFile.java:105)
>	at
com.opencms.template.CmsXmlTemplate.getOwnTemplateFile(CmsXmlTemplate.java:3
99)
>	at
com.opencms.linkmanagement.LinkChecker.extractLinks(LinkChecker.java:72)
>	at com.opencms.file.CmsObject.getPageLinks(CmsObject.java:1859)
>	at
com.opencms.file.CmsResourceTypePage.createResource(CmsResourceTypePage.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(CmsImportFolder.java:387)
>	at com.opencms.file.CmsImportFolder.<init>(CmsImportFolder.java:151)
>	at
com.opencms.workplace.CmsNewResourceUpload.getContent(CmsNewResourceUpload.j
ava:205)
>	at
com.opencms.template.cache.CmsElementXml.getContent(CmsElementXml.java:170)
>	at
com.opencms.template.cache.CmsUri.callCanonicalRoot(CmsUri.java:185)
>	at
com.opencms.template.cache.CmsElementCache.callCanonicalRoot(CmsElementCache
.java:149)
>	at
com.opencms.launcher.CmsXmlLauncher.generateOutput(CmsXmlLauncher.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.internalDoFilter(Application
FilterChain.java:247)
>	at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:193)
>	at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
va:260)
>	at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:643)
>	at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
>	at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
>	at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja
va:191)
>	at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:643)
>	at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
>	at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
>	at
org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2415)
>	at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180
)
>	at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:643)
>	at
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.
java:170)
>	at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:641)
>	at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172
)
>	at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:641)
>	at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
>	at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
>	at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java
:174)
>	at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:643)
>	at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.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(Http11Processor.java:432)
>	at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConne
ction(Http11Protocol.java:386)
>	at
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.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