[opencms-dev] Static export on linux machine

rama harini hariniaddanki at gmail.com
Mon Feb 14 11:29:13 CET 2011


Hello Kai,

I have changed the port in opencms-importexport.xml.
<exporturl>http://www.holidays-uncoveredprjdev.co.uk:40633
${CONTEXT_NAME}/handle404</exporturl>


Now I am getting the below error.
 ( 1 / 156 ) Exporting /system/workplace/commons/style/onlinehelp.css
... Exception
java.net.SocketException: Unexpected end of file from server
at sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:769)
at sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:632)
at sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:766)
at sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:632)
at
sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1200)
at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:379)
at
org.opencms.staticexport.CmsAfterPublishStaticExportHandler.exportTemplateResource(CmsAfterPublishStaticExportHandler.java:440)
at
org.opencms.staticexport.CmsAfterPublishStaticExportHandler.exportTemplateResources(CmsAfterPublishStaticExportHandler.java:510)
at
org.opencms.staticexport.CmsAfterPublishStaticExportHandler.doExportAfterPublish(CmsAfterPublishStaticExportHandler.java:166)
at
org.opencms.staticexport.CmsStaticExportManager.exportFullStaticRender(CmsStaticExportManager.java:715)
at
org.opencms.workplace.tools.database.CmsStaticExportThread.run(CmsStaticExportThread.java:86)

Regards,
Harini

On Mon, Feb 14, 2011 at 2:32 PM, Schliemann, Kai
<K.Schliemann at comundus.com>wrote:

>  Hello Harini,
>
> check the Tag exporturl in your opencms-importexport.xml:
>
> <exporturl>http://127.0.0.1:8080${CONTEXT_NAME}/handle404</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(HttpURLConnection.java:975)
> at
> sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:916)
> at
> sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:841)
> at
> org.opencms.staticexport.CmsAfterPublishStaticExportHandler.exportTemplateResource(CmsAfterPublishStaticExportHandler.java:439)
> at
> org.opencms.staticexport.CmsAfterPublishStaticExportHandler.exportTemplateResources(CmsAfterPublishStaticExportHandler.java:510)
> at
> org.opencms.staticexport.CmsAfterPublishStaticExportHandler.doExportAfterPublish(CmsAfterPublishStaticExportHandler.java:166)
> at
> org.opencms.staticexport.CmsStaticExportManager.exportFullStaticRender(CmsStaticExportManager.java:715)
> at
> org.opencms.workplace.tools.database.CmsStaticExportThread.run(CmsStaticExportThread.java:86)
> *( 2 / 143 ) Exporting/sites/default/thomson/pages/onholidays/pagesLB/kids_club_hatch_the_turtle.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(HttpURLConnection.java:975)
> at
> sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:916)
> at
> sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:841)
> at
> org.opencms.staticexport.CmsAfterPublishStaticExportHandler.exportTemplateResource(CmsAfterPublishStaticExportHandler.java:439)
> at
> org.opencms.staticexport.CmsAfterPublishStaticExportHandler.exportTemplateResources(CmsAfterPublishStaticExportHandler.java:510)
> at
> org.opencms.staticexport.CmsAfterPublishStaticExportHandler.doExportAfterPublish(CmsAfterPublishStaticExportHandler.java:166)
> at
> org.opencms.staticexport.CmsStaticExportManager.exportFullStaticRender(CmsStaticExportManager.java:715)
> at
> org.opencms.workplace.tools.database.CmsStaticExportThread.run(CmsStaticExportThread.java:86)
> *( 3 / 143 ) Exporting/sites/default/thomson/pages/onholidays/pagesLB/in_resort_restaurant.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(HttpURLConnection.java:975)
> at
> sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:916)
> at
> sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:841)
> at
> org.opencms.staticexport.CmsAfterPublishStaticExportHandler.exportTemplateResource(CmsAfterPublishStaticExportHandler.java:439)
> at
> org.opencms.staticexport.CmsAfterPublishStaticExportHandler.exportTemplateResources(CmsAfterPublishStaticExportHandler.java:510)
> at
> org.opencms.staticexport.CmsAfterPublishStaticExportHandler.doExportAfterPublish(CmsAfterPublishStaticExportHandler.java:166)
> at
> org.opencms.staticexport.CmsStaticExportManager.exportFullStaticRender(CmsStaticExportManager.java:715)
> at
> org.opencms.workplace.tools.database.CmsStaticExportThread.run(CmsStaticExportThread.java:86)
> *
>
>
>
>
>
>
>
> Regards,
>
> Harini
>
>
>
>
>
>
>
>
> _______________________________________________
> This mail is sent to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, please visit
> http://lists.opencms.org/mailman/listinfo/opencms-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20110214/b543514b/attachment.htm>


More information about the opencms-dev mailing list