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 and admin app.
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.
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.
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-14.1.0.ear rms-service-ejb.jar ooc-service-ejb.jar oms-service-ejb.jar |
Open Glassfish (JavaEE 6) Application Service console.
For example:
http://localhost:4848/"http://localhost:4848
Deploy javaee-service-interface-tester-<version>.ear.
Your web browser --> Glassfish AdminConsole --> Application --> Deploy --> Browse to javaee-service-interface-tester-<version>.ear
Click Deploy.
Verify if DERBY_FLAG is set to "true" Ex: DERBY_FLAG="true" in the setDomainEnv.sh script.
Add derby.jar to your 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"
Open WebLogic 12c Console.
Deploy javaee-service-interface-tester-<version>.ear.
Your Web Browser --> WebLogic AdminConsole --> Deployments --> Deploy --> Browse to javaee-service-interface-tester-<version>.ear
Click Deploy.
Note: Please do not change the default application name. It should be kept as javaee-service-interface-tester-<version>.ear. |
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.