[opencms-dev] CmsStaticExportException: Unable to export VFS file "/index.html" ...

Artur W. artur.winiarski at interconsystems.pl
Tue Jun 5 12:27:55 CEST 2018


Hey everyone,

I have a problem with the static export of the index.html file (the main
sites / career / index.html path) of the HTML Redirect type.
OpenCMS Version: 10.5.3

An error occurs while exporting.: 

Exporting Non-Template Resources ...
...
( 19 / 425 ) Exporting /sites/career/ ... Exception
org.opencms.staticexport.CmsStaticExportException: Unable to export VFS file
"/index.html", loader for type 15 does not support static export.
at
org.opencms.staticexport.CmsStaticExportManager.export(CmsStaticExportManager.java:607)
at
org.opencms.staticexport.CmsAfterPublishStaticExportHandler.exportNonTemplateResources(CmsAfterPublishStaticExportHandler.java:342)
at
org.opencms.staticexport.CmsAfterPublishStaticExportHandler.doExportAfterPublish(CmsAfterPublishStaticExportHandler.java:110)
at
org.opencms.staticexport.CmsStaticExportManager.exportFullStaticRender(CmsStaticExportManager.java:727)
at
org.opencms.workplace.tools.database.CmsStaticExportThread.run(CmsStaticExportThread.java:78)

I have standard settings in opencms-importexport.xml:
...
		<rendersettings>
			<rfs-prefix>${CONTEXT_NAME}/export</rfs-prefix>
			<vfs-prefix>${CONTEXT_NAME}</vfs-prefix>
			<userelativelinks>false</userelativelinks>
			<exporturl>http://127.0.0.1:8080${CONTEXT_NAME}/handle404</exporturl>
			<plainoptimization>true</plainoptimization>
			<testresource uri="/system/shared/page.dtd" />
			<resourcestorender>
				<regex>/sites/.*</regex>
				<regex>/system/workplace/commons/style/.*</regex>
				<regex>/system/galleries/.*</regex>
				<regex>/system/modules/.*/resources/.*</regex>
			</resourcestorender>
		</rendersettings>
...

When index.html is of the External Link type, the static export was working.

Where can I look for a solution?

Any pointers would be appreciated.

Best regards
Artur



--
Sent from: http://opencms.996256.n3.nabble.com/



More information about the opencms-dev mailing list