Deploying the Higgins I-Card Manager Service

From Eclipsepedia

Jump to: navigation, search

Prerequisites

This guide assumes you to have the following software:

  • Apache Tomcat 5.5 or later (or other servlet container)
  • "icm.war" file must be maked before deploying (i.e. ICM project must be built. For information on how to build the web applications, see here: Building the Higgins I-Card Manager Service).

Deploying he Higgins I-Card Manager Service

Copy icm.war from the folder *\org.eclipse.higgins.icm\build\war into Tomcat folder "/webapps" and restart Tomcat for deploy Web Application.

If needed to use own RPPS, it must be first built and deploy. Also change path to this RPPS.

Default path to RPPS-server set in file *\org.eclipse.higgins.icm\src\main\wsdl\RPPSService.wsdl. This file shouldn't be changed. If needed to use another address RPPS-server then default, add into Tomcat-configuration parameter.

If you working with Windows:

  • enter in folder "Tomcat_folder/bin" and open the file "startup.bat",
  • place in the filst line of file:
SET JAVA_OPTS=%JAVA_OPTS% -Dorg.eclipse.higgins.ics.ws.RPPSEndpointAddress="full path to the RPPS-server";

otherwise:

  • enter in folder "Tomcat_folder/bin" and open the file "startup.sh",
  • place in the filst line of file:
JAVA_OPTS="$JAVA_OPTS " -Dorg.eclipse.higgins.ics.ws.RPPSEndpointAddress="full path to the RPPS-server".