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
Posted at 03:34PM Feb 27, 2006 by sirajg in Sun | Comments[5]
Posted by David Czarnecki on February 28, 2006 at 09:25 AM PST #
Posted by Kianhui on March 01, 2006 at 12:26 AM PST #
Posted by Carla Mott on March 30, 2006 at 03:22 PM PST #
Posted by Nicolai Guba on April 13, 2007 at 03:12 AM 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 12:15 PM PDT #