Hitachi

uCosminexus Service Platform Setup and Operation Guide


7.9.4 How to restore when deadlock occurs

Restore HCSC server by following methods, when a deadlock occurs in a process on HCSC server.

Organization of this subsection

(1) When unable to respond to service component invocation request sent to HCSC server

Following are the steps to investigate when there is no response to the service component invocation requests that are sent to HCSC server:

  1. Check the thread information using the cjlistthread command.

  2. Use the cjstopthread thread and delete the invalid threads.

  3. When unable to delete the threads, specify the -force option of the cscsvstop command and stop the HCSC server forcefully.

    Please note that operations cannot be performed from the operating environment screen of HCSC-Manager.

  4. Force stop the HCSC server and when the stop process is complete, use the cscsvstart command to restart HCSC server.

For details about how to use the cjstopthread command, see "cjstopthread (stop threads)" in "Application Server Command Reference Guide".

For details about how to use cjlistthread command, see "cjlistthread (display thread information)" in "Application Server Command Reference Guide".

For details about status of thread and how to check the execution status, see "5.3.11 Confirming the execution status of a J2EE application" in "Application Server Operation, Monitoring, and Linkage Guide".

For details about how to use the cscsvstop command, see "cscsvstop (Stopping an HCSC server)" in "Service Platform Reference Guide".

For details about how to use the cscsvstart command, see "cscsvstart (Starting an HCSC server)" in "Service Platform Reference Guide".

(2) When unable to stop HCSC component or standard reception

Following are the investigation steps to be taken when HCSC component or standard reception cannot be stopped:

  1. When unable to delete the thread, specify the -force option of the cscsvstop command and force stop HCSC server.

    Note that operation cannot be performed from the operating environment screen of HCSC-Manager.

  2. After forcefully stopping the HCSC server, use the cscsvstart command to restart HCSC server.

  3. Use the cscstatus command and check the status of HCSC component and standard reception.

    If the status is stop failed (stopfailed), try to stop HCSC component by entering the csccompostop command for HCSC components. For standard reception, specify -stopfg force in the cscrcptnstop command and try to forcefully stop standard reception.

    When the status becomes inactive (inactive), recover by entering the respective start commands.

For details about how to use all commands, see the corresponding commands under "5. Commands (Operating and Execution Environments)" in "Service Platform Reference Guide".