TomEE Server Configurations for IBSS

TomEE Installation

  1. Download Apache TOMEE 9.0 Plume from

https://tomee.apache.org/download.html

  1. Extract the zip file.

JDK 11

  • Check the version of installed JDK before installing TomEE 9.
  • Open command prompt and type SET JAVA_HOME

    Set Java_Home

  • Make sure that the JAVA_HOME is set to JDK 11.

IBSS Config File Path Configurations

  1. Go to Apache TomEE installation folder\conf
  2. Open the file catalina.properties to edit
  3. Add the below lines at the end of the file:

INSBRIDGE_INSTANCE_APP_DIR=c:/insbridge/logs

INSBRIDGE_APP_DIR=c:/insbridge

insbridge.net.softraterconfig.xml file

  1. Change the engine_type=”tomee”
  2. Should look like below, this is a one time change:

<softrater datelastmod="2020-03-12 03:08:47 PM" engine_type="tomee" format_version="3.0" softdata_version="SoftData Version 1" version="SoftRater Version 3">

System.properties Configurations

  1. Open system.properties in the Tomee/conf folder.
  2. Add openejb.classloader.forced-load=com.oracle to load com.oracle packages.
  3. Note: TomEE does not load the package with name "Oracle" in it, Ex: com.oracle.ins.ru.sr.ejb.esi

  4. Comment tomee.serialization.class and add the next entry for listing.

#tomee.serialization.class.blacklist = *

tomee.serialization.class.whitelist = *

Catalina.properties Configuration

  • Go to Apache Tomee installation folder\conf\catalina.properties
  • Add openejb to the jars to skip list in catalina.properties
  • Under "tomcat.util.scan.StandardJarScanFilter.jarsToSkip" there will be list of jar names to be skipped during startup, here add openejb-*.jar,\ as below:

    OpenejbJar

Update the Jars in TomEE Lib

Make sure the jars are in place before starting the TomEE Server.

The below list of jars are available as part of the RM SDK

IBRU_05.06.03.00_X64.exe\SDK\ESI\Java\lib\lib\Tomee_libs

Update the Jars in TomEE Lib

Remove default Email Library Reference from Lib

  1. Navigate to <TomEE_Home>\lib.
  2. Remove the following two jars from the lib directory.

    Remove jars from the lib directory

Download IBSS Ear

Download IBSS.ear build from pre informed directory.

Deploy IBSS To TOMEE

  1. Stop the TomEE server if running.
  2. Delete the IBSS.ear and IBSS folder under \webapps directory in Tomee Installation Folder.
  3. Copy the new EAR to the \webapps folder in TomEE installation folder.
  4. Start the TomEE server tomee\bin\startup.bat.
  5. The EAR will be extracted to the IBSS Folder under webapps
  6. IBSS can be accessed from the URL: http://localhost:8080/IBSS/index.jsp