Hitachi

JP1 Version 12 JP1/Service Support Configuration and Administration Guide


11.3.2 Changing port numbers

You cannot change port numbers while JP1/Service Support is running. To change port numbers:

  1. Stop services in the following order:

    • JP1/Service Support - Task Service service

    • JP1/Service Support - Web Service service

    • JP1/Service Support service

    • JP1/Service Support - DB Server service

  2. Change the port numbers.

    How to change a port number differs depending on the port as described in the following table.

    Table 11‒2: How to change port numbers

    Default port number

    Purpose

    How to change

    24400

    This port number is used for updating data in the Item management database server.

    1. Stop JP1/Service Support, and then change the port number in the following files:

      (The relevant entries are indicated in parentheses.)

      JP1/SS-path\conf\setup\jsssetupinfo.bat

      (@set IMSSDBPORT=24400)

      JP1/SS-path\tools\setup\jsscmdinfo.bat

      (@set IMSSDBPORT=24400)

      JP1/SS-path\dbms\db\CONF\pdsys

      (set pd_name_port=24400)

      JP1/SS-path\dbms\db\CONF\emb\HiRDB.ini

      (PDNAMEPORT=24400)

      JP1/SS-path\dbms\db\CONF\emb\HiRDB_JDBC.ini

      (PDNAMEPORT=24400)

    2. Restart JP1/Service Support.

    24401

    This port number is used for connection from a Web browser to JP1/Service Support (Web server).

    This port number is also used for the Web server's internal processing.

    1. Stop JP1/Service Support, and then change the port number in the following files:

      (The relevant entries are indicated in parentheses.)

      JP1/SS-path\conf\setup\jsssetupinfo.bat

      (@set IMSSHTTPPORT=24401)

      JP1/SS-path\tools\setup\jsscmdinfo.bat

      (@set IMSSHTTPPORT=24401)

      JP1/SS-path\uCPSB\httpsd\conf\httpsd.conf

      (Listen 24401)

      JP1/SS-path\conf\login\jsslogin.url

      (BASEURL=http://localhost:24401/jp1ss/index.jsp)

      (URL=http://localhost:24401/jp1ss/index.jsp)

    2. Restart JP1/Service Support.

    24402

    This port number is used for communication between the Web server and the WWW container server.

    1. Stop JP1/Service Support, and then change the port number in the following files:

      (The relevant entries are indicated in parentheses.)

      JP1/SS-path\conf\setup\jsssetupinfo.bat

      (@set IMSSWEBCONPORT=24402)

      JP1/SS-path\tools\setup\jsscmdinfo.bat

      (@set IMSSWEBCONPORT=24402)

      JP1/SS-path\uCPSB\CC\web\containers\jp1ss\usrconf\usrconf.properties

      (webserver.connector.ajp13.port=24402)

      JP1/SS-path\uCPSB\CC\web\redirector\workers.properties

      (worker.worker1.port=24402)

    2. Restart JP1/Service Support.

    24403

    This port number is used for shutting down the WWW container server.

    1. Stop JP1/Service Support, and then change the port number in the following files:

      (The relevant entries are indicated in parentheses.)

      JP1/SS-path\conf\setup\jsssetupinfo.bat

      (@set IMSSWEBSHUPORT=24403)

      JP1/SS-path\tools\setup\jsscmdinfo.bat

      (@set IMSSWEBSHUPORT=24403)

      JP1/SS-path\uCPSB\CC\web\containers\jp1ss\usrconf\usrconf.properties

      (webserver.shutdown.port=24403)

    2. Restart JP1/Service Support.

    24404

    This port number is used for system setup of the WWW container server.

    1. Stop JP1/Service Support, and then change the port number in the following files:

      (The relevant entries are indicated in parentheses.)

      JP1/SS-path\conf\setup\jsssetupinfo.bat

      (@set IMSSWEBHTTPPORT=24404)

      JP1/SS-path\tools\setup\jsscmdinfo.bat

      (@set IMSSWEBHTTPPORT=24404)

      JP1/SS-path\uCPSB\CC\web\containers\jp1ss\usrconf\usrconf.properties

      (webserver.connector.http.port=24404)

    2. Restart JP1/Service Support.

  3. Restart services in the following order:

    • JP1/Service Support - DB Server service

    • JP1/Service Support service

    • JP1/Service Support - Web Service service

    • JP1/Service Support - Task Service service