5.9.1 When you replace HCSC components by stopping online
It is recommended that you suppress Full GC occurrence when you execute various stop commands and the start command of the business process and the service adapter.
When you replace HCSC components by stopping online, you can suppress the frequency of Full GC occurrence by specifying the -nogc option in each operating command as shown in the following procedure example:
-
Stop reception
cscrcptnstop -csc <HCSC server name> -nogc
-
Stopping business processes and service adapters
csccompostop -csc <HCSC server name> -name <serviceID> -nogc
-
Deleting business processes and service adapters
csccompoundeploy -csc <HCSC server name> -name <serviceID> -nogc
-
Importing repositories
cscrepctl -import <repositoryZIP>
-
Deploying business processes and service adapters
csccompodeploy -csc <HCSC server name> -all
-
Starting business processes and service adapters
csccompostart -csc <HCSC server name> -all -nogc
-
Start reception
cscrcptnstart -csc <HCSC server name> -nogc
If you do not specify the -nogc option with this command, Full GC occurs once at each of the point in time mentioned below.Full GC does not occur at any other time.
-
At the time of starting the standard reception immediately after the HCSC server set up
-
At the time of starting the user-defined reception immediately after executing the csccompodeploy command
-
-
Explicit issue of Full GC (optional)
javagc -p <process ID of J2EE server>
The Full GC issue before the online start shown in this operation is not mandatory, but if you want to explicitly issue Full GC, use the javagc command
For details on the javagc command, see "10. Commands Used in Java VM" in "Application Server Command Reference Guide".
Because Full GC occurrence is suppressed in steps 1.~3., steps 6.~7., Full GC occurs only once in step 8. within the entire procedure in this example.