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

Rune Piselli rune at quanam.it
Mon Mar 15 13:37:01 CET 2004


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 






More information about the opencms-dev mailing list