[opencms-dev] Problem with static export - help needed

Alex Epshteyn Alex.Epshteyn at razorfish.com
Tue Feb 11 00:31:43 CET 2003


I am using 5.0 RC2 on windows 2000, and get the following when trying to
publish and offline project:


Publishing project ...
Publishing /index.html
Publishing /system/bodies/index.html
Static export, number of starting links is: 2
Exporting /index.html
Skipping /system/bodies/index.html
Exporting /news/
Exception com.opencms.core.CmsException: 0 Unknown exception. Detailed
error: [com.opencms.file.CmsStaticExport] couldn't open file C:Tomcat
4.1webappsopencmsexport/news/: C:Tomcat 4.1webappsopencmsexport ews
(Access is denied). 
at com.opencms.file.CmsStaticExport.exportLink(CmsStaticExport.java:686)
at com.opencms.file.CmsStaticExport.<init>(CmsStaticExport.java:243)
at
com.opencms.file.genericSql.CmsResourceBroker.exportStaticResources(CmsR
esourceBroker.java:4656)
at com.opencms.file.CmsObject.exportStaticResources(CmsObject.java:1564)
at com.opencms.file.CmsObject.publishProject(CmsObject.java:2498)
at
com.opencms.workplace.CmsAdminPublishProjectThread.run(CmsAdminPublishPr
ojectThread.java:68)
Exporting /athletics/
Exception com.opencms.core.CmsException: 0 Unknown exception. Detailed
error: [com.opencms.file.CmsStaticExport] couldn't open file C:Tomcat
4.1webappsopencmsexport/athletics/: C:Tomcat
4.1webappsopencmsexportathletics (Access is denied). 
at com.opencms.file.CmsStaticExport.exportLink(CmsStaticExport.java:686)
at com.opencms.file.CmsStaticExport.<init>(CmsStaticExport.java:243)
at
com.opencms.file.genericSql.CmsResourceBroker.exportStaticResources(CmsR
esourceBroker.java:4656)
at com.opencms.file.CmsObject.exportStaticResources(CmsObject.java:1564)
at com.opencms.file.CmsObject.publishProject(CmsObject.java:2498)
at
com.opencms.workplace.CmsAdminPublishProjectThread.run(CmsAdminPublishPr
ojectThread.java:68)
Exporting /resources/
Exception com.opencms.core.CmsException: 0 Unknown exception. Detailed
error: [com.opencms.file.CmsStaticExport] couldn't open file C:Tomcat
4.1webappsopencmsexport/resources/: C:Tomcat 4.1webappsopencmsexport
esources (Access is denied). 
at com.opencms.file.CmsStaticExport.exportLink(CmsStaticExport.java:686)
at com.opencms.file.CmsStaticExport.<init>(CmsStaticExport.java:243)
at
com.opencms.file.genericSql.CmsResourceBroker.exportStaticResources(CmsR
esourceBroker.java:4656)
at com.opencms.file.CmsObject.exportStaticResources(CmsObject.java:1564)
at com.opencms.file.CmsObject.publishProject(CmsObject.java:2498)
at
com.opencms.workplace.CmsAdminPublishProjectThread.run(CmsAdminPublishPr
ojectThread.java:68)
Skipping /sjsu_index.jsp
Exporting /alumni/
Exception com.opencms.core.CmsException: 0 Unknown exception. Detailed
error: [com.opencms.file.CmsStaticExport] couldn't open file C:Tomcat
4.1webappsopencmsexport/alumni/: C:Tomcat 4.1webappsopencmsexportalumni 

...., repeated for all the folders

I have tried various ways of specifying export path in
opencms.properties, both relative and absolute

#staticexport.path=C:/export
#staticexport.path=C:\\export
#staticexport.path=export/
staticexport.path=export

but the results are the same.

What am I doing wrong? 

Also, the static export on the Adminsitration view is greyed out. What
does that mean?  

Thanks,
Alex 



More information about the opencms-dev mailing list