[jboss-dev-forums] [Design of JBoss Web Services] - JBWS-1115 - Automatic detection of Tomcat port
darran.lofthouse@jboss.com
do-not-reply at jboss.com
Fri Sep 15 09:55:54 EDT 2006
Quite often users are requesting the ability to automatically set the port to be used for WSDL generation / URL replacement.
I would like to add something to 'ServerConfigImpl' to query all of the Tomcat connectors currently registered with the MBean server.
Take the first connector with scheme 'http' and secure set to false as the webServicePort.
Take the first connector with scheme 'http' and secure set to true as the webServiceSecurePort.
If multiple connectors are found a warning can be logged.
The values can then be injected into the ServiceEndpointManager.
The majority of users appear to have a problem when they are changing the Tomcat port or using the binding manager, this implementation would cover this.
For users with advanced use cases they can still modify the jboss-beans.xml as before.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3971921#3971921
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3971921
More information about the jboss-dev-forums
mailing list