[opencms-dev] Import of opencms 5 pages breaks down
Christian Steinert
christian_steinert at web.de
Sat Feb 18 18:12:13 CET 2006
Dear List,
I am trying to get an opencms5 site over to opencms6.
I have exported my files with the database utility of opencms5 and then
I try to import them with opencms6.
The 1st stage claims to run through without problem - all page control
files and body files are imported.
But when the pages are merged then one of the pages produces an error
and the import process stops with the following exception:
( 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
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
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
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
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
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
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.
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.
Does anyone have the slightest idea about this?
the page control file of my page looks like this:
<?xml version="1.0" encoding="UTF-8"?>
<PAGE>
<class>com.opencms.template.CmsXmlTemplate</class>
<masterTemplate>/system/modules/com.berzinarchives.cms/templates/Article</masterTemplate>
<ELEMENTDEF name="body">
<CLASS>com.opencms.template.CmsXmlTemplate</CLASS>
<TEMPLATE>/system/bodies/en/about/news/news.html</TEMPLATE>
</ELEMENTDEF>
</PAGE>
Any help would be really, really appreciated.
Thanks a lot
Christian
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20060218/a9a90dac/attachment.htm>
More information about the opencms-dev
mailing list