All,
I have successfully configured the JBoss 2.4.4 + Tomcat 4.0.1 Bundle to use SSL on my WinNT box (both SSL and non-SSL ports working). But I have not found a way to get the EmbeddedCatalinaServiceSX MBean to do port redirection (which means, if I request a web application resource which has a <transport-guarantee> of CONFIDENTIAL over http, it should redirect the request to https).
With tomcat standalone, this is handled by including the "redirectPort" attribute on the non-ssl connection definition.
Has anyone been able to get port redirection to work?
TIA,
TC.
PS There is a a lengthy discussion of this on the mailing list at sourceforge if you desire more details.
The answer...
you have to configure the support of HTTPS URL...
ie add to jboss.properties the line:
#JSSE https URL support
java.protocol.handler.pkgs=com.sun.net.ssl.internal.www.protocol
A big thanks to Alain Coetmeur for nailing this one.
TC