Confluence 2.6 のサポートは終了しています。
ドキュメントの最新バージョンを確認してください。
The Confluence EAR-WAR edition is intended for deployment into an existing J2EE application server. It is assumed that you already know how to deploy a web application on the application server of choice. If not, please contact your system administrator to assist you, or consider installing the Confluence Standalone edition instead.
Confluence EAR-WAR requirements
In addition to the Confluence requirements, the EAR-WAR edition requires an application server:
- Apache Tomcat (4.1 and 5.5)
- Weblogic (8.1 SP3 and above)
- Resin (2.11.11 and above)
- JBoss
- Orion (2.0.2 and above)
- Websphere (5.1.1.3 and above)
Potentially Compatible But Untested & Unsupported
- Macromedia JRun
- Microsoft IIS Server
- Oracle Application Server
Incompatible
Setup Notes and List of Known Issues for Application Server Configuration can be found here
- If deploying as an unexploded WAR, Ant 1.3 or later is required.
- If deploying on an unsupported server, server-related issues cannot be covered by Atlassian technical support. Requests for assistance can be directed to Atlassian Answers instead.
- Confluence, the database and application server must use the same character encoding. UTF-8 is recommended.
- A user-contributed Fedora or RHEL/Centos Install Guide is also available for reference.
- Unix, Linux or Solaris users must install these X11 libraries.
How to install Confluence EAR-WAR on Tomcat
Step 1 - Download and extract WAR
- Download the Confluence EAR/WAR zip file. (You need to click the 'Show advanced downloads' link to get access to the EAR/WAR zip file.)
- Extract the downloaded zip file:
- Windows users must avoid Win XP's built-in unzip as it doesn't extract all the files. Use a 3rd party zip extractor like WinZip.
- Solaris users will need to use GNU tar to handle the long filenames.
- Tomcat users must not unzip their Confluence install to inside the Tomcat
webappsfolder as this may cause Confluence to be deployed more than once.
- It will unzip your Confluence install directory, which should contain the version number e.g.
confluence-2.2.9orconfluence-2.5.0. This directory will be later referred to as the Confluence install 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
指定したラベルを持つコンテンツはありません。
Step 3 - Configure confluence-init.properties
- Inside the Confluence install directory, edit
...confluence/WEB-INF/classes/confluence-init.propertiesin a text editor - Set the
confluence.homeproperty to a directory of your choosing. This is the directory that will contain all of Confluence's configuration, backup and attachment files.
Step 4 - Edit Tomcat context descriptors
If you are using Tomcat 5.5.x:
- 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
confluence.xmland add these lines:<Context path="/confluence" docBase="c:/applications/confluence-2.1.3/confluence" debug="0" reloadable="false"> </Context>
Note: The file
atlassian-confluence.logwill no longer be created as<Logger>is no longer a valid nested element of<Context>element. See Scott Prater's comments below . - For docBase specify the value you noted down earlier.
If you are using Tomcat 5.0.x:
- 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
confluence.xmland add these lines:<Context path="/confluence" docBase="c:/applications/confluence-2.1.3/confluence" debug="0" reloadable="false"> <Logger className="org.apache.catalina.logger.FileLogger" prefix="atlassian-confluence." suffix=".log" timestamp="true"/> </Context>
- For docBase specify the value you noted down earlier.
If you are using Tomcat 4.x
- Open
conf/server.xmlin a text editor. - Add the following:
<Context path="/confluence" docBase="c:/applications/confluence-2.1.3/confluence" debug="0" reloadable="false"> <Logger className="org.apache.catalina.logger.FileLogger" prefix="atlassian-confluence." suffix=".log" timestamp="true"/> </Context>
- For docBase specify the value you noted down earlier.
Step 5 - Configure Your application server
Review any documentation associated with your web server here. If your application server requires deploying Confluence as a EAR/WAR, follow these instructions to build the WAR file:
Step 6 - Restart Server
- Shut down, and then restart Tomcat
- Confluence should now be accessible on http://host:port/confluence
次のステップ
General Tips & Information
- Start Confluence automatically on Windows as a Service
- Known Issues with Enterprise or Webhosting environments
- Pull down RSS Feeds or use the Repository plugin through a web proxy
- Set JAVA_HOME variable in Windows
- Setup a mail session in standalone version
- Where Is My ConfluenceHome Directory?
トラブルシューティング
/logs/catalina.out and /logs/catalina.out files for errors described below. Click on a problem to show the solution.
関連トピック
Confluence Cluster Installation
Confluence 2.6 Configuration Guide
Confluence Setup Guide
Confluence 2.6 Documentation Home
Confluence Main FAQ
