users@glassfish.java.net

Re: Could not received JMS messages sent from remote GF 3.x servers

From: <glassfish_at_javadesktop.org>
Date: Tue, 11 May 2010 19:32:07 PDT

Hi Nigel,

Nigel>Right. We need to focus first on the machine where the MQ broker was running. This was PC1, and it was running Glassfish 3.0.1, if I interpret your message correctly.

Nigel> So, two questions:

Nigel> 1. When you started the Glassfish instance on PC1, did you see the message " SJSMQ JMS Resource Adapter starting: EMBEDDED" or" SJSMQ JMS Resource Adapter starting: LOCAL" in the server log?

            Yes. Refer to the attached GF 3.0.1 server log attached for detail.

Nigel> 2. Examine the config file for PC1. This is glassfish/domains/domain1/config/domain.xml. Locate the element <jms-service> and its sub-element <jms-host> and paste them into your reply.

           [u]domain.xml on PC1 (GF 3.0.1) - receives JMS message[/u]
          [b]<jms-service default-jms-host="default_JMS_host" type="EMBEDDED">
       <jms-host host="localhost" name="default_JMS_host" lazy-init="true" />
     </jms-service>[/b]

          [u]domain.xml on PC2 (GF 2.1) - send JMS message[/u]
     [b]<jms-service addresslist-behavior="random" addresslist-iterations="3" default-jms-host="default_JMS_host" init-timeout-in-seconds="60" reconnect-attempts="3" reconnect-enabled="true" reconnect-interval-in-seconds="5" type="EMBEDDED">
        <jms-host admin-password="admin" admin-user-name="admin" host="PC2.disney.com" name="default_JMS_host" port="7676"/>
      </jms-service>[/b]

Thanks,

Nigel
[Message sent by forum member 'htran_888']

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