Add <mdb-user> and <mdb-passwd> to jboss.xml as follows. This work for EJB
2.1
<?xml version="1.0"?>
<!DOCTYPE jboss PUBLIC "-//JBoss//DTD JBOSS 4.0//EN"
"http://www.jboss.org/j2ee/dtd/jboss_4_0.dtd">
<enterprise-beans>
<message-driven>
<ejb-name>TestMQListener</ejb-name>
<destination-jndi-name>wsmq/TEST_REQUEST</destination-jndi-name>
<mdb-user>abc</mdb-user>
<mdb-passwd>xxxxxxx</mdb-passwd>
<configuration-name>WSMQ Message Driven Bean</configuration-name>
<invoker-bindings>
<invoker-proxy-binding-name>
wsmq-message-driven-bean
</invoker-proxy-binding-name>
</invoker-bindings>
</message-driven>
</enterprise-beans>
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4223221#...
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&a...