Continuum on Glassfish

Overview

This guide will show you how to set up a working deployment of Continuum starting from the database all the way to seeing the first web page using Continuum 1.1 Final, GlassFish v2, and the Derby database server bundled with GlassFish.

 Start the GlassFish Server

If it is not already running, start the GlassFish server:

asadmin start-domain domain1

See Procedure To Start the GlassFish serverif more help is needed with this step.

 Start the Database 

If it is not already running, start the Derby database server:

asadmin start-database

 Configure the Connection Pool and JDBC Resources

 Connection Pool

Go to Resources -> JDBC -> Connection Pools -> New

Name: ContinuumPool
Resource type: javax.sql.ConnectionPoolDataSource
Database vendor: JavaDB

Click Next

The following properties should already exist at the bottom of the page with the values shown:

  • User: APP
  • PortNumber: 1527
  • ServerName: localhost

The following properties should already exist at the bottom of the page but will need the values shown added:

  • DatabaseName: continuum
  • Password: APP
  • ConnectionAttributes: ;create=true

Click Finish

 JDBC Resources

 Create the continuum resource

Go to Resources -> JDBC -> JDBC Resources -> New

JNDI Name: jdbc/continuum
 Pool name: ContinuumPool (the one you made above)

 Enabled: checked

Click OK

 Create the users resource

Go to Resources -> JDBC -> JDBC Resources -> New

JNDI Name: jdbc/users
 Pool name: ContinuumPool (the one you made above)

 Enabled: checked

Click OK

 Download and Deploy war

  • Download Continuum 1.1 Final(war)
  • Go to Applications -> Web Applications -> Deploy
  • Pick the location of continuum-webapp-1.1.war file just downloaded
  • Click Next
  • Fill out rest of form to your liking
  • Click Finish

When it's done, the Admin GUI should return to Deployed Web Applications.  Then click Launch to go to your continuum deployment.

Enjoy 

Resources

 Glassfish Quickstart 

 Guide to Install Continuum on GlassFish V2

Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.