IM-BIS for Accel Platform / Setup Guide

Initial version 2014-01-01

«  Start/Stop, Deploy/Undeploy (Windows version)   ::   Contents   ::   Create Tenant Environment  »

Start/Stop, Deploy/Undeploy (Linux version)

Start Resin

Warning

Start Apache Cassandra before starting Resin in case of using IMBox functions in IM-BIS.

  1. Execute the following command.

    # <%RESIN_HOME%>/bin/resinctl -server app-0 start
    
  2. The startup is complete when the following message is displayed in console.

    [12-07-02 18:30:00.000] {main} http listening to *:8080
    [12-07-02 18:30:00.000] {main}
    [12-07-02 18:30:00.000] {main} Resin[id=app-0] started in 55480ms
    

Note

In case of distributed configuration, start from the environment in which each Resin is installed.
Specify the ID corresponding to the IP address set in “app_servers” property of <%RESIN_HOME%/conf/resin.properties> file for the “app-0” part.

Stop Resin

  1. Execute the following command.

    # %RESIN_HOME%/bin/resinctl -server app-0 stop
    
  2. It is in stopped state when the following message is displayed in console.

    {resin-shutdown} Shutdown Resin reason: OK
    

Note

In case of distributed configuration, stop from the environment in which each Resin is installed.
Specify the ID corresponding to the IP address set in “app_servers” property of <%RESIN_HOME%/conf/resin.properties> file for the “app-0” part.

Deploy war file

  1. Place the war file created in im-Juggling in any directory.

  2. Execute the following command.

    # <%RESIN_HOME%>/bin/resinctl deploy any directory path/war file name.war
    

Note

In case of using multi-tenant, execute respectively for the required war file.

Warning

It is required to start Resin before deploying war file.

Undeploy war file

  1. Execute the following command.

    # <%RESIN_HOME%>/bin/resinctl undeploy war file name
    

Note

In case of using multi-tenant, execute respectively for the war file to be undeployed.

Warning

It is required to start Resin to undeploy war file.

«  Start/Stop, Deploy/Undeploy (Windows version)   ::   Contents   ::   Create Tenant Environment  »