You can set up JAAS login information and configure memory settings for Windows 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 startup script.
Modify the following line in the setDomainEnv.cmd file:
set JAVA_OPTIONS=%JAVA_OPTIONS% %JAVA_PROPERTIES% -Dwlw.iterativeDev=%iterativeDevFlag% -Dwlw.testConsole=%testConsoleFlag% -Dwlw.logErrorsToConsole=%logErrorsToConsoleFlag%
insert these entries (without a carriage return) after the %JAVA_PROPERTIES%:
-Dprogram.name=%PROGNAME% -Dfilenet.pe.peorb.pool.min=2 -Dfilenet.pe.peorb.pool.max=5Result:
Result:
set JAVA_OPTIONS=%JAVA_OPTIONS% %JAVA_PROPERTIES% -Dprogram.name=%PROGNAME% -Dfilenet.pe.peorb.pool.min=2 -Dfilenet.pe.peorb.pool.max=5 -Dwlw.iterativeDev=%iterativeDevFlag% -Dwlw.testConsole=%testConsoleFlag% -Dwlw.logErrorsToConsole=%logErrorsToConsoleFlag%
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.
@REM JAAS LOGIN configuration setting
set JAAS_LOGIN=%JAAS_LOGIN% -Djava.security.auth.login.config= "install_path \IBM\FileNet\WebClient\CE_API\config\jaas.conf.WebLogic"
"C:\Program Files\IBM\FileNet
\WebClient\CE_API\config\
jaas.conf.weblogic"
If "%WLS_REDIRECT_LOG%"==""(
echo Starting WLS with line:
echo %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%
%JAVA_HOME%\bin\java %JAVA_VM%
%MEM_ARGS% %JAVA_OPTIONS%
%JAAS_LOGIN%
-Dweblogic.Name=%SERVER_NAME%
-Dweblogic.management.username=
%WLS_USER%
-Dweblogic.management.password=
%WLS_PW%
-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%
-Dweblogic.management.username=
%WLS_USER%
-Dweblogic.management.password=
%WLS_PW% -Djava.security.policy=
%WL_HOME%\server\lib\weblogic.policy
%PROXY_SETTINGS% %SERVER_CLASS%
>"%WLS_REDIRECT_LOG%" 2>&1