Would this problem be solved by using OIL2?
Is OIL2 available in jboss 3.0.4? There is no reference to it in jbossmq-service.xml, or indeed anywhere else.
If it is not in 3.0.4, when will it be available in a stable release?
Hadn't set the 'RmiPort' Attribute for JNDI in jboss-service.xml.
Now it works.