Before running the Port Changer utility, complete the following prerequisites:
· You must configure the RevLog4jConfig.xml file with the default log paths.
· The Port Changer utility connects to the Config Schema to collect all the configurations. Therefore, in the $FIC_HOME/conf directory, you must edit the DynamicServices.xml file for the DEFAULT_CONNECTION_URL attribute. Ensure that the VALUE is a qualified JDBC URL of the Target database.
To run the Port Changer utility, follow these steps:
1. Navigate to the $FIC_HOME/utility/PortC/bin directory in the Target.
2. Run the PortC.sh utility using the command:
./PortC.sh DMP
This command creates a file with the name DefaultPorts.properties in the $FIC_HOME directory. The directory contains the information related to the ports, IPs, and paths currently in use.
NOTE |
It is mandatory to run the Port Changer utility using the DMP parameter every time before executing the utility using the UPD command. |
3. Update the necessary changes to the ports, IPs, and paths in the DefaultPorts.properties file as per the Target environment. Save the changes.
4. Run the PortC.sh utility using the command:
./PortC.sh UPD
This command changes the ports, IPs, and paths in the .profile file (in the home directory), all the files in the $FIC_HOME directory, and the database tables according to the values mentioned in the DefaultPorts.properties file.
5. Verify the paths in the following files:
Path |
File Names |
$FIC_HOME/conf |
AdminConsolLog4Config.xml OFSAALogger.xml |
$FIC_HOME/utility/Migration/conf |
migration.properties |
$FIC_HOME/ficdb/conf |
AgentLog4jConfig.xml OFSAALogger.xml |
$FIC_HOME/ficapp/icc/conf |
ICCLog4jConfig.xml OFSAALogger.xml |
$FIC_HOME/ficapp/common/FICServer/conf |
log4j.conf.properties |
$FIC_HOME/ficweb/webroot/conf |
FICWeb.cfg RFDLogger.xml MDBLogger.xml |
$FIC_HOME/ficweb/webroot/WEB-INF |
web.xml |
$FIC_HOME/EXEWebService/Tomcat/ROOT/conf |
OFSAALogger.xml |
$FIC_HOME/EXEWebService/weblogic/ROOT/conf |
OFSAALogger.xml |
$FIC_HOME/EXEWebService/WebSphere/ROOT/conf |
OFSAALogger.xml |
If the paths are not updated, then update manually in these files.
6. Execute the .profile file and create the EAR or WAR file. Then restart the OFSAA services and redeploy to the configured web application server.