Confluence 2.8 has reached end of life
Check out the [latest version] of the documentation
The Confluence EAR-WAR edition is intended for deployment into an existing J2EE application server. To use this method of installation, you or your application server administrator must already know how to deploy a web application on the application server of choice. If not, please use the Confluence Standalone edition instead.
On this page:
System Requirements for Confluence EAR-WAR Edition
- Please check the Confluence system requirements.
- In addition to the above requirements, the EAR-WAR edition requires an application server. Here are our guidelines on compatible and supported servers:
Supported and Compatible J2EE Application Servers
Confluence supports the following application servers, provided they are running on a Windows, Unix (NetBSD, FreeBSD, OpenBSD, Solarix, Linux), Mac OS X on X86 or X86-64 processors.
Supported in Confluence 2.0 to 2.7
Supported in Confluence 2.8 (APR/2008)
Works with Confluence 2.8
Apache Tomcat
4.1, 5.0 and 5.5
5.5.20+ (released SEPT/2006)
5.0.30+
BEA Weblogic
8.1 SP3 and above
9.2.x (released OCT/2006)
8.1.x to 9.1.x, 10.x
IBM Websphere Application Server
5.1.1.3 and above
6.1.x (released DEC/2006)
6.0.x
Caucho Resin
2.1.11 and above
2.1.16 (released FEB/2005)
3.0.x, 3.1.x
JBoss
4
4.0.5+, 4.2.x (released NOV/2006, MAY/2007)
4.0.0 to 4.0.4
Orion
2.0.2 and above
unsupported
unsupported
Column labelled 'Works with' as opposed to 'Supported in': We assume that Confluence works fine with these application server versions. But please be aware that we don't test these versions regularly and that we may ask you to upgrade to a supported version before we can provide more detailed support.
For Confluence 2.8 and later, zOS, AIX and HPUX are not supported; neither are processors other than X86. If you can get these application servers running on another operating system, we will try to help you but may ask you to move to a supported operating system before we can provide more detailed support.
Please see configuration guides for supported application servers.
If you have no preference, we recommend using Confluence Standalone which includes Apache Tomcat.
Potentially Compatible Application Servers
The following application servers are untested and not supported.
J2EE Application Servers:- Macromedia JRun
- Apache Tomcat 6 — see reported issue
Non J2EE Application Servers:
Known incompatible J2EE Application Servers
- Oracle OC4J / Oracle Application Server — see reported issue
- Sun Application Server — see reported issue
- GlassFish — see reported issue
- SAP-J2EE — see reported issue
RELATED TOPICS
- If deploying as an unexploded WAR, Ant 1.3 or later is required.
- Confluence, the database and application server must use the same character encoding. UTF-8 is recommended.
- If you are installing Confluence EAR-WAR on Unix, Linux or Solaris, please ensure that the required X11 libraries are installed.
Support
If you deploy Confluence on an unsupported server, server-related issues cannot be covered by Atlassian technical support. You can try Atlassian Answers for assistance instead.
Installing Confluence EAR-WAR on Tomcat
This section gives detailed instructions for installing Confluence EAR-WAR edition on an Apache Tomcat 5.0 or 5.5 server. If you are using a different server, please use these instructions as a guideline and refer to the general guidelines below.
Step 1. Download and Extract EAR-WAR Installation File
- Download the Confluence EAR/WAR zip file. (You need to click the 'Show all' link to see the EAR/WAR zip file.)
- Please check your unzip program before extracting the downloaded zip file. Some archive-extract programs cause errors when unzipping the Confluence zip file:
- Extract the downloaded zip file.
- Tomcat users, take care not to unzip the Confluence installation into your Tomcat
webappsfolder, as this may cause Confluence to be deployed more than once.
- Tomcat users, take care not to unzip the Confluence installation into your Tomcat
- You have now unzipped your Confluence installation directory, which should contain the version number e.g.
confluence-2.6.0orconfluence-2.7.2. This directory will be later referred to as the Confluence installation directory. Inside is aconfluencesubdirectory, referred to later as the Confluence WAR directory. Record the absolute path to the Confluence WAR directory.
Step 2. Check for Patches
Review the Release Notes for your Confluence version and apply any patches listed.
Step 3. Check for Application Server Issues
Note that these are optionals and you do not need to go through them to make Confluence EAR/WAR run for the first time. They are listed here only to assist you in getting the best matching configuration for your production requirement.
- Configuring a MySQL Datasource in Apache Tomcat
- Configuring Tomcat's URI encoding
- Fix 'Not supported by BasicDataSource' Setup or Startup Error
- Max size of HTTP POST request and Confluence page size
- NotSerializableException on shutdown
- Running Tomcat on a Different Port
Step 4. Review Application Server Memory Allocation
Confluence requires a maximum heap allocation (Xmx) of at least 256 MB for normal operation. See Increasing Application Server Memory.
Do not configure a heap allocation so large that it does not allow enough remaining physical memory for your operating system and other applications on the server. The heap allocation should be large enough for Confluence, but not so large that the memory would be paged to disk during normal operation.
Step 5. Configure confluence-init.properties
- Inside the Confluence installation directory, edit
...confluence/WEB-INF/classes/confluence-init.propertiesin a text editor. - Set the
confluence.homeproperty to a directory of your choosing. We suggest using different paths for your installation and home directories. This will facilitate upgrades. This is the directory that will contain all of Confluence's configuration, backup and attachment files.
Step 6. Edit Tomcat Context Descriptors
- Create a file called
confluence.xmlin your Tomcat installation'sconf/Catalina/localhostdirectory. (If you have set up a different hostname for your tomcat instance, please specify that instead of localhost.) - Open your new
confluence.xmland add these lines:<Context path="/confluence" docBase="c:/applications/confluence-2.1.3/confluence" debug="0" reloadable="true"> </Context>
To run Confluence without a context path of "/confluence", change the path in the Context tag to an empty string (""). If this is Tomcat, name the file ROOT.xml rather than confluence.xml. If you wish to change the context path to a different name, change both the context path and the name of the xml file.
- For docBase, specify the value you noted down earlier.
- Restart Tomcat, and Confluence should be accessible under
/confluence/on your Tomcat server. - Follow the link below to proceed with the setup wizard.
Installing on Another Application Server
This section contains general guidelines for those who wish to install Confluence EAR-WAR on a server other than Apache Tomcat.
- Review any known issues and other documentation associated with your web server:
Content by label
There is no content with the specified labels
- If your application server requires deploying Confluence as an EAR/WAR, follow these instructions to build the WAR file:
- For Windows users:
- Open the command line prompt
- Navigate to the Confluence installation directory
- Run the command
build war
- For Linux users:
- Open a terminal window
- Navigate to the Confluence installation directory
- Add executable mode to
build.sh—chmod +x build.sh - Run
build.sh - The WAR file is now located in the
distsubfolder in your Confluence installation directory
- For Windows users:
Next Step is the Confluence Setup Wizard
When you visit the Confluence application in your browser, the Confluence Setup Wizard should appear. The first screen is a prompt for you to enter your license key. Follow the instructions on the screens, and read more guidelines on the Confluence Setup Wizard.
TROUBLESHOOTING
Installation Troubleshooting FAQ
RELATED TOPICS
Confluence Setup Guide
Start Confluence automatically on Windows as a Service
Configuration Guide
Confluence Home Directory
Confluence Cluster Installation
Fedora or RHEL/Centos Install Guide — Contributed by a Confluence user
Known Issues with Enterprise or Webhosting environments
Pull down RSS Feeds or use the Repository plugin through a web proxy
Setting the JAVA_HOME Variable in Windows
Setup a mail session in standalone version
Confluence Documentation Home
Confluence Main FAQ
