JBoss Community

Re: https starting up on wrong port

created by Adrian H in JBoss Portal - View the full discussion

Even though this is over 2 years old, I thought I'd reply anyway for the sake of sharing knowledge..

 

I'm using JBoss AS 5.1.0_GA. In the conf/bindingservice.beans/META-INF/bindings-jboss-beans.xml file there is an XSL transformation at the bottom, which starts like this:

     <xsl:template match = "Connector">
         <Connector>
            <xsl:for-each select="@*">
            <xsl:choose>

 

... etc.

 

This XSL transform applies to the server.xml file under deploy/jbossweb.sar/server.xml. It modifies the ports you put in there (I have no idea how or why - anyone?).

 

The key line from this section is:
<xsl:variable name="portAJP" select="$port - 71"/>

 

Note that your chose value (24443) is 71 greater than the value chosen by JBoss (24364). Ie. 24443 - 71 = 24364. My assumption is that for some bizarre reason this transform is applying to your port number.

 

Can anyone explain the purpose and behaviour of the XSL transfrom to me?


Cheers,

Adrian

Reply to this message by going to Community

Start a new discussion in JBoss Portal at Community