Greetings.

I am having difficulty with getting JMS working under
Orion in a clustered environment.

The general layout of the cluster is this,
1 (or more) Util machines, one of which is running the JMS server.
        -Run high-load utility programs that are listening 
         on various Queues for new jobs (basically offline
         batch processes)
1 Load Balancer machine
2 (or more) Web/App Servers.  Some "applications" will
        send messages to the Queues for execution "offline"
        by the listening utility programs.

Initially when I tried to set this up, I tried to have the
applications log into Queues in the cluster.  This
threw all kinds of weird exceptions, and also looked
like I would have to have one instance of each utility
program per running instance of Orion.  So I tried
moving all the Queues to the Utility server, and
running the Utility programs from there. I set
the jms.xml file (attached) to the IP address of
the Util box.  Unfortunately, the util apps are STILL 
not getting messages (which are sent by EJB's).

No errors are getting thrown, so I suspect that
the messages are being put on the local queues.

If anyone has any examples of how to set this up,
it would be greatly appreciated.

Thanks,
Steve
<?xml version="1.0"?>
<!DOCTYPE jms-server PUBLIC "Orion JMS server" "http://www.orionserver.com/dtds/jms-server.dtd";>

<!--
<jms-server port="9127">
-->
<jms-server port="9127">
        <xa-queue-connection-factory
            host="192.168.0.72"
            location="com.hrnexus.JMSFactory"
            password="hrnexus"
            username="user" />

	<!--	Queue bindings, these queues will be bound to their respective JNDI path for
		later retrieval -->
        <queue name="RFP Release Queue"
            location="com.hrnexus.RFPReleaseQueue"
            host="192.168.0.72"
            password="hrnexus"
            username="user" >
            <description>RFP Processing</description>
        </queue>

	<queue name="ImportJMSQueue"
            location="com.hrnexus.ImportJMSQueue"
            host="192.168.0.72"
            password="hrnexus"
            username="user" >
           <description>Importer Message Queue</description>
	</queue>

        <queue name="CustomerSetupMessages"
            location="com.hrnexus.CustSetupQueue"
            host="192.168.0.72"
            password="hrnexus"
            username="user" >
            <description>Customer Setup Information</description>
        </queue>
	<!--	Topic bindings, these topic will be bound to their respective JNDI path for
		later retrieval -->
        <!-- Not currently used
	<topic name="Demo Topic" location="jms/demoTopic">
		<description>A dummy topic</description>
	</topic>
        -->

	<!-- path to the log-file where JMS-events/errors are stored -->
	<log>
		<file path="../log/jms.log" />
	</log>
</jms-server>

Reply via email to