[jboss-user] [JNDI/Naming/Network] - Re: MDB listening to Websphere MQ - invalid security authent

nilkanthr do-not-reply at jboss.com
Fri Apr 3 05:39:58 EDT 2009


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#4223221

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4223221



More information about the jboss-user mailing list