Starting the service interface on an application server

To use the service interface to run and manage test- or production-level services, you must first start the service interface on its application server. After the service interface is started on the application server, any application can access the service interface at any time.

Before you can start the service interface, you must first install the service interface on a computer. The service interface is installed as a part of the IBM® InfoSphere® Optim™ Web Applications package, which also contains the manager and the connection manager. You must then configure and deploy the connection manager to an application server before you can deploy and start the service interface.

To start the service interface on an application server:

  1. Start the application server. If the application server has deployed the service interface web application, then the service interface is started immediately after the application server has started. If you have not deployed the service interface to the version of IBM® WebSphere® Liberty that is delivered with the Optim Web Application package, then complete the step (2). In this step, optim_installation_directory is the installation directory where Optim was installed.
    • Microsoft Windows computers: Click Start > IBM InfoSphere > Run Liberty, or run the script optim_installation_directory/web/setup/liberty. Use fg or run option to run the server as foreground process. Use bg or start option to run server as background process.
    • Linux or UNIX computers: Run the script optim_installation_directory/web/setup/liberty. Use fg or run option to run the server as foreground process. Use bg or start option to run server as background process.
  2. Deploy the service interface. If you have not deployed the service interface to the version of IBM WebSphere Liberty that is delivered with the Optim Web Application package, then complete the following steps:

      On Microsoft™ Windows™, Linux™ or UNIX™

    1. Locate the WAR file which is located under optim_installation_directory/shared/osi/app/optim.service.interface.war. For example, the default location for the WAR file on Microsoft™ Windows™ is C:\IBM\InfoSphere\Optim\shared\osi\app\optim.service.interface.war.
    2. Deploy the war by copying the war file to destination location optim_installation_directory/shared/Liberty/usr/servers/OptimWebServer/apps/optim.service.interface.war For example: C:\IBMInfoSphere\Optim\shared\Liberty\usr\servers\OptimWebServer\apps
    3. Update the server.xml file located under optim_installation_directory/shared/Liberty/usr/servers/OptimWebServer to include the below line
      <application name="OSI" location="optim.service.interface.war" id="OSI" context-root="server"/>
    4. Restart IBM® WebSphere® Liberty
To automate the starting of the service interface after you restart the computer, configure the application server as a Windows service or Linux or UNIX daemon.


Feedback