I have been able to successfully deploy and use the sample session and 
entity EJBs from the online documentation; however, when I attempt to 
deploy the sample MDB, I receive the following:

[Container factory] Serious error in init: 
javax.naming.NameNotFoundException: XATopicConnectionFactory not bound

I've been digging through the various mailing list archives and other 
resources, but haven't been able to find the problem. I'm going to keep 
digging, but if someone can help point me in the right direction, it 
will be much appreciated.

Doug



Running JBoss-2.2.1_Tomcat-3.2.1

Here are the contents of the XML files in the MDB jar:

----- ejb-jar.xml -----
<?xml version="1.0"?>
<!DOCTYPE ejb-jar PUBLIC '-//Sun Microsystems, Inc.//DTD Enterprise 
JavaBeans 2.0//EN' 'http://java.sun.com/dtd/ejb-jar_2_0.dtd'>
<ejb-jar>
    <enterprise-beans>
       <message-driven>
          <ejb-name>MDB</ejb-name>
          <ejb-class>test.bean.MDB</ejb-class>
          <message-selector></message-selector>
          <transaction-type>Container</transaction-type>
          <message-driven-destination>
            <destination-type>javax.jms.Topic</destination-type>
            <subscription-durability>NonDurable</subscription-durability>
          </message-driven-destination>
       </message-driven>
    </enterprise-beans>
    <assembly-descriptor>
       <container-transaction>
          <method>
             <ejb-name>MDB</ejb-name>
             <method-name>onMessage</method-name>
             <method-params>
                <method-param>javax.jms.Message</method-param>
             </method-params>
          </method>
          <trans-attribute>Supports</trans-attribute>
       </container-transaction>
    </assembly-descriptor>
</ejb-jar>
---------------------
----- jboss.xml -----
<?xml version="1.0" encoding="Cp1252"?>
<jboss>
   <enterprise-beans>
     <message-driven>
       <ejb-name>MDB</ejb-name>
       <configuration-name>Standard Message Driven Bean</configuration-name>
     </message-driven>
   </enterprise-beans>
</jboss>
---------------------


_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to