<?xml version="1.0" encoding='utf-8'?>
<!-- 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153
-->
<?xml-stylesheet type="text/xsl" href="https://rollerweblogger.org/roller-ui/styles/atom.xsl" media="screen"?><feed xmlns="http://www.w3.org/2005/Atom">
    <title type="html">Blogging Roller</title>
    <subtitle type="html">Dave Johnson on open web technologies, social software and software development</subtitle>
    <id>https://rollerweblogger.org/roller/feed/entries/atom</id>
        <link rel="self" type="application/atom+xml" href="https://rollerweblogger.org/roller/feed/entries/atom?tags=websphere" />
    <link rel="alternate" type="text/html" href="https://rollerweblogger.org/roller/" />
    <updated>2026-06-03T02:49:03+00:00</updated>
    <generator uri="http://roller.apache.org" version="6.1.5">Apache Roller</generator>
    <entry>
        <id>https://rollerweblogger.org/roller/entry/open_source_vs_weblogic_and</id>
        <title type="html">Open-source vs Weblogic and WebSphere</title>
        <author><name>Dave Johnson</name></author>
        <link rel="alternate" type="text/html" href="https://rollerweblogger.org/roller/entry/open_source_vs_weblogic_and"/>
        <published>2012-01-10T10:33:53+00:00</published>
        <updated>2012-01-10T18:44:35+00:00</updated> 
        <category term="Open Source" label="Open Source" />
        <category term="java" scheme="http://roller.apache.org/ns/tags/" />
        <category term="weblogic" scheme="http://roller.apache.org/ns/tags/" />
        <category term="websphere" scheme="http://roller.apache.org/ns/tags/" />
        <content type="html">&lt;p&gt;Survey says 80% of New Relic&amp;#39;s Java customers choose open source app servers over expensive bloat-ware.&lt;/p&gt;

&lt;blockquote&gt;
Server wars: Open-source Java vs Weblogic and WebSphere | Software, Interrupted - CNET News:
Overall, it&amp;#39;s not surprising that users who are deploying their applications to the cloud are more likely to use open source, if for no other reason than that licensing is far simpler. Additionally, there are Amazon Machine Images (AMIs) available for most open source stacks, making it very easy to choose open source over a traditionally licensed application server.
&lt;/blockquote&gt;

</content>
    </entry>
    <entry>
        <id>https://rollerweblogger.org/roller/entry/roller_5_and_websphere_8</id>
        <title type="html">Roller 5 and WebSphere 8 (beta)</title>
        <author><name>Dave Johnson</name></author>
        <link rel="alternate" type="text/html" href="https://rollerweblogger.org/roller/entry/roller_5_and_websphere_8"/>
        <published>2011-02-09T22:18:55+00:00</published>
        <updated>2011-03-27T19:34:41+00:00</updated> 
        <category term="Roller" label="Roller" />
        <category term="java" scheme="http://roller.apache.org/ns/tags/" />
        <category term="javaee" scheme="http://roller.apache.org/ns/tags/" />
        <category term="websphere" scheme="http://roller.apache.org/ns/tags/" />
        <summary type="html">&lt;p&gt;&lt;img src=&quot;http://rollerweblogger.org/roller/mediaresource/8413ae9f-d4a2-418a-9d37-0fab7644e413&quot; alt=&quot;Websphere logo&quot; align=&quot;right&quot;&gt;In my quest to get Roller running on the latest in Java EE servers, the last server I tacked was the &lt;a href=&quot;http://www-01.ibm.com/software/webservers/appserv/was/&quot;&gt;WebSphere Application Server&lt;/a&gt;. Unlike Glassfish and JBoss, WebSphere&amp;#39;s Java EE 6 offering is not available in final form yet. Java EE 6 support is coming in WebSphere 8. So, for this exercise I used the WebSphere 8 beta, which was made &lt;a href=&quot;http://www.ibm.com/developerworks/forums/thread.jspa?messageID=14482785&quot;&gt;available in July 2010&lt;/a&gt;. In this blog I&amp;#39;ll describe how I approached the problem what I learned along the way.&lt;/p&gt;</summary>
        <content type="html">&lt;p&gt;&lt;img src=&quot;http://rollerweblogger.org/roller/mediaresource/8413ae9f-d4a2-418a-9d37-0fab7644e413&quot; alt=&quot;Websphere logo&quot; align=&quot;right&quot;&gt;In my quest to get Roller running on the latest in Java EE servers, the last server I tacked was the &lt;a href=&quot;http://www-01.ibm.com/software/webservers/appserv/was/&quot;&gt;WebSphere Application Server&lt;/a&gt;. Unlike Glassfish and JBoss, WebSphere&amp;#39;s Java EE 6 offering is not available in final form yet. Java EE 6 support is coming in WebSphere 8. So, for this exercise I used the WebSphere 8 beta, which was made &lt;a href=&quot;http://www.ibm.com/developerworks/forums/thread.jspa?messageID=14482785&quot;&gt;available in July 2010&lt;/a&gt;. 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;Deployed the Java EE version of the Roller WAR&lt;/h4&gt;
&lt;p&gt;If you remember my back to my post on &lt;a href=&quot;http://rollerweblogger.org/roller/entry/roller_5_and_glassfish_3&quot;&gt;Glassfish&lt;/a&gt;, I ended up with two WARs, one for Tomcat and one for Java EE. Then in my post on &lt;a href=&quot;http://rollerweblogger.org/roller/entry/roller_5_and_jboss_6&quot;&gt;JBoss&lt;/a&gt;, I had to add a special WAR just for JBoss. Fortunately for WebSphere, I was able to use same &amp;quot;Java EE&amp;quot; WAR that I used on Glassfish. It didn&amp;#39;t work the first time I tried, but with some code changes and installation guide adjustments, I was able to make it work. Here&amp;#39;s a quick summary of the problems I hit:&lt;/p&gt;
&lt;h4&gt;Problem 1: Commons Logging&lt;/h4&gt;
&lt;p&gt;I was able to deploy Roller successfully via the WebSphere console, but when I tried to load the Roller setup page I got a 404 error. I looked for the Roller log and found nothing. Something was preventing Commons Logging or Log4J from working properly. After some googling, I learned that this has been a problem on WebSphere for some time and there&amp;#39;s an easy (but annoying) fix. I had to add a property file to Roller and ask those installing Roller to add a property file to their WebSphere installation, details are here (&lt;a href=&quot;https://issues.apache.org/jira/browse/ROL-1895&quot;&gt;ROL-1895&lt;/a&gt;).&lt;/p&gt;
&lt;h4&gt;Problem 2: Filter compatibility&lt;/h4&gt;
&lt;p&gt;I had logging working but that didn&amp;#39;t really help me figure out what was going wrong. Eventually, I remembered the WebSphere Filter Compatibility issue. Servlet Filters are a standard feature of the Servlet API for years, but for some reason they are turned off by default in WebSphere. The solution is to set the &lt;code&gt;com.ibm.ws.webcontainer.invokeFiltersCompatibility&lt;/code&gt; flag to true via the WebSphere console and so that&amp;#39;s what I did. It worked.&lt;/p&gt;
&lt;h4&gt;Problem 3: Struts mapping&lt;/h4&gt;
&lt;p&gt;Once I got beyond the setup page, the Roller bootstrapping page would not load. After some investigation I found that the Struts filter was not being executed. Roller was using the mapping &lt;code&gt;/*&lt;/code&gt; meaning that all requests go through Struts. When I changed that to &lt;code&gt;*.rol&lt;/code&gt;, which is the extension we use for all Struts actions, things started working. That&amp;#39;s what we should have been doing anyway, so I made the change and moved on.&lt;/p&gt;
&lt;h4&gt;Wrapping up...&lt;/h4&gt;
&lt;p&gt;In the end, I was able to make Roller&amp;#39;s Java EE WAR work on WebSphere and that&amp;#39;s a good thing. I really don&amp;#39;t want to have a separate WAR for each app server. As I did for the other three servers, I added detailed step-by-step installation instructions for WebSphere to 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;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;, &lt;a href=&quot;http://rollerweblogger.org/roller/entry/roller_5_and_glassfish_3&quot;&gt;Roller 5 on Glassfish 3&lt;/a&gt; and &lt;a href=&quot;http://rollerweblogger.org/roller/entry/roller_5_and_jboss_6&quot;&gt;Roller 5 on JBoss AS 6&lt;/a&gt;.&lt;/p&gt;</content>
    </entry>
    <entry>
        <id>https://rollerweblogger.org/roller/entry/roller_5_and_java_ee</id>
        <title type="html">Roller 5 and Java EE 6</title>
        <author><name>Dave Johnson</name></author>
        <link rel="alternate" type="text/html" href="https://rollerweblogger.org/roller/entry/roller_5_and_java_ee"/>
        <published>2011-01-05T08:15:53+00:00</published>
        <updated>2011-03-27T19:35:38+00:00</updated> 
        <category term="Roller" label="Roller" />
        <category term="asf" scheme="http://roller.apache.org/ns/tags/" />
        <category term="glassfish" scheme="http://roller.apache.org/ns/tags/" />
        <category term="javaee" scheme="http://roller.apache.org/ns/tags/" />
        <category term="jboss" scheme="http://roller.apache.org/ns/tags/" />
        <category term="tomcat" scheme="http://roller.apache.org/ns/tags/" />
        <category term="websphere" scheme="http://roller.apache.org/ns/tags/" />
        <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;
</summary>
        <content 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;

&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;</content>
    </entry>
    <entry>
        <id>https://rollerweblogger.org/roller/entry/apache_roller_5_0_rc3</id>
        <title type="html">Apache Roller 5.0 RC3</title>
        <author><name>Dave Johnson</name></author>
        <link rel="alternate" type="text/html" href="https://rollerweblogger.org/roller/entry/apache_roller_5_0_rc3"/>
        <published>2011-01-04T08:00:00+00:00</published>
        <updated>2011-01-04T16:19:04+00:00</updated> 
        <category term="Roller" label="Roller" />
        <category term="asf" scheme="http://roller.apache.org/ns/tags/" />
        <category term="glassfish" scheme="http://roller.apache.org/ns/tags/" />
        <category term="jboss" scheme="http://roller.apache.org/ns/tags/" />
        <category term="jpa" scheme="http://roller.apache.org/ns/tags/" />
        <category term="websphere" scheme="http://roller.apache.org/ns/tags/" />
        <content type="html">&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;


</content>
    </entry>
</feed>

