Deploying the service interface WAR file on IBM WebSphere Liberty

You must deploy the service interface Web archive (WAR) file to the application server before you can use the service interface.

To deploy the Optim Service Interface (OSI) WAR file with the IBM WebSphere Liberty.

On Microsoft Windows, Linux or UNIX:

  1. Locate the WAR file. The optim-install location is where Optim was installed.
    System File path
    Linux or UNIX optim-install/shared/osi/app/optim.service.interface.war
    Microsoft Windows optim-install\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 file by copying the it to the destination location:
    System File path
    Linux or UNIX optim-install\shared\Liberty\usr\servers\OptimWebServer\apps\optim.service.interface.war
    Microsoft Windows optim-install/shared/Liberty/usr/servers/OptimWebServer/apps/optim.service.interface.war
    For example, the location for the WAR file on Microsoft Windows is C:\IBM\InfoSphere\Optim\shared\Liberty\usr\servers\OptimWebServer\apps.
  3. Update the server.xml file to include the line: <application name="OSI" location="optim.service.interface.war" id="OSI" context-root="server"/>. The file is located:
    System File path
    Linux or UNIX optim-install/shared/Liberty/usr/serversOptimWebServer
    Microsoft Windows optim-install\shared\Liberty\usr\serversOptimWebServer
    For example, the location for the server.xml file on Microsoft Windows is C:\IBM\InfoSphere\Optim\shared\Liberty\usr\serversOptimWebServer\server.xml.
  4. Restart IBM WebSphere Liberty.