In JBOSS server.log, I noticed some difference: 
    for the started inbound RA instance, the debug message is from 
[org.jboss.ejb.plugins.MessageDrivenInstancePool] 
    for the un-started inbound RA instance, the debug message is from 
[org.jboss.system.ServiceController] 

Here are the deployment descriptors for the started inbound RA instance:

ejb-jar.xml:
<?xml version="1.0" encoding="UTF-8"?>
<ejb-jar version="2.1" xmlns="http://java.sun.com/xml/ns/j2ee"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee 
http://java.sun.com/xml/ns/j2ee/ejb-jar_2_1.xsd";>
        <display-name>FileConnectorWSHF_MDB1</display-name>
        <enterprise-beans>
                <message-driven>
                        <ejb-name>FileMessageListenerMDB1</ejb-name>
                        
<ejb-class>com.sybase.test.transport.file.appserver.mdb1.FileMessageListenerTestMDB</ejb-class>
                        
<messaging-type>com.sybase.soa.services.j2ca.transport.file.message.listener.FileMessageListener</messaging-type>
                        <transaction-type>Container</transaction-type>
                        <activation-config>
                                <activation-config-property>
                                        
<activation-config-property-name>FileDirectory</activation-config-property-name>
                                        
<activation-config-property-value>D:/fileConnector/test/in</activation-config-property-value>
                                </activation-config-property>
                        </activation-config>
                </message-driven>
        </enterprise-beans>
</ejb-jar> 

jboss.xml:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE jboss PUBLIC "-//JBoss//DTD JBOSS 3.0//EN" 
"http://www.jboss.org/j2ee/dtd/jboss_3_0.dtd";>

        <enterprise-beans>
                <message-driven>
                        <ejb-name>FileMessageListenerMDB1</ejb-name>
                        
<destination-jndi-name>theFileMessageListener1</destination-jndi-name>
                        
<resource-adapter-name>FileConnector.ear#FileConnector_RA.rar</resource-adapter-name>
                </message-driven>
        </enterprise-beans>
        <resource-managers/>


And here are the deployment descriptors for one of the un-started inbound RA 
instances:

ejb-jar.xml:
<?xml version="1.0" encoding="UTF-8"?>
<ejb-jar version="2.1" xmlns="http://java.sun.com/xml/ns/j2ee"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee 
http://java.sun.com/xml/ns/j2ee/ejb-jar_2_1.xsd";>
        <display-name>FileConnectorWSHF_MDB2</display-name>
        <enterprise-beans>
                <message-driven>
                        <ejb-name>FileMessageListenerMDB2</ejb-name>
                        
<ejb-class>com.sybase.test.transport.file.appserver.mdb2.FileMessageListenerTestMDB</ejb-class>
                        
<messaging-type>com.sybase.soa.services.j2ca.transport.file.message.listener.FileMessageListener</messaging-type>
                        <transaction-type>Container</transaction-type>
                        <activation-config>
                                <activation-config-property>
                                        
<activation-config-property-name>FileDirectory</activation-config-property-name>
                                        
<activation-config-property-value>D:/fileConnector/test/in2</activation-config-property-value>
                                </activation-config-property>
                        </activation-config>
                </message-driven>
        </enterprise-beans>
</ejb-jar>

jboss.xml:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE jboss PUBLIC "-//JBoss//DTD JBOSS 3.0//EN" 
"http://www.jboss.org/j2ee/dtd/jboss_3_0.dtd";>

        <enterprise-beans>
                <message-driven>
                        <ejb-name>FileMessageListenerMDB2</ejb-name>
                        
<destination-jndi-name>theFileMessageListener2</destination-jndi-name>
                        
<resource-adapter-name>FileConnector.ear#FileConnector_RA.rar</resource-adapter-name>
                </message-driven>
        </enterprise-beans>
        <resource-managers/>


Please let me know if you need any other information.

Thanks,
JJ




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

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


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to