<div dir="ltr"><div>Hello Kai,</div>
<div> </div>
<div>I have changed the port in opencms-importexport.xml.</div>
<div><exporturl>http://www.holidays-uncoveredprjdev.co.uk:40633${CONTEXT_NAME}/handle404</exporturl></div>
<div> </div>
<div> </div>
<div>Now I am getting the below error.</div>
<div> <span class="note">( 1 / 156 ) </span><span class="note">Exporting</span><span> /system/workplace/commons/style/onlinehelp.css </span><span>... </span><span class="throw">Exception java.net.SocketException: Unexpected end of file from server<br>
at sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:769)<br>at sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:632)<br>at sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:766)<br>at sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:632)<br>
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1200)<br>at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:379)<br>at org.opencms.staticexport.CmsAfterPublishStaticExportHandler.exportTemplateResource(CmsAfterPublishStaticExportHandler.java:440)<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></div>
<div><br>Regards,</div>
<div>Harini<br> </div>
<div class="gmail_quote">On Mon, Feb 14, 2011 at 2:32 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">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></div>
<div class="h5">
<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"><span><b><span style="COLOR: #000099; FONT-SIZE: 8.5pt">Exporting Template Resources ...</span></b></span><span style="COLOR: black; FONT-SIZE: 8.5pt"><br></span><span><span style="COLOR: #666666; FONT-SIZE: 8.5pt">( 1 / 143 ) Exporting</span></span><span style="COLOR: black; FONT-SIZE: 8.5pt"> /sites/default/thomson/pages/our_partners.html ... </span><span><b><span style="COLOR: #990000; FONT-SIZE: 8.5pt">Exception java.net.ConnectException: Connection refused</span></b></span><b><span style="COLOR: #990000; FONT-SIZE: 8.5pt"><br>
<span>at java.net.PlainSocketImpl.socketConnect(Native Method)</span><br><span>at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)</span><br><span>at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)</span><br>
<span>at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)</span><br><span>at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)</span><br><span>at java.net.Socket.connect(Socket.java:529)</span><br><span>at java.net.Socket.connect(Socket.java:478)</span><br>
<span>at sun.net.NetworkClient.doConnect(NetworkClient.java:163)</span><br><span>at sun.net.www.http.HttpClient.openServer(HttpClient.java:394)</span><br><span>at sun.net.www.http.HttpClient.openServer(HttpClient.java:529)</span><br>
<span>at sun.net.www.http.HttpClient.<init>(HttpClient.java:233)</span><br><span>at sun.net.www.http.HttpClient.New(HttpClient.java:306)</span><br><span>at sun.net.www.http.HttpClient.New(HttpClient.java:323)</span><br>
<span>at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:975)</span><br><span>at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:916)</span><br><span>at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:841)</span><br>
<span>at org.opencms.staticexport.CmsAfterPublishStaticExportHandler.exportTemplateResource(CmsAfterPublishStaticExportHandler.java:439)</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><br></span></b><span><span style="COLOR: #666666; FONT-SIZE: 8.5pt">( 2 / 143 ) Exporting</span></span><span style="COLOR: black; FONT-SIZE: 8.5pt"> /sites/default/thomson/pages/onholidays/pagesLB/kids_club_hatch_the_turtle.html ... </span><span><b><span style="COLOR: #990000; FONT-SIZE: 8.5pt">Exception java.net.ConnectException: Connection refused</span></b></span><b><span style="COLOR: #990000; FONT-SIZE: 8.5pt"><br>
<span>at java.net.PlainSocketImpl.socketConnect(Native Method)</span><br><span>at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)</span><br><span>at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)</span><br>
<span>at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)</span><br><span>at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)</span><br><span>at java.net.Socket.connect(Socket.java:529)</span><br><span>at java.net.Socket.connect(Socket.java:478)</span><br>
<span>at sun.net.NetworkClient.doConnect(NetworkClient.java:163)</span><br><span>at sun.net.www.http.HttpClient.openServer(HttpClient.java:394)</span><br><span>at sun.net.www.http.HttpClient.openServer(HttpClient.java:529)</span><br>
<span>at sun.net.www.http.HttpClient.<init>(HttpClient.java:233)</span><br><span>at sun.net.www.http.HttpClient.New(HttpClient.java:306)</span><br><span>at sun.net.www.http.HttpClient.New(HttpClient.java:323)</span><br>
<span>at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:975)</span><br><span>at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:916)</span><br><span>at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:841)</span><br>
<span>at org.opencms.staticexport.CmsAfterPublishStaticExportHandler.exportTemplateResource(CmsAfterPublishStaticExportHandler.java:439)</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><br></span></b><span><span style="COLOR: #666666; FONT-SIZE: 8.5pt">( 3 / 143 ) Exporting</span></span><span style="COLOR: black; FONT-SIZE: 8.5pt"> /sites/default/thomson/pages/onholidays/pagesLB/in_resort_restaurant.html ... </span><span><b><span style="COLOR: #990000; FONT-SIZE: 8.5pt">Exception java.net.ConnectException: Connection refused</span></b></span><b><span style="COLOR: #990000; FONT-SIZE: 8.5pt"><br>
<span>at java.net.PlainSocketImpl.socketConnect(Native Method)</span><br><span>at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)</span><br><span>at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)</span><br>
<span>at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)</span><br><span>at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)</span><br><span>at java.net.Socket.connect(Socket.java:529)</span><br><span>at java.net.Socket.connect(Socket.java:478)</span><br>
<span>at sun.net.NetworkClient.doConnect(NetworkClient.java:163)</span><br><span>at sun.net.www.http.HttpClient.openServer(HttpClient.java:394)</span><br><span>at sun.net.www.http.HttpClient.openServer(HttpClient.java:529)</span><br>
<span>at sun.net.www.http.HttpClient.<init>(HttpClient.java:233)</span><br><span>at sun.net.www.http.HttpClient.New(HttpClient.java:306)</span><br><span>at sun.net.www.http.HttpClient.New(HttpClient.java:323)</span><br>
<span>at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:975)</span><br><span>at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:916)</span><br><span>at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:841)</span><br>
<span>at org.opencms.staticexport.CmsAfterPublishStaticExportHandler.exportTemplateResource(CmsAfterPublishStaticExportHandler.java:439)</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></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><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>