JBoss 4.0.5 and Java 6

I've had Java 6 running on my notebook since a couple days after its release. For some reason, the Debian people are being a bit slow at getting Java 6 packaged, and they seem to not want to bother updating java-package in the meantime. Fortunately, I could hack up java-package myself to make it work, and I very recently found a cleaner patch.

Trying to upgrade to JBoss 4.0.5 had been giving me fits previously as well, but the GA release of the JBoss JEMS Installer 1.2.0 actually gets the thing configured properly for me to make it work.

I told the installer to do a Standard install instead of Advanced, then just flipped the 3 bits mentioned in the release notes (and lots of other places) to isolate applications from each other and avoid ClassCastExceptions. Previous versions of the installer just didn't quite line things up correctly, and I started to think it was a bug in the application server code.

Once I got this all working on my notebook, I pushed it up to the server successfully. I hadn't initially planned to jump to Java 6 on the server yet, but I ran into class verification errors when I tried deploying my application (compiled on Java 6) into the server running Java 5.


Filed Under: Java Computers Linux Blog-Code