hmmm.... thats something new.Where do I have to change my config???? Following are my ejb-jar.xml and jboss.xml used in MDB.
ejb-jar.xml | <?xml version="1.0" encoding="UTF-8"?> | <ejb-jar id="EJBJar_OfsMessageMDB" 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>OFSMessage</display-name> | <enterprise-beans> | <message-driven id="MessageDriven_OfsMessageMDB"> | <display-name>OFSMessage Bean</display-name> | <ejb-name>OFSMessageMDB</ejb-name> | <ejb-class>com.temenos.ofsmessage.mdb.OFSMessageMDB</ejb-class> | <messaging-type>javax.jms.MessageListener</messaging-type> | <transaction-type>Bean</transaction-type> | <message-destination-type>javax.jms.Queue</message-destination-type> | <activation-config> | <activation-config-property> | <activation-config-property-name>acknowledgeMode</activation-config-property-name> | <activation-config-property-value>Auto-acknowledge</activation-config-property-value> | </activation-config-property> | </activation-config> | <resource-ref id="ResourceRef_jmsQueueConnectionFactory"> | <description>T24 Queue Connection Factory</description> | <res-ref-name>jms/jmsConnectionFactory</res-ref-name> | <res-type>javax.jms.QueueConnectionFactory</res-type> | <res-auth>Container</res-auth> | </resource-ref> | <resource-ref id="ResourceRef_t24ConnectionFactory"> | <description>T24 JCA Connection Factory</description> | <res-ref-name>jca/t24ConnectionFactory</res-ref-name> | <res-type>com.jbase.jremote.JConnectionFactory</res-type> | <res-auth>Container</res-auth> | </resource-ref> | <resource-ref id="ResourceRef_t24OFSReplyQueue"> | <description>OFS reply queue</description> | <res-ref-name>queue/t24OFSReplyQueue</res-ref-name> | <res-type>javax.jms.Queue</res-type> | <res-auth>Container</res-auth> | </resource-ref> | </message-driven> | | <message-driven id="MessageDriven_OfsMessageMDB_DLQ"> | <display-name>OFSMessage Bean DLQ</display-name> | <ejb-name>OFSMessageMDB_DLQ</ejb-name> | <ejb-class>com.temenos.ofsmessage.mdb.OFSMessageMDB</ejb-class> | <messaging-type>javax.jms.MessageListener</messaging-type> | <transaction-type>Bean</transaction-type> | <message-destination-type>javax.jms.Queue</message-destination-type> | <activation-config> | <activation-config-property> | <activation-config-property-name>acknowledgeMode</activation-config-property-name> | <activation-config-property-value>Auto-acknowledge</activation-config-property-value> | </activation-config-property> | </activation-config> | <resource-ref id="ResourceRef_jmsQueueConnectionFactory_DLQ"> | <description>T24 Queue Connection Factory</description> | <res-ref-name>jms/jmsConnectionFactory</res-ref-name> | <res-type>javax.jms.QueueConnectionFactory</res-type> | <res-auth>Container</res-auth> | </resource-ref> | <resource-ref id="ResourceRef_t24ConnectionFactory_DLQ"> | <description>T24 JCA Connection Factory</description> | <res-ref-name>jca/t24ConnectionFactory</res-ref-name> | <res-type>com.jbase.jremote.JConnectionFactory</res-type> | <res-auth>Container</res-auth> | </resource-ref> | <resource-ref id="ResourceRef_t24OFSReplyQueue_DLQ"> | <description>OFS reply queue</description> | <res-ref-name>queue/t24OFSReplyQueue</res-ref-name> | <res-type>javax.jms.Queue</res-type> | <res-auth>Container</res-auth> | </resource-ref> | </message-driven> | </enterprise-beans> | </ejb-jar> | jboss.xml | <?xml version="1.0" encoding="UTF-8"?> | | <!DOCTYPE jboss PUBLIC "-//JBoss//DTD JBOSS 4.0//EN" | "http://www.jboss.org/j2ee/dtd/jboss_4_0.dtd"> | | <jboss> | <enterprise-beans> | <message-driven> | <ejb-name>OFSMessageMDB</ejb-name> | <destination-jndi-name>queue/t24OFSQueue</destination-jndi-name> | <resource-ref> | <res-ref-name>jms/jmsConnectionFactory</res-ref-name> | <jndi-name>java:/ConnectionFactory</jndi-name> | </resource-ref> | <resource-ref> | <res-ref-name>queue/t24OFSReplyQueue</res-ref-name> | <!-- <res-type>javax.jms.Queue</res-type> | --> | <jndi-name>queue/t24OFSReplyQueue</jndi-name> | </resource-ref> | <resource-ref> | <res-ref-name>jca/t24ConnectionFactory</res-ref-name> | <jndi-name>java:jca/t24ConnectionFactory</jndi-name> | <!-- <res-type>com.jbase.jremote.JConnectionFactory</res-type> | --> | </resource-ref> | </message-driven> | | <message-driven> | <ejb-name>OFSMessageMDB_DLQ</ejb-name> | <destination-jndi-name>queue/t24OFSDLQ</destination-jndi-name> | <resource-ref> | <res-ref-name>jms/jmsConnectionFactory</res-ref-name> | <jndi-name>java:/ConnectionFactory</jndi-name> | </resource-ref> | <resource-ref> | <res-ref-name>queue/t24OFSReplyQueue</res-ref-name> | <!--<res-type>javax.jms.Queue</res-type>--> | <jndi-name>queue/t24OFSReplyQueue</jndi-name> | </resource-ref> | <resource-ref> | <res-ref-name>jca/t24ConnectionFactory</res-ref-name> | <jndi-name>java:jca/t24ConnectionFactory_DLQ</jndi-name> | <!--<res-type>com.jbase.jremote.JConnectionFactory</res-type>--> | </resource-ref> | </message-driven> | </enterprise-beans> | </jboss> | View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4245802#4245802 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4245802 _______________________________________________ jboss-user mailing list [email protected] https://lists.jboss.org/mailman/listinfo/jboss-user
