activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rlperry <rpe...@lvgi.com>
Subject Re: Composite Destinations and Hub&Spoke
Date Fri, 06 Jun 2008 14:46:32 GMT

    I had been doing some testing with Virtual Topics anyway since they were
my second pick, but I don't seem to be getting past the following error.

10:29:34,405 ERROR [Service] Async error occurred:
java.lang.IllegalArgumentException: The subscription does not exist:
ID:Chakapas.local-62549-1212762561733-2:0:-1:2
java.lang.IllegalArgumentException: The subscription does not exist:
ID:Chakapas.local-62549-1212762561733-2:0:-1:2
	at
org.apache.activemq.broker.region.AbstractRegion.acknowledge(AbstractRegion.java:357)
	at
org.apache.activemq.broker.region.RegionBroker.acknowledge(RegionBroker.java:470)
	at
org.apache.activemq.broker.TransactionBroker.acknowledge(TransactionBroker.java:194)
	at
org.apache.activemq.broker.BrokerFilter.acknowledge(BrokerFilter.java:73)
	at
org.apache.activemq.broker.BrokerFilter.acknowledge(BrokerFilter.java:73)
	at
org.apache.activemq.broker.MutableBrokerFilter.acknowledge(MutableBrokerFilter.java:84)
	at
org.apache.activemq.broker.TransportConnection.processMessageAck(TransportConnection.java:443)
	at org.apache.activemq.command.MessageAck.visit(MessageAck.java:196)
	at
org.apache.activemq.broker.TransportConnection.service(TransportConnection.java:292)
	at
org.apache.activemq.broker.TransportConnection$1.onCommand(TransportConnection.java:180)
	at
org.apache.activemq.transport.ResponseCorrelator.onCommand(ResponseCorrelator.java:104)
	at
org.apache.activemq.transport.TransportFilter.onCommand(TransportFilter.java:68)
	at
org.apache.activemq.transport.vm.VMTransport.iterate(VMTransport.java:205)
	at
org.apache.activemq.thread.PooledTaskRunner.runTask(PooledTaskRunner.java:122)
	at
org.apache.activemq.thread.PooledTaskRunner$1.run(PooledTaskRunner.java:43)
	at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
	at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
	at java.lang.Thread.run(Thread.java:613)


I seem to not be the first person to run into this problem

https://issues.apache.org/activemq/browse/AMQ-1763

but I am not really seeing a fix or work around.  At first I thought it may
have something to do with my JBoss configuration, but I can create the same
error using the consumer/producer examples.

TERM1:

ant consumer -Durl=tcp://localhost:51616 -Dtopic=false
-Dsubject=Consumer.TEST.VirtualTopic.FOO

TERM2:

ant producer -Durl=tcp://localhost:51616 -Dtopic=true
-Dsubject=VirtualTopic.FOO -Dmax=10

TERM1:

consumer:
     [echo] Running consumer against server at $url = tcp://localhost:51616
for subject $subject = Consumer.TEST.VirtualTopic.FOO
     [java] Connecting to URL: tcp://localhost:51616
     [java] Consuming queue: Consumer.TEST.VirtualTopic.FOO
     [java] Using a non-durable subscription
     [java] We are about to wait until we consume: 2000 message(s) then we
will shutdown
     [java] Received: Message: 0 sent at: Fri Jun 06 10:38:58 EDT 2008  ...
     [java] Received: Message: 1 sent at: Fri Jun 06 10:38:58 EDT 2008  ...
     [java] Received: Message: 2 sent at: Fri Jun 06 10:38:58 EDT 2008  ...
     [java] Received: Message: 3 sent at: Fri Jun 06 10:38:58 EDT 2008  ...
     [java] Received: Message: 4 sent at: Fri Jun 06 10:38:58 EDT 2008  ...
     [java] Received: Message: 5 sent at: Fri Jun 06 10:38:58 EDT 2008  ...
     [java] Received: Message: 6 sent at: Fri Jun 06 10:38:58 EDT 2008  ...
     [java] Received: Message: 7 sent at: Fri Jun 06 10:38:58 EDT 2008  ...
     [java] Received: Message: 8 sent at: Fri Jun 06 10:38:58 EDT 2008  ...
     [java] Received: Message: 9 sent at: Fri Jun 06 10:38:58 EDT 2008  ...
     [java] JMS Exception occured.  Shutting down client.
     [java] JMS Exception occured.  Shutting down client.
     [java] JMS Exception occured.  Shutting down client.
     [java] JMS Exception occured.  Shutting down client.
     [java] JMS Exception occured.  Shutting down client.
     [java] JMS Exception occured.  Shutting down client.
     [java] JMS Exception occured.  Shutting down client.
     [java] JMS Exception occured.  Shutting down client.
     [java] JMS Exception occured.  Shutting down client.
     [java] JMS Exception occured.  Shutting down client.
     [java] Closing connection

Which is pretty much a less verbose version of what happens with my JBoss
service.



-- 
View this message in context: http://www.nabble.com/Composite-Destinations-and-Hub-Spoke-tp17676597s2354p17693918.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Mime
View raw message