[prev in list] [next in list] [prev in thread] [next in thread] 

List:       jboss-user
Subject:    [JBoss-user] [Beginners Corner] - Help me to run my first MDB in JBoss
From:       johntodd <nukes () jboss ! org>
Date:       2004-09-30 23:10:13
Message-ID: 1217200.1096585813347.JavaMail.jboss () colo-br-02 ! atl ! jboss ! com
[Download RAW message or body]

Hi all.
I developing my fist MDB in JBoss3.2.5
I created this file (jbossmq-todd-service.xml) and drop it in deploy dir :

  | <?xml version="1.0" encoding="UTF-8"?>
  | <server>
  | 	<mbean code="org.jboss.mq.server.jmx.Queue" 
  |             name="jboss.mq.destination:service=Queue,name=ToddQueue">
  | 		<depends optional-attribute-name="DestinationManager">
  | 		jboss.mq:service=DestinationManager</depends>
  | 	</mbean>
  | </server>
  | 
the following is jboss.xml 

  | <jboss>
  | 	<enterprise-beans>
  | 		<message-driven>
  | 			<ejb-name>MessengerEJB</ejb-name>
  |                   <destination-jndi-name>queue/ToddQueue</destination-jndi-name>	
  | 		</message-driven>
  | 		<session>
  | 			<ejb-name>ProducerEJB</ejb-name>
  | 			<jndi-name>ProducerRemoteHome</jndi-name>
  | 			<resource-ref>
  | 				<res-ref-name>jms/QueueFactory</res-ref-name>
  | 				<jndi-name>java:/JmsXA</jndi-name>
  | 			</resource-ref>
  | 			<resource-env-ref>
  | 				<resource-env-ref-name>jms/JToddQueue</resource-env-ref-name>
  | 				<jndi-name>queue/ToddQueue</jndi-name>
  | 			</resource-env-ref>
  | 		</session>
  | 
  | 	</enterprise-beans>
  | </jboss>
  | 
as you noted, the session bean will send a message to queue that MDB is listening to.
running JBoss I got :
javax.jms.JMSException: Error creating the dlq connection: XAConnectionFactory not bound
any ideas ??

View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3850050#3850050

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


-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic