Changing the port number of Rational Change 5.2

Technote (FAQ)


Question

How do you change jetty port number after the installation of IBM Rational Change 5.2?

Cause

During the installation of IBM Rational Change 5.2 the default port listed is 8600.

You can change the port number without having to reinstall.


Answer

Steps to change the port number post the installation of Change 5.2:

  1. Stop the jetty service:

    UNIX:
    Run the following command from CS_HOME/jetty location:

    csctl.sh stop

    Windows:
    Stop Change service from services window.

  2. Edit the change.xml file to update the new port number as shown in the following entry:

    Note: The change.xml files is located at CS_HOME/jetty/etc

    --------------------------------------------------
    <!-- Configure the SocketListner / What port Jetty is running on -->
    <Call name="addListener">
    <Arg>
    <New class="org.mortbay.http.SocketListener">
    <Set name="Port">8601</Set>
    <Set name="MinThreads">5</Set>
    <Set name="MaxThreads">255</Set>
    <Set name="MaxIdleTimeMs">60000</Set>
    </New>
    </Arg>
    </Call>
    -----------------------------------------------------


    Note: 8601 is the new port number in this example.

  3. Next edit the web.xml to update the same port number as mentioned in Step 2

    Note: The web.xml file is located at CS_HOME/jetty/webapps/change/WEB-INF

    ---------------------------------------------------------
    <context-param>
    <param-name>port</param-name>
    <param-value>8601</param-value>
    </context-param>
    <listener>
    <listener-class>
    ----------------------------------------------------------


    Note: 8601 is the new port number in this example.

  4. Restart Jetty service for changes to take effect.

    UNIX:
    Run the following command from CS_HOME/jetty

    csctl.sh start

    Windows:
    Start the Change service from services window

Change 5.2 can then be launched on the new port number.

Rate this page:

(0 users)Average rating

Document information


More support for:

Rational Synergy
General Information

Software version:

7.1

Operating system(s):

AIX, Linux, Solaris, Windows

Reference #:

1402320

Modified date:

2009-11-10

Translate my page

Machine Translation

Content navigation