users@glassfish.java.net

Re: SonicMQ 7.0 with Sun App Server 8.2

From: <glassfish_at_javadesktop.org>
Date: Sun, 04 Mar 2007 20:07:11 PST

Hi Scott,

I have pasted my ejb-jar.xml below
Could you send us the following if you are still facing the problem.
1. domain.xml
2. Complete server.log



<?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>queue2queue</display-name>
    <enterprise-beans>

        <message-driven>
            <ejb-name>SonicMQTestMDB</ejb-name>
            <ejb-class>com.sun.inout.SonicMQTestBean</ejb-class>
            <transaction-type>Container</transaction-type>
            
            <message-destination-type>javax.jms.Queue</message-destination-type>
            <message-destination-link>inqueue</message-destination-link>
            <activation-config>
                <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>MaxPoolSize</activation-config-property-name>
                    <activation-config-property-value>30</activation-config-property-value>
                </activation-config-property>
                <activation-config-property>
                    <activation-config-property-name>RedeliveryAttempts</activation-config-property-name>
                    <activation-config-property-value>3</activation-config-property-value>
                </activation-config-property>
                <activation-config-property>
                    <activation-config-property-name>RedeliveryInterval</activation-config-property-name>
                    <activation-config-property-value>1</activation-config-property-value>
                </activation-config-property>
                <activation-config-property>
                    <activation-config-property-name>ReconnectAttempts</activation-config-property-name>
                    <activation-config-property-value>1000</activation-config-property-value>
                </activation-config-property>
                <activation-config-property>
                    <activation-config-property-name>ReconnectInterval</activation-config-property-name>
                    <activation-config-property-value>1</activation-config-property-value>
                </activation-config-property>
                <activation-config-property>
                    <activation-config-property-name>DestinationProperties</activation-config-property-name>
                    <activation-config-property-value>imqDestinationName=inqueue</activation-config-property-value>
                </activation-config-property>
                <activation-config-property>
                    <activation-config-property-name>SendBadMessagesToDMD</activation-config-property-name>
                    <activation-config-property-value>true</activation-config-property-value>
                </activation-config-property>
                <activation-config-property>
                    <activation-config-property-name>DeadMessageDestinationType</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>DeadMessageDestinationJndiName</activation-config-property-name>
                    <activation-config-property-value>deadmsgqueue</activation-config-property-value>
                </activation-config-property>
                <activation-config-property>
                    <activation-config-property-name>DeadMessageConnectionFactoryJndiName</activation-config-property-name>
                    <activation-config-property-value>outboundXAQCF</activation-config-property-value>
                </activation-config-property>
                <activation-config-property>
                    <activation-config-property-name>EndpointReleaseTimeOut</activation-config-property-name>
                    <activation-config-property-value>30</activation-config-property-value>
                </activation-config-property>
            </activation-config>
            <resource-ref>
                <description>Queue Conn factory where the message will be placed having been consumed.</description>
                <res-ref-name>jms/outboundXAQCF</res-ref-name>
                <res-type>javax.jms.QueueConnectionFactory</res-type>
                <res-auth>Container</res-auth>
                <res-sharing-scope>Shareable</res-sharing-scope>
            </resource-ref>
            <resource-env-ref>
                <description>The actual queue on the broker that the message is placed onto.</description>
                <resource-env-ref-name>jms/outqueue</resource-env-ref-name>
                <resource-env-ref-type>javax.jms.Queue</resource-env-ref-type>
            </resource-env-ref>
                
        </message-driven>
        
        
    </enterprise-beans>

    <assembly-descriptor>
        <container-transaction>
            <description>This value was set as a default by Sun ONE Studio.</description>
            <method>
                <ejb-name>SonicMQTestMDB</ejb-name>
                <method-name>*</method-name>
            </method>
            <trans-attribute>Required</trans-attribute>
        </container-transaction>
        <message-destination>
            <display-name>Destination for QueueConsumer</display-name>
            <message-destination-name>inqueue</message-destination-name>
        </message-destination>
    </assembly-descriptor>
</ejb-jar>


-Ramesh
[Message sent by forum member 'rampsarathy' (rampsarathy)]

http://forums.java.net/jive/thread.jspa?messageID=206147