Blogging Roller

Dave Johnson on open web technologies, social software and software development


I just turned on Roller user and development mailing-lists at SourceForge.
Tags: Roller

Ugo has done a comparison of Roller, CocoBlog, and Radio using my bullet points from the Roller homepage.  This is nice to see.  I only take issue with one point:

  • CocoBlog is 100% Java, whereas Roller depends on MySQL.

This point is probably better stated by saying Roller requires a JDBC accessible relational database and CocoBlog does not.  There are advantages and disadvantages of using a JDBC database to store blog entries, bookmarks, newsfeed info, etc. of course. 

For example, because Roller uses a possibly-remote JDBC database for persistance it is easy to distribute Roller accross multiple VMs.  That is important when you need to distribute the load on those high traffic days when you have nearly 10 hits occuring in a 24 hour period...  Ok, so maybe it is not that important.

Tags: Roller

There is a little bit of text on my screen now that says "Trial version: 3 days remaining" so I guess it is now time to fork over $39.95 to UserLand. 

I have just about convinced myself to pay for a Servlet supporting ISP to host my Roller-based weblog.  I have been scouring the ISP list at Servlets.com to find something suitable.  The best deal I have found so far is Threadcount.net.  For $19.95/month they have what I need: a devoted VM, Tomcat 4.X, and MySQL.  If you know of something better or have something to say about Threadcount, please let me know.  The fact that their FAQ link currently leads to a 404 is a little troubling.

I guess I will also need a domain name.  Threadcount offers domain name registration for "as little as" $15.95/year.  Are there any other hidden costs?  Any suggestions for the domain name?

Three days is not enough time to make the move and I'm still not quite ready to eat my own dog food as they say.  So don't worry Dave, your money is on the way.

By the way, I'm also in need of a name for a new baby boy due in June.  My favorites (Wolfgang and Otto) are out.  Any ideas?  I already have a Linus.

Tags: Roller

Larkfarm's Weblog Madness has list of weblogging software tools.  So does DMOZ.  However, these lists do not differentiate between open and closed source products.  I just submitted blosxom an CocoBlog to both of these lists.

Tags: Roller

Sam Ruby writes "Perhaps it is time to build a community of open source weblog developers?" I think a diverse community of open source weblog developers is already growing.  I just wish the community was not quite so architecturally diverse, because that would make it easier for me to crib source code from other projects.
Tags: Roller

Ugo Cei has released CocoBlog, the blogging software he uses to run his blog.  Like Roller, CocoBlog is probably not quite ready for prime-time.  Unlike Roller, CocoBlog is based on Apache Cocoon and Apache Xindice.
Tags: Roller

Yesterday I moved the Roller sources into the SourceForge CVS.  I had been managing them using Perforce (which rocks, by the way) on my homebox.
Tags: Roller

I had to rush out Roller 0.9.2 earlier this evening.  I found a couple of bugs in the user and newsfeed manager classes in the 0.9.1 release.  The bugs in the user manager were causing an exception to be thrown during new user registration.  Clearly, I need to do better sanity testing.  Sorry folks!
Tags: Roller

Some more good news. Shift\@ is supporting Roller as part of its product portfolio and Werner Ramaekers of Shift\@ is going to be helping out with Roller development. Welcome aboard Werner and thanks for lending a hand!
Tags: Roller

I've been thinking about how to make Roller really useful as a weblogger and trying to prioritize features for a 1.0 release.  I've saved my thoughts as a "story" called Roller Wish List.
Tags: Roller

Ok, so I now know of one successful install of Roller. Markus Kohler installed Roller and got it up and running.  Cool!  Apparently, he also made Roller and Very Quick Wiki share the same user / roles database.  Very Quick Wiki is a light-weight WikiWeb implementation written in Java / JSP and licensed under the GPL.
Tags: Roller

I've gotten a lot of nice email about Roller (thanks!), and lots of folks have downloaded Roller, but I still have not heard that anybody has actually installed and used Roller.  

If you have gotten Roller up and running, I would love to hear about it.  Conversely, if you had problems getting Roller up and running, don't just give up and curse that damn Dave - send me an email and / or file some bug reports.

Roller 0.9.1 is now available.  I fixed a couple of bugs and made some general improvements in database connection usage (the release notes cover the specifics).

Tags: Roller

Sam Ruby writes: I don't know how I missed this one: Roller is an open source J2EE weblogger, produced by a developer here in Raleigh.  Hmmm.  I wonder if David Johnson would like to join the RTP bloggers club? [Sam RubyThanks for the link Sam.  Hmmm, I wonder if the bloggers club involves free pizza...
Tags: Roller

I may have found a great place to host a significant installation of Roller.  Plans are tentative at this point, so I don't want to say anything else about it now.  Hopefully, I'll have more information in the next couple of weeks.

Tags: Roller

A Roller user just reported a problem, here is the stack trace:

2002-04-26 10:36:16 StandardManager[/roller] Cannot serialize session attribute
session.roller for session 12E495204943E50434A5E3420231A166
java.io.NotSerializableException: org.exolab.castor.jdo.engine.DatabaseImpl
        at java.io.ObjectOutputStream.outputObject(Unknown Source)
        at java.io.ObjectOutputStream.writeObject(Unknown Source)
        at java.io.ObjectOutputStream.outputClassFields(Unknown Source)
        at java.io.ObjectOutputStream.defaultWriteObject(Unknown Source) 
        ...

The error that he got is due to the Persistent Session features of Tomcat. I think it is possible to turn off Persistent Sessions in the server.xml file, but I have not really tried this route - they are on by default and Roller should be able to live with them.

As a work around you can stop Roller, then delete the serialized session file. This file can be found in <tomcat>/work/localhost/roller/sessions.ser and it is safe to delete.  Then restart Tomcat and Roller should work fine.

I tried to avoid this problem by removing the RollerImpl object from the session in my session listener (see org.roller.presentation.RollerSession). But something must be wrong with my listener.  I will look into this before my next release.

Another fix/work-around might be to change the data member mJDO in org.roller.business.castor.RollerImpl to be transient.

Change this:
   private JDO mJDO = null;
to this:
   private transient JDO mJDO = null;

If you try that, please let me know if it stops the error you were getting.

P.S. This should be fixed in Roller 0.9.1

Tags: Roller

So far, about 50 people have downloaded ther Roller webapp and another 70 have downloaded the Roller source code.  But, I have only heard from one - one person is attempting to install Roller at Webappcabaret.com

Apparently, installing Roller at Webappcabaret is complicated by the fact that Webappcabaret does not allow customers to edit Tomcat's server.xml file.  This means that customers have to make do with Webappcabaret's File Realm ACL (I assume this is just a customized Tomcat realm that stores user names, passwords, and roles in a file somewhere).  I think Roller will need some changes to run in this environment, and the "register as new user" feature might not work since Webappcabaret controls the File Realm ACL.  I'll report back if I find out more about the Webappcabaret install.

Tags: Roller

I really hit the big time - I got a link on Scripting.com!  Thanks Dave!

Tags: Roller

Somebody who read the Rolle article just asked me about how Castor compares to Torque in terms of object-relational mapping.  I did not know about Torque when I started Roller.  Torque looks really cool.  Here are my off-the-cuff thoughts on Torque vs. Castor:

  • With Torque, you start out with an XML file that defines your tables and relationships.  Then Torque generates both a set of objects for each of your tables and database creation scripts for creating the tables within a variety of databases.
  • Castor assumes that you already have your Java objects and you database tables.  So, you need to provide mapping from objects to tables - this is the mapping.xml file that I discuss in the Roller article.
  • With Torque, the objects know to write themselves to the database.  But with Castor, Castor itself knows how to do that. So, with Castor the objects can be dumb data holders.
  • Also Castor has the XML binding built in and Torque does not. The Castor mapping file can be used to define how objects map to database tables and how they map to XML.  I use this in Roller to allow the export/import of user weblog data to an XML file for backup purposes.
  • I have heard that Castor has object caching and Torque does not. I'm not sure how important this is.
Tags: Roller

I was out of town this week so I did not get to announce that the Roller article is online at O'Reilly's OnJava website.  Here is a direct link to the article, it is called Building an Open Source J2EE Weblogger.  I Hope you enjoy it and you will send any questions and comments my way.

Tags: Roller

About this blog

I'm Dave Johnson. I'm a software developer, open web advocate, blogger and web geek from Raleigh, North Carolina. I work for Wayin on the Wayin Hub engineering team. I'm also a member of the Apache Software Foundation and PMC chair for Apache Roller, an open source and Java-based that I developed back in 2002.

Below are some of the presentations and other technical writing that I have done over the past 10 years or so.

Presentations

Publications

« Previous page | Main | Next page »