AW: [opencms-dev] Publish problem with Tomcat 4.1 and IIS 6.0.

Mark Miller mark.miller at hema.ch
Thu Mar 18 08:25:02 CET 2004


I've had this problem too ... I have found that if you simply restart
tomcat once in a while, it seems to go away.


Kind regards,
 
Mark Miller
 
Hema Computersysteme AG
Frauholzstrasse 9a
6422 Steinen
 
Phone: +41 (0) 41 833 88 88
info at hema.ch
www.hema.ch


-----Ursprüngliche Nachricht-----
Von: opencms-dev-admin at opencms.org
[mailto:opencms-dev-admin at opencms.org] Im Auftrag von Rune Piselli
Gesendet: 15 March 2004 13:23
An: opencms-dev at opencms.org
Betreff: [opencms-dev] Publish problem with Tomcat 4.1 and IIS 6.0.

Hi,
I've been in trouble for a day because a problem when I tried to publish
an offline page.

The output of the exported page was as follows:
[jsp] ???

The environment was:
OS: Windows 2003
Http server: IIS v6.0
Servlet container: Tomcat 4.1.24

In the log the error output was this:

[15.03.2004 12:44:27] <opencms_critical> [CmsElementXml
(CmsXmlTemplate/quanam-website-basic-it)] Error in element jsp
[15.03.2004 12:44:27] <opencms_critical> [CmsElementXml
(CmsXmlTemplate/quanam-website-basic-it)]com.opencms.core.CmsException:
0 Unknown exception. Detailed error: [CmsJspTemplate] Error while
reading JSP
/system/modules/it.quanam.website/jsptemplates/quanam-basic-template-it.
jsp
com.opencms.core.CmsException: 40 Error in Flex loader. Detailed error:
IO related error while exporting JSP for URI
/website/it/azienda/index.html. 
root cause was java.io.IOException: Server returned HTTP response code:
411 for URL:
http://quanam1:80/opencms/opencms/system/modules/it.quanam.website/jspte
mplates/quanam-basic-template-it.jsp?_flex_export=/website/it/azienda/in
dex.html&_flex_export_body=%2Fsystem%2Fbodies%2Fwebsite%2Fit%2Fazienda%2
Findex.html&_flex_export_encoding=ISO-8859-1. 
root cause was com.opencms.core.CmsException: 40 Error in Flex loader.
Detailed error: IO related error while exporting JSP for URI
/website/it/azienda/index.html. 
root cause was java.io.IOException: Server returned HTTP response code:
411 for URL: http://
quanam1:80/opencms/opencms/system/modules/it.quanam.website/jsptemplates
/quanam-basic-template-it.jsp?_flex_export=/website/it/azienda/index.htm
l&_flex_export_body=%2Fsystem%2Fbodies%2Fwebsite%2Fit%2Fazienda%2Findex.
html&_flex_export_encoding=ISO-8859-1


I solved the problem by setting the following value in the
opencms.properties file
flex.jsp.exporturl=http://127.0.0.1:8080/opencms/opencms

I hope this will help someone in the future.

In this way flex use tomcat without going through IIS solving the
problem.

I don't know which class is responsible for handling the export I think
that the Head cvs version I downloaded Is quite different from the
Kaitan 1.0 build.
I would really like to know which tagging policy is used in the cvs for
debbuging more deeply this kind of problems.

The reported error is an HTTP error 411. This kind of error is generated
when in a request the content length field is required.
I suppose that Tomcat don't requires it while IIS do.

Thanks

Rune Piselli
--------------
Quanam S.r.l.
www.quanam.it 



_______________________________________________
This mail is send to you from the opencms-dev mailing list
To change your list options, or to unsubscribe from the list, please
visit
http://mail.opencms.org/mailman/listinfo/opencms-dev






More information about the opencms-dev mailing list