Using blojsom with GlassFish

I was looking at popular blogging tools available out there and tried out blojsom, on GlassFish. Blojsom is a java based blogging package, designed to run on an application server. Using GlassFish as the application server turned out to be a fairly straightforward exercise.

I downloaded build b38 of Glassfish and then followed the instructions at GlassFish Quick Start Guide to start the server and deploy an application

After installing Glassfish, I downloaded blojsom which is packaged as a web app. Then I copied blojsom.war to GlassFish's autodeploy directory, <glassfish-install-dir>/domains/domain1/autodeploy. I then pointed the browser to http://localhost:8080/blojsom/blog/default and was able to access the blojsom application. To log into blojsom, I went to http://localhost:8080/blojsom/blog/default/?flavor=admin (username "default", password "123default456"). Then I added some categories and blog entries.

I also added some users by modifying
<glassfish-install-dir>\\domains\\domain1\\applications\\j2ee-modules\\blojsom\\WEB-INF\\ default\\authorization.properties
file and gave permissions to these users by modifying
<glassfish-install-dir>\\domains\\domain1\\applications\\j2ee-modules\\blojsom\\WEB-INF\\ default\\permissions.properties
file. I did all this by following instructions in blojsom configuration guide


Comments:

You can also add users and modify their permissions through the web administration console. But, I'm glad it was straightforward for you to get up and running.

Posted by David Czarnecki on February 28, 2006 at 01:25 AM PST #

Cool, you just inspired me to get it up and running on OC4J, and it took me all of 10 minutes.

Posted by Kianhui on February 28, 2006 at 04:26 PM PST #

Thanks for trying blojsom on GlassFish. Just today GlassFish promoted build 42 the hard code freeze build for the final release. Is it possible that you can try running on this latest build? We would like to address any issues before we go final. Thanks,

Posted by Carla Mott on March 30, 2006 at 07:22 AM PST #

It needs to be noted that the above is only true for the 2.x releases. Getting the new 3.x releases working on GFv2 requires quite a bit more work.

Posted by Nicolai Guba on April 12, 2007 at 08:12 PM PDT #

I am trying to integrate blojsom into my spring web application running on Glass fish server. so, I first tried to deploy the blojsom.war file. I followed the instructions given here. I ran into 'unknown database ' problem.so I created a database blojsom,created all tables and a user blojsom and gave all the permissions to that user.I am using MySQL db.I restarted my server and tried to access blojsom using this link : http://localhost:8080/blojsom/blog/default
This is giving me' blog Id: default not found' fetcher exception. Could anybody guide me how to proceed.Thanks

Posted by rose on October 02, 2008 at 05:15 AM PDT #

Post a Comment:
  • HTML Syntax: NOT allowed
About

sirajg

Search

Categories
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