JBoss 5.1
The following configuration details apply for JBoss 5.1:
1. Auto-deploy is used with this server so either manually or through Logi Studio's New Application wizard, give the root folder for your Logi application a .war file extension. Ensure that this folder is placed beneath whatever folder you've configured as your auto-deploy folder, for example: jboss/server/default/deploy/myLogiApp.war
See the Hello World! Tutorial for some examples of working with the New Application wizard.
2. Set the Java options by editing $JBOSS_HOME/bin/run.confso that it includes:
-Xmx4096m
-XX:CompileThreshold=8000
-Djava.awt.headless=true
3. Edit <LogiAppFolder>/WEB-INF/web.xml:
Add the following:
<context-param>
<param-name>org.jboss.jbossfaces.WAR_BUNDLES_JSF_IMPL</param-name>
<param-value>true</param-value>
</context-param>
Replace the following:
<web-app xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee web-app_3_0.xsd" version="3.0" id="WebApp_ID">
with:
<!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd"[]>
<web-app id="WebApp_ID">
Delete the following:
<cookie-config>
<http-only>true</http-only>
</cookie-config>
4. Delete the following .jar files from the <LogiAppFolder>/WEB-INF/lib folder prior to deploying:
xml-apis-1.3.04.jar
xml-apis-ext-1.304.jar
xercesImpl-2.7.1.jar
xalan-2.7.1.jar
5. Download the following files and save them to <LogiAppFolder>/WEB-INF/lib: