Start/Stop, Deploy/Undeploy (Linux version)¶
Start Resin¶
Warning
Start Apache Cassandra before starting Resin in case of using IMBox functions in IM-BIS.
Execute the following command.
# <%RESIN_HOME%>/bin/resinctl -server app-0 startThe 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 55480msNote
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¶
Execute the following command.
# %RESIN_HOME%/bin/resinctl -server app-0 stopIt is in stopped state when the following message is displayed in console.
{resin-shutdown} Shutdown Resin reason: OKNote
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¶
Place the war file created in im-Juggling in any directory.
Execute the following command.
# <%RESIN_HOME%>/bin/resinctl deploy any directory path/war file name.warNote
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¶
Execute the following command.
# <%RESIN_HOME%>/bin/resinctl undeploy war file nameNote
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.