Ken's Java Blog

Ken Paulsen has been working for Sun Microsystems, Inc. since 1999. His primary focus has been on Web Application Frameworks, in fact, he has built a couple of his own (see the JSFTemplating Java.net project). Recently his interests have been centered around AJAX and JavaServer™ Faces, in particular how these technologies apply to the GlassFish Admin GUI. Ken is also a member of the JSF 2.0 Expert Group (JSR-314).



« Previous day (Apr 2, 2006) | Main | Next day (Apr 4, 2006) »
20060403 Jive Forums Gold 5 on GlassFish



In an earlier entry I wrote about Security Manager woes when I attempted to install Jive Forums from Jive Software.  Many applications (including Jive Forums) require privileges that may be considered "unsafe" in some environments -- Java's security manager allows administrators to control the settings ensure applications don't write to disk, send email, load unsafe classes, etc.  However, this can get in the way when a user attempts to install trusted software, yet the server doesn't have security properly configured (and it's not easy to properly configure).

GlassFish has changed.  It no longer enables the security manger by default.  This is consitent with most other application servers and makes deploying applications (such as Jive Forums) much easier.  Here's what I had to do when installing Jive Forums Gold 5 on GlassFish (build 42):



  1. Download Jive Forums files (server + license file) (Find it on: Jive Software's web site)

  2. Copy jiveHome to a new directory

  3. Copy the license file into the new diretory; name it jive.license

  4. Start GlassFish (i.e. asadmin start-domain)

  5. Go to GlassFish's Admin GUI: http://localhost:4848 
    - Applications -> Web Applications -> Deploy
    - Upload "jiveforums.war"
    - Select options (defaults are fine)

  6. Go to the application (I clicked on "Launch" button in Admin GUI)

  7. Message states jiveHome is not set.  Type in the correct path (the new directory from step 2).  Click the update button.

  8. Click continue (everything should have a "success" check now).

  9. Choose embedded DB (you may want something else), click continue.

  10. Click continue (db should be configured properly).

  11. I picked "Default" for authentication. Click continue.

  12. Setup your email server settings. Click continue.

  13. Setup your admin user.  Click continue.

  14. Setup should be complete, click "Login to Admin Tool"

  15. I logged in as "admin" / "<admin-password>"...
That's it... in fact everything after step 6 is just walking through Jive's software setup.  No more security errors, everything just works.

Have fun!

Ken

Posted by Ken Paulsen ( Apr 03 2006, 04:34:55 PM PDT ) Permalink Comments [7]


Today's Page Hits: 61