<?xml version="1.0" encoding="utf-8"?>
<!-- 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153
-->
<?xml-stylesheet type="text/xsl" href="https://rollerweblogger.org/roller-ui/styles/rss.xsl" media="screen"?><rss version="2.0" 
  xmlns:dc="http://purl.org/dc/elements/1.1/"
  xmlns:atom="http://www.w3.org/2005/Atom" >
<channel>
  <title>Blogging Roller</title>
  <link>https://rollerweblogger.org/roller/</link>
    <atom:link rel="self" type="application/rss+xml" href="https://rollerweblogger.org/roller/feed/entries/rss?tags=jboss" />
  <description>Dave Johnson on open web technologies, social software and software development</description>
  <language>en-us</language>
  <copyright>Copyright 2026</copyright>
  <lastBuildDate>Sun, 19 Apr 2026 12:36:21 +0000</lastBuildDate>
  <generator>Apache Roller 6.1.5</generator>
  <item>
    <guid isPermaLink="true">https://rollerweblogger.org/roller/entry/roller_5_and_jboss_6</guid>
    <title>Roller 5 and JBoss 6</title>
    <dc:creator>Dave Johnson</dc:creator>
    <link>https://rollerweblogger.org/roller/entry/roller_5_and_jboss_6</link>
    <pubDate>Thu, 20 Jan 2011 18:00:15 +0000</pubDate>
    <category>Roller</category>
    <category>asf</category>
    <category>hibernate</category>
    <category>javaee</category>
    <category>jboss</category>
<atom:summary type="html">&lt;p&gt;&lt;img align=&quot;right&quot; src=&quot;http://rollerweblogger.org/roller/mediaresource/d94dc4cc-d79c-423a-a9bc-ee93853ee422&quot; alt=&quot;JBoss logo&quot;&gt; In my quest to make Roller work on Java EE 6, the next server that I tackled was JBoss 6. In this blog I&amp;#39;ll describe how I approached the problem what I learned along the way.&lt;/p&gt;

&lt;h4&gt;Tested with Hibernate JPA&lt;/h4&gt;

&lt;p&gt;Roller uses &lt;a href=&quot;http://en.wikipedia.org/wiki/Java_Persistence_API&quot;&gt;JPA&lt;/a&gt; for database storage and specifically the &lt;a href=&quot;http://openjpa.apache.org/&quot;&gt;Apache OpenJPA&lt;/a&gt; implementation. I knew that JBoss uses the &lt;a href=&quot;http://www.hibernate.org&quot;&gt;Hibernate JPA&lt;/a&gt; implementation and I suspected that there would be JPA portability problems, so I decided to run Roller&amp;#39;s JUnit tests against Hibernate JPA. There were many test failures and fortunately, the failures were easy to fix.&lt;/p&gt;</atom:summary><description>&lt;p&gt;&lt;img align=&quot;right&quot; src=&quot;http://rollerweblogger.org/roller/mediaresource/d94dc4cc-d79c-423a-a9bc-ee93853ee422&quot; alt=&quot;JBoss logo&quot;&gt; In my quest to make Roller work on Java EE 6, the next server that I tackled was JBoss 6. In this blog I&amp;#39;ll describe how I approached the problem what I learned along the way.&lt;/p&gt;

&lt;h4&gt;Tested with Hibernate JPA&lt;/h4&gt;

&lt;p&gt;Roller uses &lt;a href=&quot;http://en.wikipedia.org/wiki/Java_Persistence_API&quot;&gt;JPA&lt;/a&gt; for database storage and specifically the &lt;a href=&quot;http://openjpa.apache.org/&quot;&gt;Apache OpenJPA&lt;/a&gt; implementation. I knew that JBoss uses the &lt;a href=&quot;http://www.hibernate.org&quot;&gt;Hibernate JPA&lt;/a&gt; implementation and I suspected that there would be JPA portability problems, so I decided to run Roller&amp;#39;s JUnit tests against Hibernate JPA. There were many test failures and fortunately, the failures were easy to fix.&lt;/p&gt;

&lt;p&gt;Where OpenJPA is lenient, Hibernate JPA is strict about declaring transients fields as transient. So, wherever Hibernate complained, I added the appropriate transient declaration and soon all tests were passing. There were a lot of changes, but they were all trivially easy. Since I first &amp;quot;ported&amp;quot; Roller to ElipseLink JPA, its possible that some of the changes I made for EclipseLink helped with the port to Hibernate JPA.&lt;/p&gt;

&lt;p&gt;&lt;img src=&quot;http://rollerweblogger.org/roller/mediaresource/31c02555-27cd-4391-b951-38161b88e8c2&quot; alt=&quot;HIbernate logo&quot; align=&quot;right&quot;&gt;Those of you who are familiar with Roller&amp;#39;s history might remember that this is the second time I worked to &lt;a href=&quot;http://rollerweblogger.org/roller/entry/powered_by_struts_1_1&quot;&gt;make Roller work with Hibernate&lt;/a&gt;. Early versions of Roller ran on Hibernate until Roller 4, when we ripped it out because Apache policy does not allow LGPL. With Java EE 6, Roller can run on Hibernate and we don&amp;#39;t have to ship the Hibernate jars to do so.&lt;/p&gt;

&lt;h4&gt;Tried using the Java EE version of the Roller WAR&lt;/h4&gt;

&lt;p&gt;Since JBoss 6 is a Java EE 6 server, just like Glassfish, I figured I could use the same WAR that I created for Glassfish. That didn&amp;#39;t really work out, as you will see below. When I attempted to deploy the Roller WAR to JBoss I ran into two problems:&lt;/p&gt;

&lt;h4&gt;Problem 1: Xerces and JavaAssist&lt;/h4&gt;

&lt;p&gt;When I tried to deploy the Roller WAR to JBoss, I ran into class-cast exceptions that indicated that the version the the Xerces XML parser included with Roller conflicts with the one that is included in JBoss. I encountered a similar problem for the JavAssist jars, which are also part of Roller. This was quite surprising to me. Apparently, JBoss uses Xerces and JavAssist internally and for some reason the JBoss internals bleed through and interfere with applications; seems like a bug to me. So, we have to have a special Roller WAR for JBoss without the Xerces and JavaAssist jars in the Roller WAR.&lt;/p&gt;

&lt;h4&gt;Problem 2: JNDI Datasource Name&lt;/h4&gt;

&lt;p&gt;The next problem that I encountered was the datasource name. Roller uses the JNDI naming API to lookup its JDBC datasource. In all of the other app servers, we tell people to setup a datasource with the JNDI name &amp;#39;jdbc/rollerdb&amp;#39; but that name did not work for JBoss. For JBoss, I could only get names of names of the format &amp;quot;java:/name&amp;quot; to work. Unfortunately, with JPA the datasource name must be embedded in the &lt;code&gt;persistence.xml&lt;/code&gt; file which is embedded in a JAR file which is embedded in the Roller WAR file. It&amp;#39;s in there deep, so we have to produce a special Roller WAR for JBoss with a JBoss-friendly datasource name.&lt;/p&gt;

&lt;p&gt;*Please* correct me if I&amp;#39;m wrong. I would love to be wrong about either of these two problems.&lt;/p&gt;

&lt;h4&gt;Created special Roller WAR just for JBoss&lt;/h4&gt;

&lt;p&gt;Due to those two problems, I modified the Roller build process to create a special Roller WAR for JBoss without the OpenJPA, Xerces and JavAssist JARs and with the JBoss friendly JNDI name &lt;code&gt;java:/RollerDS&lt;/code&gt; inside all included &lt;code&gt;persistence.xml&lt;/code&gt; files.&lt;/p&gt;

&lt;h4&gt;Deployed, tested and updated the docs&lt;/h4&gt;

&lt;p&gt;Once I worked around those two problems, installing Roller on JBoss was easy. I did the whole thing via the JBoss web console, which was not familiar to me but was pretty easy to understand and use. I documented the whole process in the &lt;a href=&quot;http://people.apache.org/~snoopdave/apache-roller-5.0/roller-install-guide.pdf&quot;&gt;Roller 5 Install Guide (2MB PDF)&lt;/a&gt;, with screenshots.&lt;/p&gt;

&lt;p&gt;Next up: Roller 5 on WebSphere 8 (beta)&lt;/p&gt; 

&lt;p&gt;See also: &lt;a href=&quot;http://rollerweblogger.org/roller/entry/roller_5_and_java_ee&quot;&gt;Roller 5 and Java EE 6&lt;/a&gt; and &lt;a href=&quot;http://rollerweblogger.org/roller/entry/roller_5_and_glassfish_3&quot;&gt;Roller 5 on Glassfish 3&lt;/a&gt;.&lt;/p&gt; 
</description>  </item>
  <item>
    <guid isPermaLink="true">https://rollerweblogger.org/roller/entry/roller_5_and_java_ee</guid>
    <title>Roller 5 and Java EE 6</title>
    <dc:creator>Dave Johnson</dc:creator>
    <link>https://rollerweblogger.org/roller/entry/roller_5_and_java_ee</link>
    <pubDate>Wed, 5 Jan 2011 08:15:53 +0000</pubDate>
    <category>Roller</category>
    <category>asf</category>
    <category>glassfish</category>
    <category>javaee</category>
    <category>jboss</category>
    <category>tomcat</category>
    <category>websphere</category>
<atom:summary type="html">&lt;p&gt;
It&amp;#39;s hard to believe, but I&amp;#39;ve been dorking around with &lt;a href=&quot;http://roller.apache.org&quot;&gt;Roller&lt;/a&gt;, the blog software that powers this site, for almost 10 years now. I started in summer 2001. In the past couple of years, I&amp;#39;ve had a lot less time to work on Roller. I devoted some of that time to mentoring student developers, which was fun and rewarding. I also spent time making Roller more consumable for developers by making it easier to build, run and deploy to modern Java app servers, which was not really fun but was definitely educational, bloggable even.&lt;/p&gt;
</atom:summary><description>&lt;p&gt;
It&amp;#39;s hard to believe, but I&amp;#39;ve been dorking around with &lt;a href=&quot;http://roller.apache.org&quot;&gt;Roller&lt;/a&gt;, the blog software that powers this site, for almost 10 years now. I started in summer 2001. In the past couple of years, I&amp;#39;ve had a lot less time to work on Roller. I devoted some of that time to mentoring student developers, which was fun and rewarding. I also spent time making Roller more consumable for developers by making it easier to build, run and deploy to modern Java app servers, which was not really fun but was definitely educational, bloggable even.&lt;/p&gt;

&lt;h4&gt;Roller 5 as Java EE 6 case study&lt;/h4&gt;

&lt;p&gt;Making Roller work on the new crop of &amp;quot;modern&amp;quot; Java EE 6 servers was an interesting experience and the story makes a pretty good case study in Java EE application portability. I&amp;#39;ve put together a short series of blog posts to tell the story and this is the first, an overview. In subsequent posts I&amp;#39;ll explain the changes I had to make to get Roller working on:&lt;/p&gt; 

&lt;table&gt;
&lt;tr&gt;
&lt;td&gt;&lt;img src=&quot;http://rollerweblogger.org/roller/mediaresource/0e4abe0f-fa37-4de2-b07c-00bf12094e55&quot; alt=&quot;glassfish logo&quot;&gt;&lt;/td&gt;
&lt;td&gt;&lt;a href=&quot;http://glassfish.java.net/downloads/3.0.1-final.html&quot;&gt;GlassFish 3&lt;/a&gt; (released June 2010)&lt;/td&gt;
&lt;/tr&gt;

&lt;tr&gt;
&lt;td&gt;&lt;img src=&quot;http://rollerweblogger.org/roller/mediaresource/f409b73d-9ed0-4372-9654-5bf2b6461f01&quot; alt=&quot;jboss logo&quot;&gt; &lt;/td&gt;
&lt;td&gt;&lt;a href=&quot;http://community.jboss.org/wiki/AS600FinalReleaseNotes&quot;&gt;JBoss 6&lt;/a&gt; (released December 2010)&lt;/td&gt;
&lt;/tr&gt;

&lt;tr&gt;
&lt;td&gt;&lt;img src=&quot;http://rollerweblogger.org/roller/mediaresource/98f178c9-22d7-4d71-8be3-4d4583257e32&quot; alt=&quot;websphere logo&quot;&gt;&lt;/td&gt;
&lt;td&gt;&lt;a href=&quot;http://webspherecommunity.blogspot.com/2010/07/websphere-application-server-v80-beta.html&quot;&gt;WebSphere 8&lt;/a&gt; (beta released July 2010)&lt;/td&gt;
&lt;/tr&gt;

&lt;tr&gt;
&lt;td&gt;&lt;img src=&quot;http://rollerweblogger.org/roller/mediaresource/9d655f3a-50dd-46e8-9cd2-4bd0c67800a3&quot; alt=&quot;tomcat logo&quot;&gt;&lt;/td&gt;
&lt;td&gt;&lt;a href=&quot;http://tomcat.apache.org/&quot;&gt;Tomcat&lt;/a&gt; 6 and 7 (not Java EE but Roller just has to work on Tomcat)&lt;/td&gt;
&lt;/tr&gt;
&lt;/table&gt;

&lt;p&gt;There are other Java EE 6 servers out there and there&amp;#39;s a &lt;a href=&quot;http://blogs.sun.com/theaquarium/entry/from_2_to_8_java&quot;&gt;good summary of them on The Aquarium&lt;/a&gt;; those are just the ones I had time to explore.&lt;/p&gt;

&lt;h4&gt;Overview of Java EE 6 changes&lt;/h4&gt;

&lt;p&gt;There were three categories of things I changed to accomodate Java EE 6 servers. The first is changes to the Roller code base to make Roller work on all of my targets. Most of these changes were in way Roller uses calls the Java Persistence APIs (JPA), needed because of differences in the JPA implementations used by each server. GlassFish uses EclipseLink JPA and JBoss uses Hibernate JPA.  On WebSphere and Tomcat, Apache OpenJPA is the implementation. Fortunately, nowhere did I have to use any conditional code or introduce special behavior for any platform.&lt;/p&gt;

&lt;p&gt;The second category of changes is additions to the Roller install guide to mention the special settings required to make Roller work on all targets. On some platforms, special behaviors must be enabled for Roller, for example the &amp;quot;filter compatibility&amp;quot; flag on WebSphere. I added a section to the install guide for each server and documented the details there.&lt;/p&gt;

&lt;p&gt;The third category is changes to the Roller build process to create special versions of Roller for some servers. Unfortunately, due to Tomcat not being a full Java EE server and some JBoss classloader issues, I&amp;#39;m not able to provide one Roller release that runs on all servers. The latest Roller 5 release candidate comes in three flavors, one for Tomcat 6/7, one for JBoss 6 and one for &amp;quot;Java EE&amp;quot; which is the one intended for use with Glassfish 3.1 and WebSphere 8.&lt;/p&gt;  

&lt;h4&gt;Up next: GlassFish 3&lt;/h4&gt;

&lt;p&gt;In the next post I&amp;#39;ll tell you what I had to do to get Roller running on Glassfish 3 with EclipseLink JPA.&lt;/p&gt;</description>  </item>
  <item>
    <guid isPermaLink="true">https://rollerweblogger.org/roller/entry/apache_roller_5_0_rc3</guid>
    <title>Apache Roller 5.0 RC3</title>
    <dc:creator>Dave Johnson</dc:creator>
    <link>https://rollerweblogger.org/roller/entry/apache_roller_5_0_rc3</link>
    <pubDate>Tue, 4 Jan 2011 08:00:00 +0000</pubDate>
    <category>Roller</category>
    <category>asf</category>
    <category>glassfish</category>
    <category>jboss</category>
    <category>jpa</category>
    <category>websphere</category>
<description>&lt;p&gt;On the last day of 2010, I made available the third release candidate for Apache Roller 5.0. The main difference between this new candidate and the previous one is that the new RC3 runs on Java EE 6 servers: Glassfish 3, JBoss 6 and Websphere 8 (currently in beta). Making this happen took a lot more work than I expected and I&amp;#39;ll blog about that over the next couple of weeks as it is an interesting case study in Java EE 6 portability.&lt;/p&gt;

&lt;p&gt;Here&amp;#39;s the announcement:&lt;/p&gt;

&lt;pre&gt;
Apache Roller 5.0 Release Candidate RC3 is now available for testing.
Note that this is NOT a release of the Apache Software Foundation or
anybody else; this release candidate is for testing purposes only and
not recommended for production.

   What&amp;#39;s new in Roller 5.0:
   &lt;a href=&quot;https://cwiki.apache.org/confluence/display/ROLLER/What&apos;s+new+in+Roller+5.0&quot;&gt;https://cwiki.apache.org/confluence/display/ROLLER/What&amp;#39;s+new+in+Roller+5.0&lt;/a&gt;

   Change list (issues resolved since 4.0)
   &lt;a href=&quot;http://bit.ly/gAhDWR&quot;&gt;http://bit.ly/gAhDWR&lt;/a&gt;

   Issues resolved since last release candidate (RC3)
   &lt;a href=&quot;http://bit.ly/dZ27Nx&quot;&gt;http://bit.ly/dZ27Nx&lt;/a&gt;

   Signed binary and source files. Also, documentation in PDF form
   &lt;a href=&quot;http://people.apache.org/~snoopdave/apache-roller-5.0/&quot;&gt;http://people.apache.org/~snoopdave/apache-roller-5.0/&lt;/a&gt;

The biggest change in RC3 is the new support for Java EE 6 application
servers: Glassfish 3, JBoss 6 and Websphere 8 (beta). I&amp;#39;ve been able
to verify that Roller runs on all of those servers, and I updated the
installation guide to explain in detail how you install on Glassfish,
JBoss and WebSphere.

If you would like to help out then please test RC3, discuss the
problems you encounter here and file specific bugs with steps to
reproduce in the Roller JIRA bug tracking system.

Thanks,
Dave
&lt;/pre&gt;

That announcement is available here: &lt;a href=&quot;http://markmail.org/message/my5wbld2xqvhqpyg&quot;&gt;http://markmail.org/message/my5wbld2xqvhqpyg
&lt;/a&gt;


</description>  </item>
  <item>
    <guid isPermaLink="true">https://rollerweblogger.org/roller/entry/despotism_at_jboss_org</guid>
    <title>Despotism at JBoss.org</title>
    <dc:creator>Dave Johnson</dc:creator>
    <link>https://rollerweblogger.org/roller/entry/despotism_at_jboss_org</link>
    <pubDate>Thu, 8 Feb 2007 09:51:33 +0000</pubDate>
    <category>Open Source</category>
    <category>jboss</category>
    <category>opensource</category>
    <category>redhat</category>
<description>&lt;p&gt;And I mean that in the nicest way possible, i.e. the &lt;a href=&quot;http://codehaus.org/Manifesto&quot;&gt;Codehaus way&lt;/a&gt;.&lt;/p&gt;&lt;blockquote&gt;&lt;a href=&quot;http://www.fnokd.com/2007/02/07/the-metamorphosis/&quot;&gt;Bob McWhirter&lt;/a&gt;: Ultimately all open-source survives and grows based upon goodwill.
Tending to the community is required, else you risk alienating your own
users. I aim to use my experiences from a variety of open-source
projects and communities to make sure the JBoss community is one of
which Iâ&#128;&#153;m proud to be a member.&lt;/blockquote&gt;&lt;p&gt;Congrats Bob. Sounds like a great new job. This mean you&amp;#39;ll be coming to Raleigh more often?&lt;/p&gt;</description>  </item>
  <item>
    <guid isPermaLink="true">https://rollerweblogger.org/roller/entry/jboss_sanitized_blogs_before_aquisition</guid>
    <title>JBoss sanitized blogs before aquisition?</title>
    <dc:creator>Dave Johnson</dc:creator>
    <link>https://rollerweblogger.org/roller/entry/jboss_sanitized_blogs_before_aquisition</link>
    <pubDate>Mon, 10 Apr 2006 13:01:28 +0000</pubDate>
    <category>Blogging</category>
    <category>java</category>
    <category>jboss</category>
    <category>opensource</category>
<description>&lt;br&gt;Back in 2004 I &lt;a target=&quot;_self&quot; href=&quot;http://rollerweblogger.org/roller/entry/fleury_on_open_source_girly&quot;&gt;linked&lt;/a&gt; to a blog post authored by JBoss exec Mark Fleury that called Red Hat &amp;quot;open source wannabes&amp;quot; and &amp;quot;girly men.&amp;quot; According to my referrers, people are looking for that old post using those keywords. Apparently, they&amp;#39;re not finding it because it&amp;#39;s been &lt;a target=&quot;_self&quot; href=&quot;http://jboss.org/jbossBlog/blog/mfleury/?permalink=5B557AB3231FE396D5C675A1367254DB.txt&quot;&gt;removed&lt;/a&gt; (but not from the &lt;s&gt;Google Cache&lt;/s&gt; Wayback Machine). I wonder why.&lt;br&gt;</description>  </item>
</channel>
</rss>