JDBC datasource password encryption in JBoss AS7

At Avisi we maintain an application platform where the platform (VM’s, databases, LDAP, etc.) is maintained by a third party. Modernizing our deployment processes, we obtained ownership of the platform’s configuration. This brought up a practical issue: we don’t know the passwords used by the applications to connect to the services provided by the platform (database, LDAP). In fact, we aren’t allowed to know these passwords since that would break the SLA with the platform provider.

Continue reading

JBoss AS7.1 and RESTEasy: upgrading Jackson

We’re currently in the process of upgrading our application platform from JBoss 5.1.0 to JBoss AS7.1.1. Since it’s quite a big change (especially the transition from AS6 to AS7) things tend to break where you don’t expect them to. When writing blog posts, I like to present solutions for problems I encounter in my everyday engineering tasks… So here we go!

Continue reading

CXF on JBoss AS7: NoClassDefFoundError: com/ctc/wstx/io/DefaultInputResolver

Today we encountered a classloading problem in JBoss AS 7.1.1 while using JAX-WS. JBoss uses CXF as its JAX-WS implementation and CXF in turn depends on Woodstox as its default StAX implementation. The problem was that JBoss failed to load Woodstox now and then when parsing SOAP requests. Continue reading

Configuring Camel to use HornetQ 2.2.13 in JBoss AS 7.1.1

JBoss AS 7.1.1 has version 2.2.13 of the HornetQ messaging server built-in. I needed to use JMS for a Camel route from outside the container and found that configuring and using HornetQ is not really difficult. It can be confusing however, mainly because the documentation and examples I found often refer to a different version of either HornetQ or JBoss AS. In the end I got it to work; to save you the trouble of having to find it all out by yourself, I thought I’d write a walk-through of the process…

Continue reading

Day 3 at Devoxx 2011

This is a “live” blog from day 1 at Devoxx 2011, we will be updating this blog post during the day. You can read all three blogs by following the links below

Day one
Day two
Day three

Day three

We made it for the last day of Devoxx! A bit tired after the Devoxx party at the NOXX, but luckily there were only two sessions and a keynote today. Like previous years the keynote on friday was a “technical” discussion panel with people from/representing Oracle, Google, Microsoft, JUG’s, open source. Everybody could ask questions which unfortunately meant that the talk was less technical and more politics. With a lot of political questions which of course the panelists couldn’t answer.

Continue reading

Day 2 at Devoxx 2011

This is a “live” blog from day 1 at Devoxx 2011, we will be updating this blog post during the day. You can read all three blogs by following the links below

Day one
Day two
Day three

Day two

The day started with an android focused keynote by Google. It was definitely a better presentation than the keynote of day one. Despite that it was about android, Tim Bray showed us where the mobile market is going. Touching topics such as monetizing your app, new android features, comparison with the competition (Apple and Microsoft).

Continue reading