Sun Developer Network this month have a multimedia roundup of the best of JavaOne 2006, including articles and video interviews.
Red Hat dropping JOnAS-based App Server
Red Hat have announced they are dropping their Red Hat Application Server, which was developed ontop of the Open Source app server JOnAS.
RedHat recently bought out the Open Source app server company JBoss, who are of course well known for their Java app server, so are looking to leverage their newly acquired assets.
Fun with Unified Class Loader on JBoss with Grails web-app deployments
I have just been caught out by the Unified Class Loader approach on JBoss 4.0.x. I have a 4.0.1 server running a couple of differnt webapps, and each is packaged with their own jars in WEB-INF/lib.
On attempting to deploy a test Grails app to the same server, I ran into all sorts of MethodNotFoundException, and JSP compilation issues that had me scratching my head for a while. I tried removing older copies of Jars like commons.lang.jar from the already deployed (older) web apps, as most of the issues were to do with new methods added in the later version of commons-lang, but no luck.
I finally stumbled across the solution – to disable the Unified Class Loader in JBoss, so that each web app would be self contained. This fixed my issues.
I changed this file:
<code> /jboss/server/default/deploy/jbossweb-tomcat50.sar/jboss-service.xml </code>
changing this line:
<code> <attribute name="UseJBossWebLoader">true</attribute> </code>
to
<code> <attribute name="UseJBossWebLoader">false</attribute> </code>
For exact details of the errors, check out the JIRA entries I created (and subsequently closed):
OnJava.com: gettting started with the Google Web Toolkit
OnJava.com have a detailed article giving an overview of getting started with the Google Web Toolkit.
I still haven’t had time to look at this yet, but it is definitely high on my list to check out.
