[opencms-dev] static export only exports static files

Alexander Kandzior alex at opencms.org
Tue Nov 16 09:23:31 CET 2004


Your error message says that your server can't create a http connection to
itself, which is required for the JSP export (or template based page
export). Propably you have either some firewall or some DNS
misconfiguration. 

The export user is the user under which permissions the static export is
done. So if the export user has "read" access to a resource, OpenCms will
consider this resource for export. The password of the export user is a
random UUID and not needed since OpenCms handles this user automatically.

Best Regards,
Alex.

Alexander Kandzior
Alkacon Software - The OpenCms Experts
http://www.alkacon.com

 

> -----Original Message-----
> From: opencms-dev-bounces at opencms.org 
> [mailto:opencms-dev-bounces at opencms.org] On Behalf Of Dieter 
> Tengelmann
> Sent: Tuesday, November 16, 2004 1:09 AM
> To: opencms-dev at opencms.org
> Subject: [opencms-dev] static export only exports static files
> 
> Hi,
> 
> please can anybody say me, how to use the static export 
> feature in 6.0 I've got a jsp-template and I want to export 
> all html-files...
> but only pictures, word-documents etc. are exported...
> no html-files
> 
> Here I always get a error message like below...
> Must there be a special configuration,
> what is this "export user", what's his password, must I do 
> the static export as "export user?
> 
> thank you for your help
> 
> 
> 
> Exception java.net.ConnectException: Connection refused: 
> connect at java.net.PlainSocketImpl.socketConnect(Native 
> Method) at java.net.PlainSocketImpl.doConnect(Unknown Source) 
> at java.net.PlainSocketImpl.connectToAddress(Unknown Source) 
> at java.net.PlainSocketImpl.connect(Unknown Source) at 
> java.net.Socket.connect(Unknown Source) at 
> java.net.Socket.connect(Unknown Source) at 
> sun.net.NetworkClient.doConnect(Unknown Source) at 
> sun.net.www.http.HttpClient.openServer(Unknown Source) at 
> sun.net.www.http.HttpClient.openServer(Unknown Source) at 
> sun.net.www.http.HttpClient.<init>(Unknown Source) at 
> sun.net.www.http.HttpClient.<init>(Unknown Source) at 
> sun.net.www.http.HttpClient.New(Unknown Source) at 
> sun.net.www.http.HttpClient.New(Unknown Source) at 
> sun.net.www.http.HttpClient.New(Unknown Source) at 
> sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unkno
> wn Source) at 
> sun.net.www.protocol.http.HttpURLConnection.connect(Unknown Source) at
> org.opencms.staticexport.CmsStaticExportManager.exportTemplate
> Resources(CmsStaticExportManager.java:1505)
> at
> org.opencms.staticexport.CmsStaticExportManager.doExportAfterP
> ublish(CmsStaticExportManager.java:1326)
> at
> org.opencms.staticexport.CmsStaticExportManager.exportFullStat
> icRender(CmsStaticExportManager.java:530)
> at
> org.opencms.threads.CmsStaticExportThread.run(CmsStaticExportT
> hread.java:87)
> 
> 
> 
> _______________________________________________
> This mail is send to you from the opencms-dev mailing list To 
> change your list options, or to unsubscribe from the list, 
> please visit http://mail.opencms.org/mailman/listinfo/opencms-dev
> 
> 




More information about the opencms-dev mailing list