2010/4/16 Me Self <wmso...@gmail.com>: > I can change the redirectPort at runtime through managed bean > "org.apache.catalina.mbeans.ConnectorMBean" to 443. When I do that it > works immediately but after server restart the port is back to 8443. >
I see two options: a) either there is a misprint somewhere - unknown attributes are ignored when parsing server.xml, especially in 5.5. The 6.0 would print a message if it can detect that there is no property with the given name in the class that this XML element configures. b) the file that you are changing is not the one that is actually used. I do not use JBoss, so there might be differences with what I know. E.g., you are saying about context.xml, but in Tomcat that is configured in server.xml. By the way, AFAIK, SSLEnabled="true" is not needed/not available in Tomcat 5.5, (no harm here, because unknown attribute will just be ignored, as I wrote above). Thus it looks like a Tomcat 6.0 configuration. Best regards, Konstantin Kolinko --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org