[opencms-dev] Static export on linux machine

Schliemann, Kai K.Schliemann at comundus.com
Mon Feb 14 10:02:31 CET 2011


Hello Harini,

check the Tag exporturl in your opencms-importexport.xml:

<exporturl>http://127.0.0.1:8080${CONTEXT_NAME}/handle404</exporturl
<http://127.0.0.1:8080$%7bCONTEXT_NAME%7d/handle404%3c/exporturl> >

The port must match the port your Tomcat is running under.

 

HTH

Kai

 

Von: opencms-dev-bounces at opencms.org
[mailto:opencms-dev-bounces at opencms.org] Im Auftrag von rama harini
Gesendet: Montag, 14. Februar 2011 07:37
An: opencms-dev at opencms.org
Betreff: [opencms-dev] Static export on linux machine

 

Hi,

 

I got the below error while doing static export. I am using tomcat6.0.26
and OpenCms : 7.5.2. Opencms is installed on linux machine. When I
attempt to do the staic export with opencms installed on windows
machine, I am able to do it. Can you please help? 

 

Exporting Template Resources ...
( 1 / 143 ) Exporting /sites/default/thomson/pages/our_partners.html ...
Exception java.net.ConnectException: Connection refused
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
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:394)
at sun.net.www.http.HttpClient.openServer(HttpClient.java:529)
at sun.net.www.http.HttpClient.<init>(HttpClient.java:233)
at sun.net.www.http.HttpClient.New(HttpClient.java:306)
at sun.net.www.http.HttpClient.New(HttpClient.java:323)
at
sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConn
ection.java:975)
at
sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnecti
on.java:916)
at
sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.ja
va:841)
at
org.opencms.staticexport.CmsAfterPublishStaticExportHandler.exportTempla
teResource(CmsAfterPublishStaticExportHandler.java:439)
at
org.opencms.staticexport.CmsAfterPublishStaticExportHandler.exportTempla
teResources(CmsAfterPublishStaticExportHandler.java:510)
at
org.opencms.staticexport.CmsAfterPublishStaticExportHandler.doExportAfte
rPublish(CmsAfterPublishStaticExportHandler.java:166)
at
org.opencms.staticexport.CmsStaticExportManager.exportFullStaticRender(C
msStaticExportManager.java:715)
at
org.opencms.workplace.tools.database.CmsStaticExportThread.run(CmsStatic
ExportThread.java:86)
( 2 / 143 ) Exporting
/sites/default/thomson/pages/onholidays/pagesLB/kids_club_hatch_the_turt
le.html ... Exception java.net.ConnectException: Connection refused
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
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:394)
at sun.net.www.http.HttpClient.openServer(HttpClient.java:529)
at sun.net.www.http.HttpClient.<init>(HttpClient.java:233)
at sun.net.www.http.HttpClient.New(HttpClient.java:306)
at sun.net.www.http.HttpClient.New(HttpClient.java:323)
at
sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConn
ection.java:975)
at
sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnecti
on.java:916)
at
sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.ja
va:841)
at
org.opencms.staticexport.CmsAfterPublishStaticExportHandler.exportTempla
teResource(CmsAfterPublishStaticExportHandler.java:439)
at
org.opencms.staticexport.CmsAfterPublishStaticExportHandler.exportTempla
teResources(CmsAfterPublishStaticExportHandler.java:510)
at
org.opencms.staticexport.CmsAfterPublishStaticExportHandler.doExportAfte
rPublish(CmsAfterPublishStaticExportHandler.java:166)
at
org.opencms.staticexport.CmsStaticExportManager.exportFullStaticRender(C
msStaticExportManager.java:715)
at
org.opencms.workplace.tools.database.CmsStaticExportThread.run(CmsStatic
ExportThread.java:86)
( 3 / 143 ) Exporting
/sites/default/thomson/pages/onholidays/pagesLB/in_resort_restaurant.htm
l ... Exception java.net.ConnectException: Connection refused
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
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:394)
at sun.net.www.http.HttpClient.openServer(HttpClient.java:529)
at sun.net.www.http.HttpClient.<init>(HttpClient.java:233)
at sun.net.www.http.HttpClient.New(HttpClient.java:306)
at sun.net.www.http.HttpClient.New(HttpClient.java:323)
at
sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConn
ection.java:975)
at
sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnecti
on.java:916)
at
sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.ja
va:841)
at
org.opencms.staticexport.CmsAfterPublishStaticExportHandler.exportTempla
teResource(CmsAfterPublishStaticExportHandler.java:439)
at
org.opencms.staticexport.CmsAfterPublishStaticExportHandler.exportTempla
teResources(CmsAfterPublishStaticExportHandler.java:510)
at
org.opencms.staticexport.CmsAfterPublishStaticExportHandler.doExportAfte
rPublish(CmsAfterPublishStaticExportHandler.java:166)
at
org.opencms.staticexport.CmsStaticExportManager.exportFullStaticRender(C
msStaticExportManager.java:715)
at
org.opencms.workplace.tools.database.CmsStaticExportThread.run(CmsStatic
ExportThread.java:86)

 

 

 

Regards,

Harini

 

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20110214/ead800e3/attachment.htm>


More information about the opencms-dev mailing list