Go to primary content
Oracle® Retail Service Backbone Installation Guide
Release 15.0.2
E90691-01
  Go To Table Of Contents
Contents

Previous
Previous
 
Next
Next
 

7 Install JSIT

JSIT is a tool that can help to mock the behavior of retail applications. JSIT can be used to validate the installation of RSB, in the absence of edge applications. This is an optional step, only needed when one or more real oracle retail edge application is not ready at the time of RSB installation. Later, when the applications are ready, modify the service endpoints in the RSB configuration file (rsb-deployment-env-info.properties), recompile RSB and redeploy RSB decorators.

Download and Prepare SIT

  1. Download and save javaee-service-interface-tester-<version>.ear in an install stage folder, which will be referred to here as SIT_JAVAEE_APP_HOME.

  2. Download and save RSE generated JavaEE ejb-jar (<app>-service-ejb.jar) in SIT_JAVAEE_APP_HOME. <app> is the application name that hosts the application service. e.g., rms-service-ejb.jar. The <app>-service-ejb.jar can be found inside the RsbServiceIntegration Paks, for example:

    RsbServiceIntegrationPak15.0.2For<app>15.0.2_eng_ga.zip\<app>-app-service-contract\service-provider\generated-output\deployable-component\<app>_JavaEEServiceProvider.zip\<app>-service-ejb.jar
    

    Merge the two components:

    jar -uvf javaee-service-interface-tester-<version>.ear <app>-service-ejb.jar
    

Note:

Multiple applications can be hosted on JSIT.

For example:

jar uvf javaee-service-interface-tester-<version>.ear rms-service-ejb.jar ooc-service-ejb.jar oms-service-ejb.jar

Deploy javaee-service-interface-tester-<version>.ear to Glassfish

  1. Open Glassfish (JavaEE 6) Application Service console.

    For example:

    http://localhost:4848/"http://localhost:4848
    
  2. Deploy javaee-service-interface-tester-<version>.ear.

    Your web browser --> Glassfish AdminConsole --> Application --> Deploy --> Browse to javaee-service-interface-tester-<version>.ear

  3. Click Deploy.

Deploy SIT to WebLogic 12c

  1. Open WebLogic 12c Console.

    1. Deploy javaee-service-interface-tester-<version>.ear.

      Your Web Browser --> WebLogic AdminConsole --> Deployments --> Deploy --> Browse to javaee-service-interface-tester-<version>.ear

    2. Click Deploy.


      Note:

      Please do not change the default application name. It should be kept as javaee-service-interface-tester-<version>.ear.

      If run into any DERB jar error, add derby.jar into weblogic startup classpath. To do this edit the commEnv.sh script in WLS and add the derby.jar to DERBY_CLIENT_CLASSPATH variable.

      For example, DERBY_CLIENT_CLASSPATH="${DERBY_HOME}/lib/derby.jar:${DERBY_HOME}/lib/derbyclient.jar"


    3. Create a new user for JSIT:

      - click on Security Realms

      - click on myrealm

      - click on Users and Groups

      - create a new group called "sitadmin"

      - create a new user. Add this new user to the sitadmin group.

Verify JSIT

JSIT Installation can be verified by browsing the URL http://<hostname>:<port>/javaee-service-interface-tester-web. You should be able to see the following screens if the installation is successful.

Surrounding text describes image030.png.
Surrounding text describes image031.png.