Have you checked the port numbers in these files:
The port numbers in the files are 8443 however a few lines above the 8443 tags in binding-jboss-beans.xml I see the following tag:
<property name="description">JBoss Web HTTP connector socket; also drives the values for the HTTPS and AJP sockets</property>
then a bit later in the file I see:
<xsl:variable name="portHttps" select="$port + 363"/>
so 9090+363 is 9453.
The other thing I noticed is that apache has changed to
When we try to modify the iptables to adjust to the new ports we still are not able to redirect.
Did some more testing and determined that our application upgrade is causing the probem, we just don't understand how to fix it.
I applied the patch to bindings-jboss-beans.xml then restarted JBoss but am still getting the same ports.
Here is a diff of the bindings-jboss-beans.xml:
# /usr/local/tstv/jboss/server/default/conf/bindingservice.beans/META-INF # diff bindings-jboss-beans.xml bindings-jboss-beans.xml.original
< <xsl:attribute name="port"><xsl:value-of select="$port" /></xsl:attribute>
> <xsl:attribute name="port"><xsl:value-of select="$port" /></xsl:attribute>
< <xsl:when test="(name() = 'redirectPort' and . = '8443')">
> <xsl:when test="(name() = 'redirectPort')">
# /usr/local/tstv/jboss/server/default/conf/bindingservice.beans/META-INF #
Here a snippet of the jboss.log file:
10:51:10,674 INFO [Http11Protocol] Initializing Coyote HTTP/1.1 on http-0
10:51:10,675 INFO [Http11Protocol] Initializing Coyote HTTP/1.1 on http-9019
10:51:10,675 INFO [Http11Protocol] Initializing Coyote HTTP/1.1 on http-9453
10:52:02,949 INFO [Http11Protocol] Starting Coyote HTTP/1.1 on http-0
10:52:02,989 INFO [Http11Protocol] Starting Coyote HTTP/1.1 on http-9019
10:52:02,998 INFO [Http11Protocol] Starting Coyote HTTP/1.1 on http-9453
Did I apply the patch correctly?
I applied the changes suggested in the patch to all levels of <JBoss>/server/<XXX>/conf/bindingservice.beans/META-INF/bindingservice.beans/META-INF but it still did not work.
removed the changes to the patch and modified the values of AJP and SSL ports to 11009 and 11443 respectively and we now have the desired effect.