[opencms-dev] Problem with static export of pics
Federico Grilli
federicog at gruppoinit.it
Wed May 26 10:21:00 CEST 2004
Hello everybody,
I have a problem with two image galleries under /system/galleries/pics: they
don't get exported. When I try to export them, for each picture in the
folder I get the following error:
Esportazione /system/galleries/pics/caserta/CastelloMatese2.jpg
Eccezione com.opencms.core.CmsException: 31 Access denied to resource.
Detailed error: [com.opencms.file.mySql.CmsResourceBroker]
/default/vfs/system/galleries/pics/caserta/CastelloMatese2.jpg.
at com.opencms.core.CmsException.<init>(CmsException.java:289)
at
com.opencms.file.genericSql.CmsResourceBroker.readFileHeader(CmsResourceBrok
er.java:5365)
at
com.opencms.file.genericSql.CmsResourceBroker.readProperty(CmsResourceBroker
.java:6117)
at com.opencms.file.CmsObject.readProperty(CmsObject.java)
at com.opencms.util.Utils.isHttpsResource(Utils.java:373)
at com.opencms.launcher.CmsDumpLauncher.launch(CmsDumpLauncher.java:112)
at com.opencms.launcher.A_CmsLauncher.initlaunch(A_CmsLauncher.java)
at com.opencms.file.CmsStaticExport.exportLink(CmsStaticExport.java:628)
at com.opencms.file.CmsStaticExport.<init>(CmsStaticExport.java:259)
at
com.opencms.file.genericSql.CmsResourceBroker.exportStaticResources(CmsResou
rceBroker.java:4659)
at com.opencms.file.CmsObject.exportStaticResources(CmsObject.java:1525)
at com.opencms.file.CmsObject.publishProject(CmsObject.java:2453)
at com.opencms.file.CmsObject.publishResource(CmsObject.java:2598)
at
com.opencms.workplace.CmsPublishResourceThread.run(CmsPublishResourceThread.
java:61)
On the other hand, the Alkacon-Documentation gallery which also reside in
the pics folder is exported correctly.
The pics folder has the properties "export" and "exportname" set
respectively to "true" and "/pics/". In the opencms.properties file the
"staticexport.default.export" entry is set to "dynamic".
Any idea to solve the problem?
TIA,
Federico Grilli
More information about the opencms-dev
mailing list