Running Port Changer Utility

Port Changer (PortC) utlity is enhanced to run as an automated job without any manual intervention.

Complete the following steps to run the PortC utility:
  1. Navigate to $FIC_HOME/utility/PortC/bin folder on Target.
  2. Run the PortC.sh utility using command:
    ./PortC.sh DMP
    A file with the name DefaultPorts.properties will be created under $FIC_HOME directory which will contain the ports, IPs and paths currently being used.

    Note:

    It is mandatory to run the Port Changer utility using the DMP parameter every time before executing the utility using UPD command.
  3. Make the necessary changes to those ports, IPs, and paths in the DefaultPorts.properties file as per the Target environment. Save the changes.

    Note:

    In the properties file, ensure that the JDBC_URL parameter does not contain space(s). If you enter JDBC_URL with space(s), then you might experience errors in accessing the System Configuration window.
  4. Run the PortC.sh utility using the command:
    ./PortC.sh UPD
    This will change the ports, IPs and paths in .profile (under home directory), all files under $FIC_HOME directory, and tables in the database according to the values mentioned in DefaultPorts.properties file.
  5. Execute the .profile file and create the EAR/WAR file. Then restart the OFSAA services and redeploy to the configured web application server.