I am trying to publish a message to a topic and have a MDB per Jonas pick it
up.

I started an instance of Joram on a server using the default a3server.xml.
Then I started two seperate Jonas instances on two seperate machines with
the following configuration:

jonas.jms.mom          org.objectweb.jonas_jms.JmsAdminForJoram
jonas.jms.collocated    false
jonas.jms.url          joram://server1:16010
jonas.jms.threadpoolsize       10
jonas.jms.topics nw.mom.topic.DtdReceiver


Each jonas has two EJB's. The KeyMatrix stateless session bean which
publishes to the nw.mom.topic.DtdReceiver
 topic, and the DtdReceiver bean which is a MDB bound to the
nw.mom.topic.DtdReceiver
 topic.

When I hit the KeyMatrix on server1, only server1's DtdReceiver receives a
new message. When I hit the KeyMatrix on server2, only the DtdReceiver on
server2 gets a new message.

Now I have stopped and started the JMS server to verify that both Jonas
instances are indeed pointed to the same joram server. (When I stop the
joram server, both Jonas' KeyMatrix beans throw errors).

I then tried starting a joram server on both server1 and server2 with the
following a3server.xml file:
<?xml version="1.0"?>
<!DOCTYPE config SYSTEM "../xml/a3config.dtd">
<config>
    <domain name="D1"/>
    <server id="0" name="S0" hostname="server11">
      <network domain="D1" port="11731"/>
      <service class="fr.dyade.aaa.mom.ConnectionFactory" args="16010"/>
    </server>
    <server id="1" name="S1" hostname="server2">
      <network domain="D1" port="11731"/>
      <service class="fr.dyade.aaa.mom.ConnectionFactory" args="16010"/>
    </server>
</config>

I was hoping that the 2 joram instances would then act together. I still
have the same reults, each published JMS message to a topic is only answered
by the MDB on the same machine. 

Does anyone have any ideas how I can get a MDB per Jonas to receive a
message published to the topic?

Thank you in advance,

Lucas McGregor([EMAIL PROTECTED])
NovaWorld Software Architect
--------------------------------
Java developers belong barefoot
and programming on Solaris!
--------------------------------



----
To unsubscribe, send email to [EMAIL PROTECTED] and
include in the body of the message "unsubscribe jonas-users".
For general help, send email to [EMAIL PROTECTED] and
include in the body of the message "help".

Reply via email to