Macromedia live cycle 7.2 Manual

Page of 123
Adobe LiveCycle
Manually Configuring JBoss
Installing and Configuring LiveCycle for JBoss
 Modifying the JBoss configuration files     54
Modifying the JBoss configuration files
You need to modify the following areas on the instance of JBoss that hosts LiveCycle products:
endorsed directory
run.bat file (Windows) or run.sh file (Linux) 
JMS
jacorb.properties file
EAR file class-loading isolation
maximum threads settings 
dom4j.jar file
cluster-service.xml
Note:
If you are running JBoss on Red Hat Enterprise Linux Advanced Server 3.0, you must set the 
LD_ASSUME_KERNEL environment variable to 2.4.19 using the export LD_ASSUME_KERNEL=2.4.19 
command. You must then run JBoss from the same shell in which you set the environment variable. 
To create an endorsed directory: 
1. Navigate to the [appserver root]/server/all/lib directory and create a new directory called endorsed
2. Copy the following files from the [LiveCycle root]/components/um/endorsed directory to the endorsed 
directory you just created:
dom3-xercesImpl-2.4.0.jar
dom3-xml-apis-2.4.0.jar
xalan-2.4.1.jar
To modify the run.bat or run.sh file: 
1. Navigate to the [appserver root]/bin directory and open the following file in a text editor:
(Windows) run.bat 
(Linux) run.sh
Tip:
Turn off word wrapping while editing to ensure that there are no hard returns in these command 
lines. 
2. (Windows) In the run.bat file, locate the following line:
"%JAVA%" %JAVA_OPTS% -classpath "%JBOSS_CLASSPATH%" org.jboss.Main %* 
Replace the line with the following text: 
"%JAVA%" %JAVA_OPTS% -classpath "%JBOSS_CLASSPATH%" -Xms128m -Xmx512m
-Dorg.apache.lucene.writeLockTimeout=10000
-Djava.endorsed.dirs=%JBOSS_HOME%/server/all/lib/endorsed org.
jboss.Main -c all %*