- 
        1. Re: MDB does not work with JBoss 3.2.0 Tomcatadrian.brock Apr 17, 2003 5:53 AM (in response to richaud)Why is XAConnectionFactory not bound? 
 Regards,
 Adrian
- 
        2. Re: MDB does not work with JBoss 3.2.0 Tomcatrichaud Apr 17, 2003 7:22 AM (in response to richaud)I don't know why I get this error. 
 FYI, here are some parts of my configuration files :
 In the default/deploy directory, jbossmq-destinations-service.xml:
 ...
 <depends optional-attribute-name="DestinationManager">jboss.mq:service=DestinationManager
 <depends optional-attribute-name="SecurityManager">jboss.mq:service=SecurityManager
 ...
 My ejb-jar.xml located in my META-INF directory:
 ...
 <message-driven >
 <![CDATA[]]>
 <ejb-name>MailDispatcher</ejb-name>
 <ejb-class>fr.ods.ejb.MailDispatcherBean</ejb-class>
 <transaction-type>Bean</transaction-type>
 <acknowledge-mode>Auto-acknowledge</acknowledge-mode>
 <message-driven-destination>
 <destination-type>javax.jms.Queue</destination-type>
 <subscription-durability>NonDurable</subscription-durability>
 </message-driven-destination>
 </message-driven>
 ....
 My jboss.xml file located in my META-INF directory:
 ...
 <message-driven>
 <ejb-name>MailDispatcher</ejb-name>
 <destination-jndi-name>queue/testQueue</destination-jndi-name>
 </message-driven>
 ...
- 
        3. Re: MDB does not work with JBoss 3.2.0 Tomcatadrian.brock Apr 17, 2003 7:41 AM (in response to richaud)Your problem is the mdb is trying to connect 
 to the jms server, but the connection factory
 is not bound into jndi.
 Look further back in the log for errors.
 The default config for mdb connections is at the top of
 jms-service.xml
 The connection factories are configured at the
 start of jbossmq-service.xml
 Regards,
 Adrian
- 
        4. Re: MDB does not work with JBoss 3.2.0 Tomcatrichaud Apr 17, 2003 8:20 AM (in response to richaud)Surprisingly, I did not find in the jboss version I have (jboss-3.2.0_tomcat_4.1.24) the file you're mentionning (jms-service.xml), file that was indeed present in the jboss3.0.6 version I previously used. This file appears in all the various 3.0.6 configuration but is absent from my new 3.2.0 version. 
 I copied the old jms-service.xml file to the deploy directory. Nothing except a new error.
 Thanks.
 Olivier.
 PS: for those who are insterested, I can send a zip file of my server.log
- 
        5. Re: MDB does not work with JBoss 3.2.0 Tomcatadrian.brock Apr 17, 2003 8:27 AM (in response to richaud)Sorry it is called jms-ds.xml in 3.2 
 Why don't you attach the server.log?
 But before doing that, have a look at
 JNDIView at http://localhost:8080/jmx-console
 you should have java:/XAConnectionFactory
 Regards,
 Adrian
- 
        6. Re: MDB does not work with JBoss 3.2.0 Tomcatrichaud Apr 17, 2003 8:39 AM (in response to richaud)Sorry, here is my server.log. 
 I found the jms-ds.xml file that replaces jms-service.xml. I took a look at the entries, and all looks fine, but I'm not an expert...
- 
        7. Re: MDB does not work with JBoss 3.2.0 Tomcatadrian.brock Apr 17, 2003 8:57 AM (in response to richaud)JBossMQ is not starting because 
 the persistence manager uses
 jboss.jca:service=LocalTxCM,name=DefaultDS
 But you have changed the name to
 jboss.jca:service=LocalTxCM,name=RichaudNet
 You didn't mention the big "incompleteDeployments"
 exception
 Regards,
 Adrian
- 
        8. Re: MDB does not work with JBoss 3.2.0 Tomcatrichaud Apr 17, 2003 9:13 AM (in response to richaud)Many many thanks for your help. 
 Olivier.
