Environment Variables¶
The JavaEE container process (Wildfly) that hosts the Insight web-applications must have the following environment variables set:
JAVA_OPTS, JBOSS_JAVA_SIZING¶
In certain setus you need to configure Wildfly for more specific setups, this is possible through setting JAVA_OPTS or JBOSS_JAVA_SIZING. If you secify your own JAVA_OPTS make sure to add default configuration for JBOSS_JAVA_SIZING to them, so performance does not degrate.
Example¶
-
JAVA_OPTS="-Dindexer.mode=idle -Xms256m -Xmx1024m -XX:MetaspaceSize=96M -XX:MaxMetaspaceSize=512m"
-
Truststore example here.
Defaults:¶
- JBOSS_JAVA_SIZING="-Xms256m -Xmx1024m -XX:MetaspaceSize=96M -XX:MaxMetaspaceSize=512m"
EAM_URL¶
If Insight Middleware connects to an external EAM (Maximo, OpenJET), the environment variable EAM_URL must contain the eam's URL. The value have to be the same as for Insight property eam.url.
For a pure v3-backend installation the environment variable must not be set.
JEE_SERVER¶
If the container is not listening on default port 8080, the environment variable JEE_SERVER have to be set to the container's address. E.g. if the container is listening on port 9500, the JEE_SERVER should be set to _http://localhost:9500*.