<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii"><meta name=Generator content="Microsoft Word 12 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
span.note
{mso-style-name:note;}
span.throw
{mso-style-name:throw;}
span.E-MailFormatvorlage19
{mso-style-type:personal-reply;
font-family:"Calibri","sans-serif";
color:#1F497D;}
.MsoChpDefault
{mso-style-type:export-only;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:70.85pt 70.85pt 2.0cm 70.85pt;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=DE link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Hello Harini,<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>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.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>So try to replace<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><a href="http://www.holidays-uncoveredprjdev.co.uk"><span style='color:#1F497D;text-decoration:none'>http://www.holidays-uncoveredprjdev.co.uk</span></a><o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>with<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>127.0.0.1<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>HTH<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Regards<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Kai<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'><p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>Von:</span></b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> opencms-dev-bounces@opencms.org [mailto:opencms-dev-bounces@opencms.org] <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<o:p></o:p></span></p></div><p class=MsoNormal><o:p> </o:p></p><div><div><p class=MsoNormal>Hello Kai,<o:p></o:p></p></div><div><p class=MsoNormal> <o:p></o:p></p></div><div><p class=MsoNormal>I have changed the port in opencms-importexport.xml.<o:p></o:p></p></div><div><p class=MsoNormal><exporturl>http://www.holidays-uncoveredprjdev.co.uk:40633${CONTEXT_NAME}/handle404</exporturl><o:p></o:p></p></div><div><p class=MsoNormal> <o:p></o:p></p></div><div><p class=MsoNormal> <o:p></o:p></p></div><div><p class=MsoNormal>Now I am getting the below error.<o:p></o:p></p></div><div><p class=MsoNormal> <span class=note>( 1 / 156 ) Exporting</span> /system/workplace/commons/style/onlinehelp.css ... <span class=throw>Exception java.net.SocketException: Unexpected end of file from server</span><br><span class=throw>at sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:769)</span><br><span class=throw>at sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:632)</span><br><span class=throw>at sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:766)</span><br><span class=throw>at sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:632)</span><br><span class=throw>at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1200)</span><br><span class=throw>at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:379)</span><br><span class=throw>at org.opencms.staticexport.CmsAfterPublishStaticExportHandler.exportTemplateResource(CmsAfterPublishStaticExportHandler.java:440)</span><br><span class=throw>at org.opencms.staticexport.CmsAfterPublishStaticExportHandler.exportTemplateResources(CmsAfterPublishStaticExportHandler.java:510)</span><br><span class=throw>at org.opencms.staticexport.CmsAfterPublishStaticExportHandler.doExportAfterPublish(CmsAfterPublishStaticExportHandler.java:166)</span><br><span class=throw>at org.opencms.staticexport.CmsStaticExportManager.exportFullStaticRender(CmsStaticExportManager.java:715)</span><br><span class=throw>at org.opencms.workplace.tools.database.CmsStaticExportThread.run(CmsStaticExportThread.java:86)</span><o:p></o:p></p></div><div><p class=MsoNormal><br>Regards,<o:p></o:p></p></div><div><p class=MsoNormal>Harini<br> <o:p></o:p></p></div><div><p class=MsoNormal>On Mon, Feb 14, 2011 at 2:32 PM, Schliemann, Kai <<a href="mailto:K.Schliemann@comundus.com">K.Schliemann@comundus.com</a>> wrote:<o:p></o:p></p><div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-size:11.0pt;color:#1F497D'>Hello Harini,</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-size:11.0pt;color:#1F497D'>check the Tag exporturl in your opencms-importexport.xml:</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-size:11.0pt;color:#1F497D'><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><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-size:11.0pt;color:#1F497D'>The port must match the port your Tomcat is running under.</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-size:11.0pt;color:#1F497D'> </span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-size:11.0pt;color:#1F497D'>HTH</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-size:11.0pt;color:#1F497D'>Kai</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-size:11.0pt;color:#1F497D'> </span><o:p></o:p></p><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><b><span style='font-size:10.0pt'>Von:</span></b><span style='font-size:10.0pt'> <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><o:p></o:p></p></div><div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> <o:p></o:p></p><div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>Hi,<o:p></o:p></p></div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> <o:p></o:p></p></div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>I got the below error while doing static export. I am using <span style='font-size:10.0pt'>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><o:p></o:p></p></div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> <o:p></o:p></p></div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><b><span style='font-size:8.5pt;color:#000099'>Exporting Template Resources ...</span></b><span style='font-size:8.5pt;color:black'><br></span><span style='font-size:8.5pt;color:#666666'>( 1 / 143 ) Exporting</span><span style='font-size:8.5pt;color:black'> /sites/default/thomson/pages/our_partners.html ... </span><b><span style='font-size:8.5pt;color:#990000'>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='font-size:8.5pt;color:#666666'>( 2 / 143 ) Exporting</span><span style='font-size:8.5pt;color:black'> /sites/default/thomson/pages/onholidays/pagesLB/kids_club_hatch_the_turtle.html ... </span><b><span style='font-size:8.5pt;color:#990000'>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='font-size:8.5pt;color:#666666'>( 3 / 143 ) Exporting</span><span style='font-size:8.5pt;color:black'> /sites/default/thomson/pages/onholidays/pagesLB/in_resort_restaurant.html ... </span><b><span style='font-size:8.5pt;color:#990000'>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><o:p></o:p></p></div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> <o:p></o:p></p></div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> <o:p></o:p></p></div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> <o:p></o:p></p></div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-size:10.0pt'>Regards,</span><o:p></o:p></p></div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-size:10.0pt'>Harini</span><o:p></o:p></p></div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-size:10.0pt'> </span><o:p></o:p></p></div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> <o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> <o:p></o:p></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><o:p></o:p></p></div><p class=MsoNormal><o:p> </o:p></p></div></div></body></html>