You can set up JAAS login information and configure memory settings for UNIX by editing WebLogic Server files.
Find the MEM_ARGS variable and append the following to any existing settings:
-XX:MaxPermSize=size m
where size is the value, in MB, of the MaxPermSize. Refer to your application server vendor recommendation for a value for your configuration. For more information about performance tuning, see the IBM FileNet® P8 Performance Tuning Guide.
Find the MEM_ARGS variable and append the following to any existing settings:
-Xgc:gencon
If the MEM_ARGS variable does not exist, add it to the setDomainEnv.sh file.
Modify the following line in the setDomainEnv file:
JAVA_OPTIONS="${JAVA_OPTIONS} ${JAVA_PROPERTIES} -Dwlw.iterativeDev=${iterativeDevFlag} -Dwlw.testConsole=${testConsoleFlag} -Dwlw.logErrorsToConsole=
${logErrorsToConsoleFlag}" export JAVA_OPTIONS
insert these entries (without a carriage return) before the export JAVA_OPTIONS line:
-Dprogram.name=$PROGNAME -Dfilenet.pe.peorb.pool.min=2 -Dfilenet.pe.peorb.pool.max=5"
Result:
JAVA_OPTIONS="${JAVA_OPTIONS} ${JAVA_PROPERTIES} -Dwlw.iterativeDev=${iterativeDevFlag} -Dwlw.testConsole=${testConsoleFlag} -Dwlw.logErrorsToConsole=
${logErrorsToConsoleFlag} - Dprogram.name=$PROGNAME -Dfilenet.pe.peorb.pool.min=2 -Dfilenet.pe.peorb.pool.max=5" export JAVA_OPTIONS
Enter the JAAS_LOGIN entry as a single line without line breaks. Do not copy and paste the text from this guide because hidden formatting can cause problems with the entry. Instead, type the entry into the script.
Option | Description |
---|---|
AIX® |
where
install_path is the location where you installed Workplace
XT. For example:
|
UNIX |
where install_path is
the location where you installed Workplace XT. For example,
|
${JAVA_HOME}/bin/java ${JAVA_VM} -version
if [ "${WLS_REDIRECT_LOG}" = "" ] ;
then
echo "Starting WLS with line:"
echo "${JAVA_HOME}/bin/java
${JAVA_VM}
${MEM_ARGS} ${JAVA_OPTIONS}
-Dweblogic.Name=${SERVER_
NAME} -Djava.security.policy=
${WL_HOME}/server/lib
/weblogic.policy
${PROXY_SETTINGS}
${SERVER_CLASS
}"
${JAVA_HOME}/bin/java
${JAVA_VM} ${MEM_ARGS}
${JAVA_OPTIONS} ${JAAS_LOGIN}
-Dweblogic.Name=${SERVER_NAME}
-Djava.security.policy=
${WL_HOME}
/server/lib/weblogic.policy
${PROXY_SETTINGS} ${SERVER_
CLASS}
else
echo "Redirecting output from
WLS window
to ${WLS_REDIRECT_LOG}"
${JAVA_HOME}/bin/java
${JAVA_VM}
${MEM_ARGS} ${JAVA_OPTIONS}
${JAAS_LOGIN}
-Dweblogic.Name=${SERVER_NAME}
-Djava.security.policy=
${WL_HOME}
/server/lib/weblogic.policy
${PROXY_SETTINGS}
${SERVER_CLASS}
>"${WLS_REDIRECT_LOG}" 2>&1
fi