users@genericjmsra.java.net

Problem with Tibco EMS and failover

From: Stefan Nilsson <ytterklosan_at_gmail.com>
Date: Mon, 23 Mar 2009 11:13:01 +0100

Hi Ramesh!

I have no access to the production environment, so I cannot provide any
information about netstat or the server.log
The genericjmsra we are using is the one shipped with the 9.1 SUN branded
glassfish, ra.mxl: <resourceadapter-version>1.7</resourceadapter-version>



Here is the activation spec:

 <?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE sun-ejb-jar PUBLIC "-//Sun Microsystems, Inc.//DTD Application
Server 9.0 EJB 3.0//EN" "
http://www.sun.com/software/appserver/dtds/sun-ejb-jar_3_0-0.dtd">
<sun-ejb-jar>
 <enterprise-beans>
  <ejb>
   <ejb-name>CusinCommunityQueueListener</ejb-name>
   <resource-ref>
    <res-ref-name>cusinCommunityQueueFactory</res-ref-name>
    <!--

     jndi-name below should be the name of connector-resource created in
step 1 of configuration section above

    -->
    <jndi-name>cusinCommunityQueueFactory</jndi-name>
    <default-resource-principal>
     <name>********</name>
     <password>**********</password>
    </default-resource-principal>
   </resource-ref>
   <mdb-resource-adapter>
    <resource-adapter-mid>tibra</resource-adapter-mid>
    <activation-config>
     <activation-config-property>

<activation-config-property-name>destination</activation-config-property-name>

<activation-config-property-value>cusinCommunityQueue</activation-config-property-value>
     </activation-config-property>
     <activation-config-property>

<activation-config-property-name>DestinationType</activation-config-property-name>

<activation-config-property-value>javax.jms.Queue</activation-config-property-value>
     </activation-config-property>
     <activation-config-property>

<activation-config-property-name>DestinationJndiName</activation-config-property-name>

<activation-config-property-value>prod_q.system.cusin-kalender.direct.community</activation-config-property-value>
     </activation-config-property>
     <activation-config-property>

<activation-config-property-name>ConnectionFactoryJndiName</activation-config-property-name>

<activation-config-property-value>QueueConnectionFactory</activation-config-property-value>
     </activation-config-property>
    </activation-config>
   </mdb-resource-adapter>
  </ejb>

  <ejb>
   <ejb-name>
    CusinMobileSubscriptionServicesAndCustomerQueueListener
   </ejb-name>
   <resource-ref>

<res-ref-name>cusinMobileSubscriptionServicesAndCustomerQueueFactory</res-ref-name>
    <!--

     jndi-name below should be the name of connector-resource created in
step 1 of configuration section above

    -->

<jndi-name>cusinMobileSubscriptionServicesAndCustomerQueueFactory</jndi-name>
    <default-resource-principal>
     <name>******</name>
     <password>*********</password>
    </default-resource-principal>
   </resource-ref>
   <mdb-resource-adapter>
    <resource-adapter-mid>tibra</resource-adapter-mid>
    <activation-config>
     <activation-config-property>

<activation-config-property-name>destination</activation-config-property-name>

<activation-config-property-value>cusinMobileSubscriptionServicesAndCustomerQueue</activation-config-property-value>
     </activation-config-property>
     <activation-config-property>

<activation-config-property-name>DestinationType</activation-config-property-name>

<activation-config-property-value>javax.jms.Queue</activation-config-property-value>
     </activation-config-property>
     <activation-config-property>

<activation-config-property-name>DestinationJndiName</activation-config-property-name>

<activation-config-property-value>prod_q.system.cusin-kalender.direct.mobilesubscriptionservicesandcustomer</activation-config-property-value>
     </activation-config-property>
     <activation-config-property>

<activation-config-property-name>ConnectionFactoryJndiName</activation-config-property-name>

<activation-config-property-value>QueueConnectionFactory</activation-config-property-value>
     </activation-config-property>
    </activation-config>
   </mdb-resource-adapter>
  </ejb>
 </enterprise-beans>
</sun-ejb-jar>

Regards
/stefan