uCosminexus Service Platform, Basic Development Guide

[Contents][Glossary][Index][Back][Next]

7.5.2 How to deploy HCSC components in the HCSC server and start them

This subsection describes how to deploy HCSC components in the HCSC server, and then start them.

Organization of this subsection
(1) Prerequisites
(2) Operation procedure
(3) Precautions

(1) Prerequisites

To deploy the HCSC components in the HCSC server and then start them, you must fulfill the following conditions:

(2) Operation procedure

(a) Deploying the selected HCSC components on the HCSC server and starting them
  1. From the service definition list in the tree view, select the HCSC components to be deployed on the HCSC server.
  2. Right-click the selected HCSC components, and choose Deploy on the server and start.

    [Figure]

    The displayed dialog box and the procedure thereafter will differ depending on whether the HCSC components to be operated are being edited.
    When the HCSC components to be operated are being edited
    A dialog box confirming whether to save the HCSC components being edited (private) will be displayed. If multiple services and user-defined receptions are being edited, multiple dialog boxes will be displayed. Click the Yes button to save. Click the Yes to all button to save thereafter without displaying the confirmation dialog box. If you do not want to save HCSC components, click the Cancel button and end the process.
    Proceed to step 3.
    When HCSC components to be operated are not being edited
    When batch execution is first performed after starting Eclipse, the Account Authentication dialog box is displayed. When the user ID and password are entered, and then the OK button is clicked, the processing will start. When batch execution is performed for the second time and thereafter after starting Eclipse, the processing will start immediately.
    Proceed to step 4.
  3. Click the Yes button or click the Yes to all button.
    When batch execution is first performed after starting Eclipse, the Account Authentication dialog box is displayed. When the user ID and password are entered and then the OK button is clicked, the processing will start. When batch execution is performed for the second time and thereafter after starting Eclipse, the processing will start immediately.
    The processing will differ as follows depending on whether deployment is defined (public) for the HCSC components being edited or deployment is not defined (private):
    When deployment is defined for the HCSC components
    Set HCSC components for which deployment is defined to a state in which deployment is not defined. After that, save the edited HCSC components and start the processing.
    When deployment is not defined for HCSC components
    Save the HCSC components being edited and start the processing.
  4. When a dialog box notifying the completion of processing appears, click the OK button.
  5. Check the following as needed:
    Check if deployment is defined
    In the system configuration definition list of the tree view, make sure that the selected HCSC components are added.
    [Figure]
    In the above example, you can confirm if the selected business process (BP1) and the service adapter (WebService1) defined in the selected business process are added.
    Check if the HCSC components are deployed on the HCSC server and started
    Log into the HCSC-Manager, and select the HCSC-Manager view. Make sure that the selected HCSC components are deployed on the HCSC server and started. For details about how to log in to the HCSC-Manager, see the manual Cosminexus Service Platform System Setup and Operation Guide.
    [Figure]
    In the above example, you can confirm if the selected business process (BP1) and the service adapter (WebService1) and user-defined reception (Reception1) defined in the selected business process are added.
(b) Deploying all HCSC components on the HCSC server and starting them
  1. Right-click the service definition list in the tree view, and choose Deploy all the services on the server and start.

    [Figure]

    When the HCSC components to be operated are being edited
    A dialog box, confirming whether to save the HCSC components being edited (private), will be displayed. If multiple services and user-defined receptions are being edited, multiple dialog boxes will be displayed. Click the Yes button to save. Click the Yes to all button to save thereafter without displaying the confirmation dialog box. If you do not want to save HCSC components, click the Cancel button and end the process.
    Proceed to step 3.
    When the HCSC components to be operated are not being edited
    When batch execution is first performed after starting Eclipse, the Account Authentication dialog box is displayed. When the user ID and password are entered and then the OK button is clicked, the processing will start. After starting Eclipse, when batch execution is performed for the second time and thereafter, the processing will start immediately.
    Proceed to step 4.
  2. Click the Yes button or click the Yes to all button.
    When batch execution is first performed after starting Eclipse, the Account Authentication dialog box is displayed. When the user ID and password are entered and then the OK button is clicked, the processing will start. After starting Eclipse, when batch execution is performed for the second time and thereafter, the processing will start immediately.
    The processing will differ as follows depending on whether deployment is defined (public) for the HCSC components being edited or deployment is not defined (private):
    When deployment is defined for the HCSC components
    Set the HCSC components for which deployment is defined to a state in which deployment is not defined. After that, save the edited HCSC components and start the processing.
    When deployment is not defined for the HCSC components
    Save the HCSC components being edited and start the processing.
  3. When a dialog box notifying the completion of processing appears, click the OK button.
  4. Check the following as needed:
    Check if deployment is defined
    In the system configuration definition list of the tree view, make sure that all the HCSC components defined in the development environment are added.
    [Figure]
    In the above example, you can confirm that all the HCSC components (BP1, WebService1, and WebService2) defined in the development environment are added.
    Check if the HCSC components are deployed on the HCSC server and started
    Log into the HCSC-Manager, and select the HCSC-Manager view. Make sure that all the HCSC components defined in the development environment are deployed on the HCSC server and started. For details about how to log in to the HCSC-Manager, see the manual Cosminexus Service Platform System Setup and Operation Guide.
    [Figure]
    In the above example, you can confirm if all the HCSC components (BP1, WebService1, WebService2, and Reception1) defined in the development environment are added.

(3) Precautions

The following are the precautions to be taken when deploying the HCSC components on the HCSC server and then starting them: