[opencms-dev] Static Export Error

João Cunha Lopes joao.cunha.lopes at gmail.com
Mon Aug 19 20:09:27 CEST 2013


Hi all,

I have 3 separece instances of OpenCMS. Same base package, 8.5.2.
One of them is used as the "master", meaning all content is first worked
here.
When all is ready the content is exported to a local file and then (after
the file is moved) is imported on the other two instances. The last 2
instances are on different HW infrastructures.
Everything as been working great until a few days. After a *static" export
I started receiving the following error:

( 8 / 8 ) Exporting /system/workplace/commons/style/*workplace.css*
... Exception
java.net.ConnectException: Connection refused: connect
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:351)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:213)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:200)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
at java.net.Socket.connect(Socket.java:529)
at java.net.Socket.connect(Socket.java:478)
at sun.net.NetworkClient.doConnect(NetworkClient.java:163)
at sun.net.www.http.HttpClient.openServer(HttpClient.java:411)
at sun.net.www.http.HttpClient.openServer(HttpClient.java:525)
at sun.net.www.http.HttpClient.<init>(HttpClient.java:208)
at sun.net.www.http.HttpClient.New(HttpClient.java:291)
at sun.net.www.http.HttpClient.New(HttpClient.java:310)
at
sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:987)
at
sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:923)
at
sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:841)
at
org.opencms.staticexport.CmsAfterPublishStaticExportHandler.exportTemplateResource(CmsAfterPublishStaticExportHandler.java:576)
at
org.opencms.staticexport.CmsAfterPublishStaticExportHandler.exportTemplateResources(CmsAfterPublishStaticExportHandler.java:676)
at
org.opencms.staticexport.CmsAfterPublishStaticExportHandler.doExportAfterPublish(CmsAfterPublishStaticExportHandler.java:161)
at
org.opencms.staticexport.CmsStaticExportManager.exportFullStaticRender(CmsStaticExportManager.java:679)
at
org.opencms.workplace.tools.database.CmsStaticExportThread.run(CmsStaticExportThread.java:76)
... exporting Template Resources is finished.
Static export did not finished successful.


The above is just part of it. There are actually 8 files that fail the
static export.
This started happening after I changed the 404 handler page, although on
the original enviroment, where this page was first changed, this error does
not show itself.
I have checked the logs and there's nothing there.
Where should I start looking for the error cause?
Any help is appreciated.
Thank you.

J
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20130819/6be344d3/attachment.htm>


More information about the opencms-dev mailing list