Sun Java App Server (SJAS or Glassfish) Notes

JIRA Documentation

Index

This page has general notes on installing JIRA on Sun's Glassfish / Java App Server, bundled with Java EE. SJAS is currently an unsupported environment, but interest in its use is growing.

Steeplesoft have also posted a blog on how to Deploy JIRA in Glassfish.

Please use JIRA 3.12 or above, which fixes a problem where JIRA's login "remember me" functionality broke (JRA-13400).

add your notes

Labels:

jira jira Delete
glassfish glassfish Delete
sjas sjas Delete
installation installation Delete
environment environment Delete
Enter labels to add to this page:
Wait Image 
Looking for a label? Just start typing.
  1. Feb 01, 2007

    Donald Mull Jr says:

    jtds works just fine in Glassfish. I'm using jtds 1.2 and the latest version of ...

    jtds works just fine in Glassfish. I'm using jtds 1.2 and the latest version of glassfish.

    There was no option to select jtds when making a connection through the admin interface, but I just selected another one, then changed the class name on the next screen.

  2. Oct 01, 2007

    Brian Goetz says:

    I've had some luck getting JIRA up and running on Glassfish.\\ Prerequisite: cre...

    I've had some luck getting JIRA up and running on Glassfish.

    Prerequisite: create database and database user.

    1.  (For MySQL installations; substitute other JDBC driver for other databases.)  Unpack the MySQL Connector/J distribution and copy the mysql-connector-java-nnnn-bin.jar file into <glassfish-root>/domains/domain1/lib. 

    2.  Configure a JDBC Data Source.  Go to the admin page for your web server (http://yourhost.yourdomain.com:4848), log in, and click on Resources:JDBC:Connection Pools in the left pane.  Click "New" to create a new connection pool.  Name the pool JiraCP; select DataSource as the resource type, and do not select a database vendor.  Click next to proceed to the next screen.  Fill in the JDBC DataSource class name from your JDBC driver, and skip to the bottom section and add three additional properties: url, username, password (fill them in with your JDBC url, username, and password, of course.)  Password cannot be blank. 

    Once the Connection pool is set up, create a JDBC Data Source.  Click on Resources:JDBC:JDBC Resources, click New, and create a JDBC resource called jdbc/JiraDB which is bound to the connection pool JiraCP. 

    3.  Set up the JIRA web app.  Edit the entityengine.xml file.  Change the user-transaction-jndi and transaction-management-jndi JNDI names from java:comp/env/UserTransaction to java:comp/UserTransaction.  Edit the JNDI name of your data source to be "jdbc/JiraDB".