|
Subject: Re: Error during static export Newsgroups: gmane.comp.cms.opencms.devel Date: 2008-07-29 15:36:59 GMT (11 weeks, 1 day, 12 hours and 42 minutes ago)
Hi,
I had the same problem in the past. In my case the problem
was, that Tomcat was not running on port 8080 as it was configured in
opencms-importexport.xml
So check if these settings
<rendersettings> <rfs-prefix>${CONTEXT_NAME}/export</rfs-prefix> <vfs-prefix>${CONTEXT_NAME}${SERVLET_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> fit to your Tomcat
configuration. HTH Regards Kai
Von: opencms-dev-bounces <at> opencms.org
[mailto:opencms-dev-bounces <at> opencms.org] Im Auftrag von Jaleel,
Jehan
Gesendet: Dienstag, 29. Juli 2008 16:30 An: opencms-dev <at> opencms.org Betreff: Re: [opencms-dev] Error during static export What is really weird about this error I described below is that images and css files get exported fine. It seems to happen only for html and JSP files.
From: Jaleel,
Jehan Hi all, When I try the opencms static export feature, I am getting the following error… Exception
java.net.ConnectException: Connection refused:
connect Does anyone what is the cause? I did not change the opencms-importexport.xml file. It still has all the default values…. <staticexport enabled="true"> <staticexporthandler>org.opencms.staticexport.CmsOnDemandStaticExportHandler</staticexporthandler> <linksubstitutionhandler>org.opencms.staticexport.CmsDefaultLinkSubstitutionHandler</linksubstitutionhandler> <exportpath>export</exportpath> <exportworkpath>temp</exportworkpath> <exportbackups>2</exportbackups> <defaultpropertyvalue>false</defaultpropertyvalue> <defaultsuffixes> <suffix key=".jpg"/> <suffix key=".gif"/> <suffix key=".png"/> <suffix key=".doc"/> <suffix key=".xls"/> <suffix key=".ppt"/> <suffix key=".pdf"/> <suffix key=".txt"/> <suffix key=".css"/> <suffix key=".zip"/> <suffix key=".swf"/> </defaultsuffixes> <rendersettings> <rfs-prefix>${CONTEXT_NAME}/export</rfs-prefix> <vfs-prefix>${CONTEXT_NAME}${SERVLET_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> </staticexport> The only thing is that I am running opencms on my local machine. I am running it on Webpshere which is on a separate server. Thanks, Jehan _______________________________________________ This mail is sent to you from the opencms-dev mailing list To change your list options, or to unsubscribe from the list, please visit http://lists.opencms.org/mailman/listinfo/opencms-dev |
|
|