Oracle WebLogic 11g
A version of the ANTLR library that ships with WebLogic 11g conflicts with the version required by Orbeon Forms. To run Orbeon Forms on WebLogic 10/11g, you need to instruct WebLogic to let Orbeon Forms use the version of ANTLR that ships with Orbeon Forms. You can do this in the WebLogic EAR descriptor, which means you need to encapsulate Orbeon Forms in an EAR before you deploy it:
Create the following directory structure in a temporary directory:
orbeon-ear META-INF application.xml weblogic-application.xml orbeonPopulate
application.xmlwith:<?xml version="1.0"?> <j2ee:application xmlns:j2ee="http://java.sun.com/xml/ns/j2ee"> <j2ee:display-name>Orbeon Forms</j2ee:display-name> <j2ee:module> <j2ee:web> <j2ee:web-uri>orbeon</j2ee:web-uri> <j2ee:context-root>/orbeon</j2ee:context-root> </j2ee:web> </j2ee:module> </j2ee:application>Populate
weblogic-application.xmlwith:<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE weblogic-application PUBLIC "-//BEA Systems, Inc.//DTD WebLogic Application 8.1.0//EN" "http://www.bea.com/servers/wls810/dtd/weblogic-application_2_0.dtd"> <weblogic-application> <prefer-application-packages> <package-name>antlr.*</package-name> <package-name>org.apache.commons.lang.*</package-name> <package-name>org.apache.commons.fileupload.*</package-name> <package-name>org.apache.lucene.*</package-name> </prefer-application-packages> </weblogic-application>- Uncompress the 
orbeon.warinto theorbeon-ear/orbeondirectory you created in step 1. After this, you should have a directoryorbeon-ear/orbeon/WEB-INF. - Deploy the 
orbeon-eardirectory. If you are running WebLogic in development mode, you can move it touser_projects/domains/base_domain/autodeploy. - Optionally, you might want to change where the 
orbeon.logis stored. You define the location of the file inWEB-INF/resources/config/log4j.xml, in theSingleFileAppender. By default the location of the file is defined as../logs/orbeon.log. If you start WebLogic withuser_projects/domains/base_domain/startWebLogic.sh, the log will be located inuser_projects/domains/logs/orbeon.log.