Edit setDomainEnv.sh
As directed in Edit setDomainEnv.sh add the parameter -DhandleDiscEvent
set
to True
on one and only one application server.
This is required to support multiple middle tiers pointing to the same database. Only the server with this parameter set to True will be able to send data from TMS to InForm.
-
Stop the Administration Server.
-
Log in to the system, change to the domain\bin directory, and open setDomainEnv.sh in an editing tool.
-
On only one application server, add a parameter named
-DhandleDiscEvent
to JAVA_OPTIONS and set its value toTRUE
.This is required to support multiple middle tiers pointing to the same database. Only the server with this parameter set to True will be able to send data from Oracle Thesaurus Management System (Oracle TMS) to InForm.
To add the parameter:
- Stop the Administration Server.
- Log in to the system, change to the domain\bin directory, and open setDomainEnv.sh in an editing tool.
- Search for the following text:
JAVA_OPTIONS="${JAVA_OPTIONS}"
- Add the parameter and its value within the quotes. For example:
if [ "${WEBLOGIC_EXTENSION_DIRS}" != "" ] ; then JAVA_OPTIONS="${JAVA_OPTIONS} -Dweblogic.ext.dirs=${WEBLOGIC_EXTENSION_DIRS}" export JAVA_OPTIONS fi JAVA_OPTIONS="${JAVA_OPTIONS} -DhandleDiscEvent=TRUE"
export JAVA_OPTIONS # SET THE CLASSPATH
Parent topic: Install Oracle Thesaurus Management System (Optional)