[jboss-user] [JBoss Portal] - Re: https starting up on wrong port

Adrian H do-not-reply at jboss.com
Tue Sep 21 01:24:15 EDT 2010


Adrian H [http://community.jboss.org/people/adrian.howchin] created the discussion

"Re: https starting up on wrong port"

To view the discussion, visit: http://community.jboss.org/message/562802#562802

--------------------------------------------------------------
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
[http://community.jboss.org/message/562802#562802]

Start a new discussion in JBoss Portal at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2011]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20100921/4ee741f3/attachment-0001.html 


More information about the jboss-user mailing list