Skip to main content
ExLibris
  • Subscribe by RSS
  • Ex Libris Knowledge Center

    Clash between JBoss port and another port

    • Article Type: General
    • Product: Aleph
    • Product Version: 20

    Description:
    Customers who encounter a clash between the JBoss port and another port in use (after installing JBoss 5) should not define the JBoss port in the file server.xml, but rather do as follows (the JBoss port 7893 is used as an example):

    1. Remark the following section in the file $aleph_dev/ng/aleph/home/system/thirdparty/openserver/server/default/deploy/jbossweb.sar/server.xml :

    Before:

    <!-- A AJP 1.3 Connector on port 8009 -->
    <Connector protocol="AJP/1.3" port="7893" address="${jboss.bind.address}"
    redirectPort="8443" />

    After:

    <!-- A AJP 1.3 Connector on port 8009
    <Connector protocol="AJP/1.3" port="7893" address="${jboss.bind.address}"
    redirectPort="8443" />
    -->

    2. Define the JBoss port in the file $aleph_dev/ng/aleph/home/profile/overwrites/thirdparty/openserver/server/default/conf/bindingservice.beans/META-INF/bindings-jboss-beans.xml:

    Before:

    <xsl:variable name="portAJP" select="$port - 71"/>

    After:

    <xsl:variable name="portAJP" select="7893"/>

    3. Restart the JBoss server.

    Resolution:


    • Article last edited: 10/8/2013