Documentation for JIRA 4.0. Documentation for other versions of JIRA is available too. 
![]()
If you are using WebLogic 9.2, it is recommended that you use JIRA 4.0.2.
These instructions will help you install JIRA on WebLogic 9.2.
On this page:
A new directory containing JIRA will be created, hereafter referred to as $JIRA_INSTALL.
$ sudo /usr/sbin/useradd --create-home --home-dir /usr/local/jira --shell /bin/bash jiraWebLogic ships with several database drivers. If your database driver is already installed, go to section 3.2. If your database driver is not already installed, follow these steps:
set SERVER_NAME=jira set WLS_USER=weblogic set WLS_PW=weblogic set WEBLOGIC_CLASSPATH=%WEBLOGIC_CLASSPATH%;$WEBLOGIC_INSTALL\user_projects\lib\hsqldb-1.7.1.jar
The following steps apply to the WebLogic 9.2 administration console:
The following steps apply to the WebLogic 9.2 administration console:
Modify the transaction factory tag in the entityengine.xml file, located in the edit-webapp\WEB-INF\classes directory.
<transaction-factory class="org.ofbiz.core.entity.transaction.JNDIFactory">
user-transaction-jndi jndi-server-name="default" jndi-name="java:comp/env/UserTransaction"/>
<transaction-manager-jndi jndi-server-name="default" jndi-name="java:comp/env/UserTransaction"/>
</transaction-factory>
<transaction-factory class="org.ofbiz.core.entity.transaction.JNDIFactory">
<user-transaction-jndi jndi-server-name="default" jndi-name="java:comp/UserTransaction"/>
<transaction-manager-jndi jndi-server-name="default" jndi-name="java:comp/UserTransaction"/>
</transaction-factory>
<datasource name="defaultDS" field-type-name="mssql"
helper-class="org.ofbiz.core.entity.GenericHelperDAO"
check-on-start="true" use-foreign-keys="false"
use-foreign-key-indices="false" check-fks-on-start="false"
check-fk-indices-on-start="false" add-missing-on-start="true">
<jndi-jdbc jndi-server-name="default" jndi-name="JiraDS"/>
</datasource>
jira-application.properties file (see the JIRA Installation Directory page to find where this file is located), add a 'jira.home' property and set it to your desired location for the JIRA home directory. Please use forward-slashes ("/"), not back-slashes ("\").Please note that you cannot use the same JIRA home directory for multiple instances of JIRA. We recommend that you do not specify your JIRA home directory to be inside your installation directory, to prevent information from being accidentally lost during major operations (e.g. backing up and restoring instances).
Weblogic supports some additional webapp configuration parameters in the weblogic.xml file. This file should be created in the edit-webapp/WEB-INF/ directory of the JIRA distribution. Here is a typical example for Weblogic 9:
<?xml version="1.0" encoding="UTF-8"?> <weblogic-web-app xmlns="http://www.bea.com/ns/weblogic/90"> <jsp-descriptor> <page-check-seconds>-1</page-check-seconds> <precompile>false</precompile> <working-dir>./jsp_precompile_dir/jira</working-dir> </jsp-descriptor> <container-descriptor> <servlet-reload-check-secs>-1</servlet-reload-check-secs> <prefer-web-inf-classes>true</prefer-web-inf-classes> </container-descriptor> <context-root>jira</context-root> </weblogic-web-app>
There are some important parameters you should consider setting in your weblogic.xml file.
JIRA's performance is considerably affected by Weblogic's tendency to scan JSPs for changes on every page load. This can be disabled by setting pageCheckSeconds to -1.
Similar to the JSP reload checks, Weblogic will scan servlets for modifications every second (by default), hurting performance. This can be prevented by setting the servlet-reload-check-secs element to -1.
If you Weblogic instance is often restarted, performance can be improved by explicitly setting a directory to save compile JSPs to (the workingDir parameter), and setting precompile to 'false'.
Edit build.xml and customise the bea.home or wl.home properties. Then run build.sh weblogic.war (Unix) or build.bat weblogic.war (Windows) to generate aWARfile in dist-weblogic/
A Windows compatibiity issue is currently being tracked at JRA-11675.
The following steps apply to the WebLogic 9.2 administration console:
mail.mime.decodeparameters=true
System properties are set in different ways depending on your application server.
When you access the path at which you have deployed JIRA, via your web browser, the Setup Wizard should appear.
build.xml file is an Ant file, which when invoked with the build.(sh|bat) script, will construct a deployable webapp. The build.xml file does this by copying the contents of the webapp/ directory, and overwriting it with the contents of edit-webapp/. Thus, never edit files in the webapp/ directory! If a file needs editing, first copy it from webapp/path/to/file to edit-webapp/path/to/file, and edit it there.Have experiences to share with Weblogic and JIRA? We welcome your thoughts. Please see the user-contributed Weblogic notes.