-
1. Re: ssl port changes from 8443 to 9453
peterj Jun 7, 2011 9:59 AM (in response to itsamemario)Have you checked the port numbers in these files:
server/xxx/conf/bindingservice.beans/META-INF/binding-jboss-beans.xml
server/xxx/deploy/jbossweb.sar/server.xml
-
2. Re: ssl port changes from 8443 to 9453
itsamemario Jun 7, 2011 9:20 PM (in response to peterj)Thanks Peter...
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:
<bean class="org.jboss.services.binding.ServiceBindingMetadata">
<property name="serviceName">jboss.web:service=WebServer</property>
<property name="port">9090</property>
<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
apache2-2.2.3-16.29.2
apache2-prefork-2.2.3-16.29.2
from version:
apache2-2.2.3-16.28.1
apache2-prefork-2.2.3-16.28.1
When we try to modify the iptables to adjust to the new ports we still are not able to redirect.
-
3. Re: ssl port changes from 8443 to 9453
itsamemario Jun 13, 2011 3:51 PM (in response to itsamemario)Did some more testing and determined that our application upgrade is causing the probem, we just don't understand how to fix it.
Any thoughts?
-
5. Re: ssl port changes from 8443 to 9453
itsamemario Jun 16, 2011 2:04 PM (in response to jaikiran)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
504c504
< <xsl:attribute name="port"><xsl:value-of select="$port" /></xsl:attribute>
---
> <xsl:attribute name="port"><xsl:value-of select="$port" /></xsl:attribute>
509c509
< <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?
-
6. Re: ssl port changes from 8443 to 9453
itsamemario Jul 6, 2011 10:21 PM (in response to itsamemario)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.