[opencms-dev] error when publishing index.html

ryuu toumei liudm at nationalsoft.com.cn
Thu Nov 4 08:54:48 CET 2004


Hello

when I publish index.html in opencms , there are following exception.

The error message  :
Publishing resource ...          
Publishing /serc/index.html            
Static export, number of starting links is: 1          
Exporting /serc/index.html            
Exception com.opencms.core.CmsException: 40 Error in Flex loader. Detailed error: IO related error while exporting JSP for URI /serc/index.html.             
root cause was java.net.SocketException: Unexpected end of file from server            
at com.opencms.flex.CmsJspLoader.exportJsp(CmsJspLoader.java:410)            
at com.opencms.flex.CmsJspLoader.initlaunch(CmsJspLoader.java:224)            
at com.opencms.file.CmsStaticExport.exportLink(CmsStaticExport.java:628)            
at com.opencms.file.CmsStaticExport.<init>(CmsStaticExport.java:259)            
at com.opencms.file.genericSql.CmsResourceBroker.exportStaticResources(CmsResourceBroker.java:4665)            
at com.opencms.file.CmsObject.exportStaticResources(CmsObject.java:1523)            
at com.opencms.file.CmsObject.publishProject(CmsObject.java:2453)            
at com.opencms.file.CmsObject.publishResource(CmsObject.java:2598)            
at com.opencms.workplace.CmsPublishResourceThread.run(CmsPublishResourceThread.java:61)            
>-----------            
>Root cause:            
>java.net.SocketException: Unexpected end of file from server            
> at sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:818)            
> at sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:711)            
> at sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:816)            
> at sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:711)            
> at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:635)            
> at com.opencms.flex.CmsJspLoader.exportJsp(CmsJspLoader.java:406)            
> at com.opencms.flex.CmsJspLoader.initlaunch(CmsJspLoader.java:224)            
> at com.opencms.file.CmsStaticExport.exportLink(CmsStaticExport.java:628)            
> at com.opencms.file.CmsStaticExport.<init>(CmsStaticExport.java:259)            
> at com.opencms.file.genericSql.CmsResourceBroker.exportStaticResources(CmsResourceBroker.java:4665)            
> at com.opencms.file.CmsObject.exportStaticResources(CmsObject.java:1523)            
> at com.opencms.file.CmsObject.publishProject(CmsObject.java:2453)            
> at com.opencms.file.CmsObject.publishResource(CmsObject.java:2598)            
> at com.opencms.workplace.CmsPublishResourceThread.run(CmsPublishResourceThread.java:61)            
java.net.SocketException: Unexpected end of file from server            
at sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:818)            
at sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:711)            
at sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:816)            
at sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:711)            
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:635)            
at com.opencms.flex.CmsJspLoader.exportJsp(CmsJspLoader.java:406)            
at com.opencms.flex.CmsJspLoader.initlaunch(CmsJspLoader.java:224)            
at com.opencms.file.CmsStaticExport.exportLink(CmsStaticExport.java:628)            
at com.opencms.file.CmsStaticExport.<init>(CmsStaticExport.java:259)            
at com.opencms.file.genericSql.CmsResourceBroker.exportStaticResources(CmsResourceBroker.java:4665)            
at com.opencms.file.CmsObject.exportStaticResources(CmsObject.java:1523)            
at com.opencms.file.CmsObject.publishProject(CmsObject.java:2453)            
at com.opencms.file.CmsObject.publishResource(CmsObject.java:2598)            
at com.opencms.workplace.CmsPublishResourceThread.run(CmsPublishResourceThread.java:61)            
... static export finished
Checking filesystem links ...
.. filesystem link check finished
... the resource has been published         



Any idea ?

Thanks !

liudm


More information about the opencms-dev mailing list