Tuesday, July 21, 2009
JBoss Messaging Installation Hack
To use JBoss ESB, I needed to install a messaging system within JBoss 5.0 GA. I chose JBoss Messaging 1.4.4 and swallowed the red pill.
RTFMing the docs, I cd'd to the util directory and then ran: ant -f release-admin.xml. First try failed with the following error message:
Warning: Could not find file ...\path\to\jms\jms-ra.rar to copy
So I vi'd release-admin.xml and read the copy command found on line 116. Looks like it wanted a jms-ra.rar in a directory called jms. I examined my jboss installation and didn't find a jms directory present within my developmental server so I created a jms/ directory and copied an available copy of jms-ra.rar into the jms directory.
Unfortunately, you cannot just simply rerun the install file, release-admin.xml, straightaway. You must remove the messaging/ directory completely before reinstalling.
(I know, I know, this is a no no but my first red bull of the day was still in full circulation. :) )
After removing the messaging/ directory, I retried:
ant -f release-admin.xml
Success! The build was successful and now it's on to JBoss ESB and the helloworld.esb for testing messaging and eventual soap client service.