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

Comments:

Nice! It's great to hear that installing webapps on Glassfish has gotten much easier. :)

Posted by Matt Tucker on April 03, 2006 at 01:21 PM PDT #

BTW, I didn't mention in the blog you can enable / disable the security manager in Glassfish via the admin web console (http://localhost:4848). Just go to Configuration -> Security and check (or uncheck) the Security Manager Enabled checkbox. Ken

Posted by Ken Paulsen on April 05, 2006 at 06:01 AM PDT #

Hey Ken!... Hows life!...haven't talk to you in a while, how is the house going? and..yep...you guessed it !!!!!!CALL ME!!!!!

Posted by Frederick Brock on July 04, 2006 at 05:14 PM PDT #

hi ken, i am facing a problem in step no 7.it says invalid license, i copy pasted the contents from jive.license its giving this jive runtime error. i feel license check is not happening. i need ur suggestions. thank you, venkat

Posted by venkat on June 11, 2007 at 07:55 PM PDT #

Hi Venkat,

It sounds like you either skipped Step 3, or the file you copied in Step 3 is not valid. If it still doesn't work after checking the license key, or getting a new one from Jive, I'd suggest posting a question on their forums. They are very responsive.

Also, if you didn't see my newer blog entry on ClearSpace, you might want to look into that. It offers forums + much more.

Posted by Ken Paulsen on June 11, 2007 at 08:48 PM PDT #

Hi, I am not able to connect MySQL with NetBeans.I get error cannot establish connection,access denies.I downloaded th mysql driver and installed it.Please help

Posted by Jayanth on August 04, 2007 at 02:18 PM PDT #

how to install jive on sunone server??

Posted by Rekha on September 18, 2007 at 04:44 PM PDT #

Post a Comment:
Comments are closed for this entry.
About

paulsen

Search

Archives
« April 2014
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today