The procedure to deploy Sterling™ Order Management System Software and its applications.
Procedure
-
Extract the Liberty zip file to a directory.
- Open a command line and change the directory as follows:
cd
path_to_liberty/wlp/bin. Where path_to_liberty is the location you
installed Liberty on your operating system.
- Run the following command to create a
server:
./server create server_name. Where,
server_name
is the name to identify your server. If you do not specify a server
name, defaultServer
is used.
If the server is created successfully,
you receive a message: Server server_name created.
- Edit the server.xml file present in the
path_to_liberty/wlp/ usr/servers/<server_name> folder. Here,
server_name is the name you would have assigned in the previous step.
Refer the comments included in following XML snippet for more information about the configuration
element.
<?xml version="1.0" encoding="UTF-8"?>
<server description="server_name">
<!-- Enable features -->
<featureManager>
<feature>webProfile-7.0</feature>
</featureManager>
<!-- To access this server from a remote client, add a host attribute to the following element, e.g. host="*" -->
<httpEndpoint id="defaultHttpEndpoint" host="*" httpPort="9080"
httpsPort="9443" />
<!-- Automatically expand WAR files and EAR files -->
<applicationManager autoExpand="true"/>
<application context-root="smcfs" type="ear" id="smcfs"
location="<path_to_smcfs.ear>" name="smcfs">
</application>
</server>
Note: After installing Sterling Order Management System Software,
you must include the isccs.war
in the smcfs.ear
so that the
Sterling Call Center application is
available.
- Create the jvm.options file in the
path_to_liberty/wlp/usr/servers/server_name folder and add the following
information:
-Dvendor=shell
-DvendorFile=servers.properties
-Xms1024m
-Xmx2048m
-Xdebug
-Xnoagent
-Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=7777
-Duser.language=en
-Dprod=Y
-Dwufdevmode=true
What to do next
Run the following command to start or stop the Liberty server from the
path_to_liberty/wlp/bin:
./server start
server_name
./server stop
server_name
*server_name
is the name of the server to start
or stop.