You can use settings in the JBoss Application Server on Windows to set up JAVA and memory settings, and JAAS login information for authentication for your Workplace XT Web application.
set JAVA_HOME=C:\Program
Files\Java\jdk1.5.0_06
If your JDK 1.5.0 version is different, substitute your version for the one listed above (_06).
Adjusting this setting prevents the application server from running out of memory, a condition in which users would not be able to log in to Workplace XT.
In the first JAVA_OPTS entry, as per the examples below, change the -Xms and -Xmx values for your configuration.
set JAVA_OPTS=%JAVA_OPTS% -Xms128m -Xmx512m
Refer to your application server vendor recommendation for Initial and Maximum heap size values. For IBM® specific recommendations, see the IBM FileNet P8 Performance Tuning Guide.
Find the following line in the run.bat file:
set JAVA_OPTS=%JAVA_OPTS% -Dprogram.name=%PROGNAME%
and change it to this (without a carriage return):
set JAVA_OPTS=%JAVA_OPTS% -Dprogram.name=%PROGNAME% -Dfilenet.pe.peorb.pool.min=2 -Dfilenet.pe.peorb.pool.max=5
-DFileNet.EJB.ContextProperties=java.naming.factory.initial=
org.jboss.naming.NamingContextFactory
Add the following JAAS login entry right after the "%JAVA%" %JAVA_OPTS entry in the run.bat file.
Your path might be slightly different depending on the version of your client installations, or whether you have chosen a custom path for installation. For example, if your Content Engine Client is at 4.0, this path might include a samples directory under the config directory. Verify the location of the jaas.conf.JBoss file before you enter the path.
"%JAVA%" %JAVA_OPTS% -Djava.security.auth.login.config= install_path \IBM\ FileNet\WebClient\CE_API\config\jaas.conf.JBoss "-Djava.endorsed.dirs=%JBOSS_ENDORSED_DIRS%" -classpath "%JBOSS_CLASSPATH%" org.jboss.Main %*