<div dir="ltr"><div>Hello Kai,</div>
<div> </div>
<div>Even if I change the export URL as you mentioned I got the same error message.<br></div>
<div><span style="COLOR: #000099; FONT-SIZE: 8.5pt"><strong>Exporting Template Resources ...</strong></span><span style="COLOR: black; FONT-SIZE: 8.5pt"><br></span><span style="COLOR: #666666; FONT-SIZE: 8.5pt">( 1 / 143 ) Exporting</span><span style="COLOR: black; FONT-SIZE: 8.5pt"> /sites/default/thomson/pages/our_partners.html ... </span><b><span style="COLOR: #990000; FONT-SIZE: 8.5pt">Exception java.net.ConnectException: Connection refused<br>
at java.net.PlainSocketImpl.socketConnect(Native Method)<br>at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)<br>at java.net.PlainSocketImpl.connectToAddress(</span></b></div>
<div> </div>
<div>Regards,</div>
<div>Harini</div>
<div> </div>
<div class="gmail_quote">On Mon, Feb 14, 2011 at 4:27 PM, Schliemann, Kai <span dir="ltr"><<a href="mailto:K.Schliemann@comundus.com">K.Schliemann@comundus.com</a>></span> wrote:<br>
<blockquote style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" class="gmail_quote">
<div lang="DE" vlink="purple" link="blue">
<div>
<p class="MsoNormal"><span style="COLOR: #1f497d; FONT-SIZE: 11pt">Hello Harini,</span></p>
<p class="MsoNormal"><span style="COLOR: #1f497d; FONT-SIZE: 11pt">I forgot to mention that you usually do not need to change the IP address (127.0.0.1). Because OpenCms is doing an internal request to the 404-handler.</span></p>

<p class="MsoNormal"><span style="COLOR: #1f497d; FONT-SIZE: 11pt">So try to replace</span></p>
<div class="im">
<p class="MsoNormal"><span style="COLOR: #1f497d; FONT-SIZE: 11pt"><a href="http://www.holidays-uncoveredprjdev.co.uk/" target="_blank"><span style="COLOR: #1f497d; TEXT-DECORATION: none">http://www.holidays-uncoveredprjdev.co.uk</span></a></span></p>
</div>
<p class="MsoNormal"><span style="COLOR: #1f497d; FONT-SIZE: 11pt">with</span></p>
<p class="MsoNormal"><span style="COLOR: #1f497d; FONT-SIZE: 11pt">127.0.0.1</span></p>
<p class="MsoNormal"><span style="COLOR: #1f497d; FONT-SIZE: 11pt"> </span></p>
<p class="MsoNormal"><span style="COLOR: #1f497d; FONT-SIZE: 11pt">HTH</span></p>
<p class="MsoNormal"><span style="COLOR: #1f497d; FONT-SIZE: 11pt">Regards</span></p>
<p class="MsoNormal"><span style="COLOR: #1f497d; FONT-SIZE: 11pt">Kai</span></p>
<p class="MsoNormal"><span style="COLOR: #1f497d; FONT-SIZE: 11pt"> </span></p>
<div style="BORDER-BOTTOM: medium none; BORDER-LEFT: medium none; PADDING-BOTTOM: 0cm; PADDING-LEFT: 0cm; PADDING-RIGHT: 0cm; BORDER-TOP: #b5c4df 1pt solid; BORDER-RIGHT: medium none; PADDING-TOP: 3pt">
<p class="MsoNormal"><b><span style="FONT-SIZE: 10pt">Von:</span></b><span style="FONT-SIZE: 10pt"> <a href="mailto:opencms-dev-bounces@opencms.org" target="_blank">opencms-dev-bounces@opencms.org</a> [mailto:<a href="mailto:opencms-dev-bounces@opencms.org" target="_blank">opencms-dev-bounces@opencms.org</a>] <b>Im Auftrag von </b>rama harini<br>
<b>Gesendet:</b> Montag, 14. Februar 2011 11:29<br><b>An:</b> The OpenCms mailing list<br><b>Betreff:</b> Re: [opencms-dev] Static export on linux machine</span></p></div>
<div>
<div></div>
<div class="h5">
<p class="MsoNormal"> </p>
<div>
<div>
<p class="MsoNormal">Hello Kai,</p></div>
<div>
<p class="MsoNormal"> </p></div>
<div>
<p class="MsoNormal">I have changed the port in opencms-importexport.xml.</p></div>
<div>
<p class="MsoNormal"><exporturl>http://www.holidays-uncoveredprjdev.co.uk:40633${CONTEXT_NAME}/handle404</exporturl></p></div>
<div>
<p class="MsoNormal"> </p></div>
<div>
<p class="MsoNormal"> </p></div>
<div>
<p class="MsoNormal">Now I am getting the below error.</p></div>
<div>
<p class="MsoNormal"> <span>( 1 / 156 ) Exporting</span> /system/workplace/commons/style/onlinehelp.css ... <span>Exception java.net.SocketException: Unexpected end of file from server</span><br><span>at sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:769)</span><br>
<span>at sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:632)</span><br><span>at sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:766)</span><br><span>at sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:632)</span><br>
<span>at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1200)</span><br><span>at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:379)</span><br><span>at org.opencms.staticexport.CmsAfterPublishStaticExportHandler.exportTemplateResource(CmsAfterPublishStaticExportHandler.java:440)</span><br>
<span>at org.opencms.staticexport.CmsAfterPublishStaticExportHandler.exportTemplateResources(CmsAfterPublishStaticExportHandler.java:510)</span><br><span>at org.opencms.staticexport.CmsAfterPublishStaticExportHandler.doExportAfterPublish(CmsAfterPublishStaticExportHandler.java:166)</span><br>
<span>at org.opencms.staticexport.CmsStaticExportManager.exportFullStaticRender(CmsStaticExportManager.java:715)</span><br><span>at org.opencms.workplace.tools.database.CmsStaticExportThread.run(CmsStaticExportThread.java:86)</span></p>
</div>
<div>
<p class="MsoNormal"><br>Regards,</p></div>
<div>
<p class="MsoNormal">Harini<br> </p></div>
<div>
<p class="MsoNormal">On Mon, Feb 14, 2011 at 2:32 PM, Schliemann, Kai <<a href="mailto:K.Schliemann@comundus.com" target="_blank">K.Schliemann@comundus.com</a>> wrote:</p>
<div>
<div>
<p class="MsoNormal"><span style="COLOR: #1f497d; FONT-SIZE: 11pt">Hello Harini,</span></p>
<p class="MsoNormal"><span style="COLOR: #1f497d; FONT-SIZE: 11pt">check the Tag exporturl in your opencms-importexport.xml:</span></p>
<p class="MsoNormal"><span style="COLOR: #1f497d; FONT-SIZE: 11pt"><exporturl><a href="http://127.0.0.1:8080$%7bCONTEXT_NAME%7d/handle404%3c/exporturl" target="_blank">http://127.0.0.1:8080${CONTEXT_NAME}/handle404</exporturl</a>></span></p>

<p class="MsoNormal"><span style="COLOR: #1f497d; FONT-SIZE: 11pt">The port must match the port your Tomcat is running under.</span></p>
<p class="MsoNormal"><span style="COLOR: #1f497d; FONT-SIZE: 11pt"> </span></p>
<p class="MsoNormal"><span style="COLOR: #1f497d; FONT-SIZE: 11pt">HTH</span></p>
<p class="MsoNormal"><span style="COLOR: #1f497d; FONT-SIZE: 11pt">Kai</span></p>
<p class="MsoNormal"><span style="COLOR: #1f497d; FONT-SIZE: 11pt"> </span></p>
<div style="BORDER-BOTTOM: medium none; BORDER-LEFT: medium none; PADDING-BOTTOM: 0cm; PADDING-LEFT: 0cm; PADDING-RIGHT: 0cm; BORDER-TOP: #b5c4df 1pt solid; BORDER-RIGHT: medium none; PADDING-TOP: 3pt">
<p class="MsoNormal"><b><span style="FONT-SIZE: 10pt">Von:</span></b><span style="FONT-SIZE: 10pt"> <a href="mailto:opencms-dev-bounces@opencms.org" target="_blank">opencms-dev-bounces@opencms.org</a> [mailto:<a href="mailto:opencms-dev-bounces@opencms.org" target="_blank">opencms-dev-bounces@opencms.org</a>] <b>Im Auftrag von </b>rama harini<br>
<b>Gesendet:</b> Montag, 14. Februar 2011 07:37<br><b>An:</b> <a href="mailto:opencms-dev@opencms.org" target="_blank">opencms-dev@opencms.org</a><br><b>Betreff:</b> [opencms-dev] Static export on linux machine</span></p>
</div>
<div>
<div>
<p class="MsoNormal"> </p>
<div>
<div>
<p class="MsoNormal">Hi,</p></div>
<div>
<p class="MsoNormal"> </p></div>
<div>
<p class="MsoNormal">I got the below error while doing static export. I am using <span style="FONT-SIZE: 10pt">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? </span></p>
</div>
<div>
<p class="MsoNormal"> </p></div>
<div>
<p class="MsoNormal"><b><span style="COLOR: #000099; FONT-SIZE: 8.5pt">Exporting Template Resources ...</span></b><span style="COLOR: black; FONT-SIZE: 8.5pt"><br></span><span style="COLOR: #666666; FONT-SIZE: 8.5pt">( 1 / 143 ) Exporting</span><span style="COLOR: black; FONT-SIZE: 8.5pt"> /sites/default/thomson/pages/our_partners.html ... </span><b><span style="COLOR: #990000; FONT-SIZE: 8.5pt">Exception java.net.ConnectException: Connection refused<br>
at java.net.PlainSocketImpl.socketConnect(Native Method)<br>at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)<br>at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)<br>at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)<br>
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)<br>at java.net.Socket.connect(Socket.java:529)<br>at java.net.Socket.connect(Socket.java:478)<br>at sun.net.NetworkClient.doConnect(NetworkClient.java:163)<br>
at sun.net.www.http.HttpClient.openServer(HttpClient.java:394)<br>at sun.net.www.http.HttpClient.openServer(HttpClient.java:529)<br>at sun.net.www.http.HttpClient.<init>(HttpClient.java:233)<br>at sun.net.www.http.HttpClient.New(HttpClient.java:306)<br>
at sun.net.www.http.HttpClient.New(HttpClient.java:323)<br>at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:975)<br>at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:916)<br>
at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:841)<br>at org.opencms.staticexport.CmsAfterPublishStaticExportHandler.exportTemplateResource(CmsAfterPublishStaticExportHandler.java:439)<br>at org.opencms.staticexport.CmsAfterPublishStaticExportHandler.exportTemplateResources(CmsAfterPublishStaticExportHandler.java:510)<br>
at org.opencms.staticexport.CmsAfterPublishStaticExportHandler.doExportAfterPublish(CmsAfterPublishStaticExportHandler.java:166)<br>at org.opencms.staticexport.CmsStaticExportManager.exportFullStaticRender(CmsStaticExportManager.java:715)<br>
at org.opencms.workplace.tools.database.CmsStaticExportThread.run(CmsStaticExportThread.java:86)<br></span></b><span style="COLOR: #666666; FONT-SIZE: 8.5pt">( 2 / 143 ) Exporting</span><span style="COLOR: black; FONT-SIZE: 8.5pt"> /sites/default/thomson/pages/onholidays/pagesLB/kids_club_hatch_the_turtle.html ... </span><b><span style="COLOR: #990000; FONT-SIZE: 8.5pt">Exception java.net.ConnectException: Connection refused<br>
at java.net.PlainSocketImpl.socketConnect(Native Method)<br>at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)<br>at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)<br>at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)<br>
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)<br>at java.net.Socket.connect(Socket.java:529)<br>at java.net.Socket.connect(Socket.java:478)<br>at sun.net.NetworkClient.doConnect(NetworkClient.java:163)<br>
at sun.net.www.http.HttpClient.openServer(HttpClient.java:394)<br>at sun.net.www.http.HttpClient.openServer(HttpClient.java:529)<br>at sun.net.www.http.HttpClient.<init>(HttpClient.java:233)<br>at sun.net.www.http.HttpClient.New(HttpClient.java:306)<br>
at sun.net.www.http.HttpClient.New(HttpClient.java:323)<br>at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:975)<br>at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:916)<br>
at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:841)<br>at org.opencms.staticexport.CmsAfterPublishStaticExportHandler.exportTemplateResource(CmsAfterPublishStaticExportHandler.java:439)<br>at org.opencms.staticexport.CmsAfterPublishStaticExportHandler.exportTemplateResources(CmsAfterPublishStaticExportHandler.java:510)<br>
at org.opencms.staticexport.CmsAfterPublishStaticExportHandler.doExportAfterPublish(CmsAfterPublishStaticExportHandler.java:166)<br>at org.opencms.staticexport.CmsStaticExportManager.exportFullStaticRender(CmsStaticExportManager.java:715)<br>
at org.opencms.workplace.tools.database.CmsStaticExportThread.run(CmsStaticExportThread.java:86)<br></span></b><span style="COLOR: #666666; FONT-SIZE: 8.5pt">( 3 / 143 ) Exporting</span><span style="COLOR: black; FONT-SIZE: 8.5pt"> /sites/default/thomson/pages/onholidays/pagesLB/in_resort_restaurant.html ... </span><b><span style="COLOR: #990000; FONT-SIZE: 8.5pt">Exception java.net.ConnectException: Connection refused<br>
at java.net.PlainSocketImpl.socketConnect(Native Method)<br>at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)<br>at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)<br>at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)<br>
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)<br>at java.net.Socket.connect(Socket.java:529)<br>at java.net.Socket.connect(Socket.java:478)<br>at sun.net.NetworkClient.doConnect(NetworkClient.java:163)<br>
at sun.net.www.http.HttpClient.openServer(HttpClient.java:394)<br>at sun.net.www.http.HttpClient.openServer(HttpClient.java:529)<br>at sun.net.www.http.HttpClient.<init>(HttpClient.java:233)<br>at sun.net.www.http.HttpClient.New(HttpClient.java:306)<br>
at sun.net.www.http.HttpClient.New(HttpClient.java:323)<br>at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:975)<br>at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:916)<br>
at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:841)<br>at org.opencms.staticexport.CmsAfterPublishStaticExportHandler.exportTemplateResource(CmsAfterPublishStaticExportHandler.java:439)<br>at org.opencms.staticexport.CmsAfterPublishStaticExportHandler.exportTemplateResources(CmsAfterPublishStaticExportHandler.java:510)<br>
at org.opencms.staticexport.CmsAfterPublishStaticExportHandler.doExportAfterPublish(CmsAfterPublishStaticExportHandler.java:166)<br>at org.opencms.staticexport.CmsStaticExportManager.exportFullStaticRender(CmsStaticExportManager.java:715)<br>
at org.opencms.workplace.tools.database.CmsStaticExportThread.run(CmsStaticExportThread.java:86)</span></b></p></div>
<div>
<p class="MsoNormal"> </p></div>
<div>
<p class="MsoNormal"> </p></div>
<div>
<p class="MsoNormal"> </p></div>
<div>
<p class="MsoNormal"><span style="FONT-SIZE: 10pt">Regards,</span></p></div>
<div>
<p class="MsoNormal"><span style="FONT-SIZE: 10pt">Harini</span></p></div>
<div>
<p class="MsoNormal"><span style="FONT-SIZE: 10pt"> </span></p></div>
<p class="MsoNormal"> </p>
<p class="MsoNormal"> </p></div></div></div></div></div>
<p class="MsoNormal"><br><br>_______________________________________________<br>This mail is sent to you from the opencms-dev mailing list<br>To change your list options, or to unsubscribe from the list, please visit<br>
<a href="http://lists.opencms.org/mailman/listinfo/opencms-dev" target="_blank">http://lists.opencms.org/mailman/listinfo/opencms-dev</a></p></div>
<p class="MsoNormal"> </p></div></div></div></div></div><br><br>_______________________________________________<br>This mail is sent to you from the opencms-dev mailing list<br>To change your list options, or to unsubscribe from the list, please visit<br>
<a href="http://lists.opencms.org/mailman/listinfo/opencms-dev" target="_blank">http://lists.opencms.org/mailman/listinfo/opencms-dev</a><br></blockquote></div><br></div>