Chapter 3. Configure

3.1. Setting Environment Variables

Certain environment variables on your Oracle WebLogic Server require configuration before deploying the application.

JVM Memory Size

With the default JVM memory size, the WebLogic Server freezes and/or causes deployment errors when deploying Business Central. Increase the memory size by setting the following environment variable:
USER_MEM_ARGS=-Xms512m -Xmx1024m -XX:MaxPermSize=512m

JVM Custom Properties

The following custom properties require configuration on the WebLogic Server:
kie.services.jms.queues.response
JNDI name of the response queue for JMS remote API. Set to jms/KIE.RESPONSE.ALL.
kie.server.jms.queues.response
JNDI name of the response queue for the decision server. Set to jms/KIE.SERVER.RESPONSE.
javax.xml.bind.context.factory
The initialization class for the JAXB Context Factory. Set to com.sun.xml.bind.v2.ContextFactory
org.uberfire.start.method
Defines startable beans for Uberfire. Set to ejb (Enterprise JavaBeans).
org.uberfire.domain
Sets the domain for Uberfire to use. Set to OracleDefaultLoginConfiguration
com.sun.jersey.server.impl.cdi.lookupExtensionInBeanManager
Uses BeanManager to look up extensions. This avoids conflicts across multiple instances. Set to true.
Set all of these custom properties in a single environment variable:
JAVA_OPTIONS="-Dkie.services.jms.queues.response=jms/KIE.RESPONSE.ALL -Dkie.server.jms.queues.response=jms/KIE.SERVER.RESPONSE -Djavax.xml.bind.context.factory=com.sun.xml.bind.v2.ContextFactory -Dorg.uberfire.start.method=ejb -Dorg.uberfire.domain=OracleDefaultLoginConfiguration -Dcom.sun.jersey.server.impl.cdi.lookupExtensionInBeanManager=true"