<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Dear List,<br>
<br>
I am trying to get an opencms5 site over to opencms6. <br>
I have exported my files with the database utility of opencms5 and then
I try to import them with opencms6.<br>
<br>
The 1st stage claims to run through without problem - all page control
files and body files are imported.<br>
But when the pages are merged then one of the pages produces an error
and the import process stops with the following exception:<br>
<br>
<blockquote>( 17 / 466 ) Merging /en/about/news/news.html Exception
org.opencms.file.CmsVfsResourceNotFoundException: Error reading
resource from path "/system/bodies/en/about/news/news.html". at
org.opencms.file.CmsVfsResourceNotFoundException.createException(CmsVfsResourceNotFoundException.java:78)
at org.opencms.db.CmsDbContext.throwException(CmsDbContext.java:213) at
org.opencms.db.CmsDbContext.report(CmsDbContext.java:197) at
org.opencms.db.CmsSecurityManager.readResource(CmsSecurityManager.java:3838)
at org.opencms.file.CmsObject.readResource(CmsObject.java:2658) at
org.opencms.file.CmsObject.readFile(CmsObject.java:2150) at
org.opencms.importexport.CmsImportVersion2.mergePageFile(CmsImportVersion2.java:923)
at
org.opencms.importexport.CmsImportVersion2.mergePageFiles(CmsImportVersion2.java:1100)
at
org.opencms.importexport.CmsImportVersion2.importAllResources(CmsImportVersion2.java:650)
at
org.opencms.importexport.CmsImportVersion2.importResources(CmsImportVersion2.java:204)
at
org.opencms.importexport.CmsImport.importResources(CmsImport.java:325)
at
org.opencms.importexport.CmsVfsImportExportHandler.importData(CmsVfsImportExportHandler.java:164)
at
org.opencms.importexport.CmsImportExportManager.importData(CmsImportExportManager.java:610)
at
org.opencms.workplace.threads.CmsDatabaseImportThread.run(CmsDatabaseImportThread.java:94)
Caused by: org.opencms.file.CmsVfsResourceNotFoundException: Unable to
read resource "/system/bodies/en/about/news/news.html". at
org.opencms.db.generic.CmsVfsDriver.readResource(CmsVfsDriver.java:1431)
at
org.opencms.db.CmsDriverManager.readResource(CmsDriverManager.java:5536)
at
org.opencms.db.CmsSecurityManager.readResource(CmsSecurityManager.java:5589)
at
org.opencms.db.CmsSecurityManager.readResource(CmsSecurityManager.java:3836)
... 10 more<br>
Exception org.opencms.importexport.CmsImportExportException: Error
merging page file "/en/about/news/news.html". at
org.opencms.importexport.CmsImportVersion2.mergePageFile(CmsImportVersion2.java:1033)
at
org.opencms.importexport.CmsImportVersion2.mergePageFiles(CmsImportVersion2.java:1100)
at
org.opencms.importexport.CmsImportVersion2.importAllResources(CmsImportVersion2.java:650)
at
org.opencms.importexport.CmsImportVersion2.importResources(CmsImportVersion2.java:204)
at
org.opencms.importexport.CmsImport.importResources(CmsImport.java:325)
at
org.opencms.importexport.CmsVfsImportExportHandler.importData(CmsVfsImportExportHandler.java:164)
at
org.opencms.importexport.CmsImportExportManager.importData(CmsImportExportManager.java:610)
at
org.opencms.workplace.threads.CmsDatabaseImportThread.run(CmsDatabaseImportThread.java:94)
Caused by: org.opencms.file.CmsVfsResourceNotFoundException: Error
reading resource from path "/system/bodies/en/about/news/news.html". at
org.opencms.file.CmsVfsResourceNotFoundException.createException(CmsVfsResourceNotFoundException.java:78)
at org.opencms.db.CmsDbContext.throwException(CmsDbContext.java:213) at
org.opencms.db.CmsDbContext.report(CmsDbContext.java:197) at
org.opencms.db.CmsSecurityManager.readResource(CmsSecurityManager.java:3838)
at org.opencms.file.CmsObject.readResource(CmsObject.java:2658) at
org.opencms.file.CmsObject.readFile(CmsObject.java:2150) at
org.opencms.importexport.CmsImportVersion2.mergePageFile(CmsImportVersion2.java:923)
... 7 more Caused by: org.opencms.file.CmsVfsResourceNotFoundException:
Unable to read resource "/system/bodies/en/about/news/news.html". at
org.opencms.db.generic.CmsVfsDriver.readResource(CmsVfsDriver.java:1431)
at
org.opencms.db.CmsDriverManager.readResource(CmsDriverManager.java:5536)
at
org.opencms.db.CmsSecurityManager.readResource(CmsSecurityManager.java:5589)
at
org.opencms.db.CmsSecurityManager.readResource(CmsSecurityManager.java:3836)
... 10 more<br>
Exception org.opencms.importexport.CmsImportExportException: Error
importing resources. at
org.opencms.importexport.CmsImportVersion2.importAllResources(CmsImportVersion2.java:663)
at
org.opencms.importexport.CmsImportVersion2.importResources(CmsImportVersion2.java:204)
at
org.opencms.importexport.CmsImport.importResources(CmsImport.java:325)
at
org.opencms.importexport.CmsVfsImportExportHandler.importData(CmsVfsImportExportHandler.java:164)
at
org.opencms.importexport.CmsImportExportManager.importData(CmsImportExportManager.java:610)
at
org.opencms.workplace.threads.CmsDatabaseImportThread.run(CmsDatabaseImportThread.java:94)
Caused by: org.opencms.importexport.CmsImportExportException: Error
merging page file "/en/about/news/news.html". at
org.opencms.importexport.CmsImportVersion2.mergePageFile(CmsImportVersion2.java:1033)
at
org.opencms.importexport.CmsImportVersion2.mergePageFiles(CmsImportVersion2.java:1100)
at
org.opencms.importexport.CmsImportVersion2.importAllResources(CmsImportVersion2.java:650)
... 5 more Caused by: org.opencms.file.CmsVfsResourceNotFoundException:
Error reading resource from path
"/system/bodies/en/about/news/news.html". at
org.opencms.file.CmsVfsResourceNotFoundException.createException(CmsVfsResourceNotFoundException.java:78)
at org.opencms.db.CmsDbContext.throwException(CmsDbContext.java:213) at
org.opencms.db.CmsDbContext.report(CmsDbContext.java:197) at
org.opencms.db.CmsSecurityManager.readResource(CmsSecurityManager.java:3838)
at org.opencms.file.CmsObject.readResource(CmsObject.java:2658) at
org.opencms.file.CmsObject.readFile(CmsObject.java:2150) at
org.opencms.importexport.CmsImportVersion2.mergePageFile(CmsImportVersion2.java:923)
... 7 more Caused by: org.opencms.file.CmsVfsResourceNotFoundException:
Unable to read resource "/system/bodies/en/about/news/news.html". at
org.opencms.db.generic.CmsVfsDriver.readResource(CmsVfsDriver.java:1431)
at
org.opencms.db.CmsDriverManager.readResource(CmsDriverManager.java:5536)
at
org.opencms.db.CmsSecurityManager.readResource(CmsSecurityManager.java:5589)
at
org.opencms.db.CmsSecurityManager.readResource(CmsSecurityManager.java:3836)
... 10 more<br>
Exception org.opencms.file.CmsVfsResourceNotFoundException: Error
reading resource from path "/system/bodies/en/about/news/news.html". at
org.opencms.file.CmsVfsResourceNotFoundException.createException(CmsVfsResourceNotFoundException.java:78)
at org.opencms.db.CmsDbContext.throwException(CmsDbContext.java:213) at
org.opencms.db.CmsDbContext.report(CmsDbContext.java:197) at
org.opencms.db.CmsSecurityManager.readResource(CmsSecurityManager.java:3838)
at org.opencms.file.CmsObject.readResource(CmsObject.java:2658) at
org.opencms.file.CmsObject.readFile(CmsObject.java:2150) at
org.opencms.importexport.CmsImportVersion2.mergePageFile(CmsImportVersion2.java:923)
at
org.opencms.importexport.CmsImportVersion2.mergePageFiles(CmsImportVersion2.java:1100)
at
org.opencms.importexport.CmsImportVersion2.importAllResources(CmsImportVersion2.java:650)
at
org.opencms.importexport.CmsImportVersion2.importResources(CmsImportVersion2.java:204)
at
org.opencms.importexport.CmsImport.importResources(CmsImport.java:325)
at
org.opencms.importexport.CmsVfsImportExportHandler.importData(CmsVfsImportExportHandler.java:164)
at
org.opencms.importexport.CmsImportExportManager.importData(CmsImportExportManager.java:610)
at
org.opencms.workplace.threads.CmsDatabaseImportThread.run(CmsDatabaseImportThread.java:94)
Caused by: org.opencms.file.CmsVfsResourceNotFoundException: Unable to
read resource "/system/bodies/en/about/news/news.html". at
org.opencms.db.generic.CmsVfsDriver.readResource(CmsVfsDriver.java:1431)
at
org.opencms.db.CmsDriverManager.readResource(CmsDriverManager.java:5536)
at
org.opencms.db.CmsSecurityManager.readResource(CmsSecurityManager.java:5589)
at
org.opencms.db.CmsSecurityManager.readResource(CmsSecurityManager.java:3836)
... 10 more<br>
Exception org.opencms.importexport.CmsImportExportException: Error
merging page file "/en/about/news/news.html". at
org.opencms.importexport.CmsImportVersion2.mergePageFile(CmsImportVersion2.java:1033)
at
org.opencms.importexport.CmsImportVersion2.mergePageFiles(CmsImportVersion2.java:1100)
at
org.opencms.importexport.CmsImportVersion2.importAllResources(CmsImportVersion2.java:650)
at
org.opencms.importexport.CmsImportVersion2.importResources(CmsImportVersion2.java:204)
at
org.opencms.importexport.CmsImport.importResources(CmsImport.java:325)
at
org.opencms.importexport.CmsVfsImportExportHandler.importData(CmsVfsImportExportHandler.java:164)
at
org.opencms.importexport.CmsImportExportManager.importData(CmsImportExportManager.java:610)
at
org.opencms.workplace.threads.CmsDatabaseImportThread.run(CmsDatabaseImportThread.java:94)
Caused by: org.opencms.file.CmsVfsResourceNotFoundException: Error
reading resource from path "/system/bodies/en/about/news/news.html". at
org.opencms.file.CmsVfsResourceNotFoundException.createException(CmsVfsResourceNotFoundException.java:78)
at org.opencms.db.CmsDbContext.throwException(CmsDbContext.java:213) at
org.opencms.db.CmsDbContext.report(CmsDbContext.java:197) at
org.opencms.db.CmsSecurityManager.readResource(CmsSecurityManager.java:3838)
at org.opencms.file.CmsObject.readResource(CmsObject.java:2658) at
org.opencms.file.CmsObject.readFile(CmsObject.java:2150) at
org.opencms.importexport.CmsImportVersion2.mergePageFile(CmsImportVersion2.java:923)
... 7 more Caused by: org.opencms.file.CmsVfsResourceNotFoundException:
Unable to read resource "/system/bodies/en/about/news/news.html". at
org.opencms.db.generic.CmsVfsDriver.readResource(CmsVfsDriver.java:1431)
at
org.opencms.db.CmsDriverManager.readResource(CmsDriverManager.java:5536)
at
org.opencms.db.CmsSecurityManager.readResource(CmsSecurityManager.java:5589)
at
org.opencms.db.CmsSecurityManager.readResource(CmsSecurityManager.java:3836)
... 10 more<br>
Exception org.opencms.importexport.CmsImportExportException: Error
importing resources. at
org.opencms.importexport.CmsImportVersion2.importAllResources(CmsImportVersion2.java:663)
at
org.opencms.importexport.CmsImportVersion2.importResources(CmsImportVersion2.java:204)
at
org.opencms.importexport.CmsImport.importResources(CmsImport.java:325)
at
org.opencms.importexport.CmsVfsImportExportHandler.importData(CmsVfsImportExportHandler.java:164)
at
org.opencms.importexport.CmsImportExportManager.importData(CmsImportExportManager.java:610)
at
org.opencms.workplace.threads.CmsDatabaseImportThread.run(CmsDatabaseImportThread.java:94)
Caused by: org.opencms.importexport.CmsImportExportException: Error
merging page file "/en/about/news/news.html". at
org.opencms.importexport.CmsImportVersion2.mergePageFile(CmsImportVersion2.java:1033)
at
org.opencms.importexport.CmsImportVersion2.mergePageFiles(CmsImportVersion2.java:1100)
at
org.opencms.importexport.CmsImportVersion2.importAllResources(CmsImportVersion2.java:650)
... 5 more Caused by: org.opencms.file.CmsVfsResourceNotFoundException:
Error reading resource from path
"/system/bodies/en/about/news/news.html". at
org.opencms.file.CmsVfsResourceNotFoundException.createException(CmsVfsResourceNotFoundException.java:78)
at org.opencms.db.CmsDbContext.throwException(CmsDbContext.java:213) at
org.opencms.db.CmsDbContext.report(CmsDbContext.java:197) at
org.opencms.db.CmsSecurityManager.readResource(CmsSecurityManager.java:3838)
at org.opencms.file.CmsObject.readResource(CmsObject.java:2658) at
org.opencms.file.CmsObject.readFile(CmsObject.java:2150) at
org.opencms.importexport.CmsImportVersion2.mergePageFile(CmsImportVersion2.java:923)
... 7 more Caused by: org.opencms.file.CmsVfsResourceNotFoundException:
Unable to read resource "/system/bodies/en/about/news/news.html". at
org.opencms.db.generic.CmsVfsDriver.readResource(CmsVfsDriver.java:1431)
at
org.opencms.db.CmsDriverManager.readResource(CmsDriverManager.java:5536)
at
org.opencms.db.CmsSecurityManager.readResource(CmsSecurityManager.java:5589)
at
org.opencms.db.CmsSecurityManager.readResource(CmsSecurityManager.java:3836)
... 10 more<br>
  <br>
</blockquote>
<br>
<br>
The "missing" body file is listed as "ok" in the import protocol (1st
stage). In my opencms 5 project the page seems to be alright and the
content of the body file is found and properly displayed.<br>
But after the failed import, when I try to change to
"/sites/<mysite>/system/" in Opencms 6, I can't get even into
that folder. The explorer will always push me out again oft that path
again.<br>
<br>
Does anyone have the slightest idea about this?<br>
<br>
the page control file of my page looks like this:<br>
<blockquote><?xml version="1.0" encoding="UTF-8"?><br>
<PAGE><br>
    <class>com.opencms.template.CmsXmlTemplate</class><br>
   
<masterTemplate>/system/modules/com.berzinarchives.cms/templates/Article</masterTemplate><br>
    <ELEMENTDEF name="body"><br>
        <CLASS>com.opencms.template.CmsXmlTemplate</CLASS><br>
       
<TEMPLATE>/system/bodies/en/about/news/news.html</TEMPLATE><br>
    </ELEMENTDEF><br>
</PAGE><br>
</blockquote>
<br>
Any help would be really, really appreciated.<br>
<br>
Thanks a lot<br>
Christian<br>
<br>
</body>
</html>