[jboss-user] [JBoss Messaging] - Re: Message redistribution
martin.wickus
do-not-reply at jboss.com
Mon Feb 18 07:16:25 EST 2008
Disclaimer: I used my own queue (configured as per bottom of post)
I ran the test 5 times in a row:
1. Failure
2. Success
3. Success
4. Success
5. Failure
The two failures had the same error message:
C:\opt\downloads\jboss\jboss-messaging-1.4.0.SP3\jboss-messaging-1.4.0.SP3\examples\distributed-queue>ant -Djboss.home=C:\dev\abfo_home\DEV09\abf
o-1.2-clustering\abfo-jboss-1.2-clustering-dev-1 -Djboss.configuration0=abfo -Dexample.queue.name=OTL-LIFFEF-Send -Djava.naming.provider.url=jnp:
//10.142.204.77:59098ant -Djboss.home=C:\dev\abfo_home\DEV09\abfo-1.2-clustering\abfo-jboss-1.2-clustering-dev-1 -Djboss.configuration0=abfo -Dex
ample.queue.name=OTL-LIFFEF-Send
Buildfile: build.xml
identify:
[echo] ###########################################################################
[echo] # Running the DISTRIBUTED QUEUE example #
[echo] ###########################################################################
[echo] The queue: OTL-LIFFEF-Send
[echo] The client jar: ../..//jboss-messaging-client.jar
sanity-check:
init:
compile:
run:
[java] Distributed queue /queue/OTL-LIFFEF-Send exists
[java] The message was successfully sent to the distributed queue
[java] java.lang.NullPointerException
[java] at org.jboss.example.jms.distributedqueue.DistributedQueueExample.example(DistributedQueueExample.java:112)
[java] at org.jboss.example.jms.common.ExampleSupport.run(ExampleSupport.java:147)
[java] at org.jboss.example.jms.distributedqueue.DistributedQueueExample.main(DistributedQueueExample.java:167)
[java]
[java] #####################
[java] ### FAILURE! ###
[java] #####################
Queue configuration:
<!-- destinations for sending and receiving orders -->
<mbean code="org.jboss.jms.server.destination.QueueService"
name="jboss.messaging.destination:service=Queue,name=OTL-LIFFEF-Send-DLQ"
xmbean-dd="xmdesc/Queue-xmbean.xml">
<depends optional-attribute-name="ServerPeer">
jboss.messaging:service=ServerPeer
jboss.messaging:service=PostOffice
true
<mbean code="org.jboss.jms.server.destination.QueueService"
name="jboss.messaging.destination:service=Queue,name=OTL-LIFFEF-Send-ExpiryQueue"
xmbean-dd="xmdesc/Queue-xmbean.xml">
<depends optional-attribute-name="ServerPeer">
jboss.messaging:service=ServerPeer
jboss.messaging:service=PostOffice
true
<mbean code="org.jboss.jms.server.destination.QueueService"
name="jboss.messaging.destination:service=Queue,name=OTL-LIFFEF-Send"
xmbean-dd="xmdesc/Queue-xmbean.xml">
<depends optional-attribute-name="ServerPeer">
jboss.messaging:service=ServerPeer
jboss.messaging:service=PostOffice
jboss.messaging.destination:service=Queue,name=OTL-LIFFEF-Send-DLQ
jboss.messaging.destination:service=Queue,name=OTL-LIFFEF-Send-ExpiryQueue
true
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4130072#4130072
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4130072
More information about the jboss-user
mailing list