Please check your JNDI settings.
Is the SWIFT JMS server bound in the JBoss JNDI? Or do you have to provide a different
InitialContext to access SWIFT?
This could be a problem: You lookup your EJB in the SWIFT JNDI.
Just a quick guess, hope it helps!
You are right. It is careless of me. I did not include the ejb in the context as such the lookup keeps failing.
Bascially, wat i did is to do a lookup into the JBoss jnp initialcontext instead of the swiftmq.