uima-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jörn Kottmann <kottm...@gmail.com>
Subject Re: UIMA AS Client with failover broker url which contains randomize option
Date Tue, 10 Nov 2009 12:17:53 GMT
Jörn Kottmann wrote:
> Hi,
>
> I tried to configure the client with a broker failover url and
> got the following exception over at a worker node:
> 11/10/09 1:39:24 AM - 43: 
> org.apache.uima.adapter.jms.activemq.JmsEndpointConnection_impl.openChannel: 
> INFO: Controller: XXXX Establishing New Shared Connection To Endpoint: 
> ID:XXXXXXX-42012-1257420872886-0:0:2 Managed By Broker: 
> tcp://XXX2:61616)?randomize=false
> 11/10/09 1:39:24 AM - 43: 
> org.apache.uima.adapter.jms.activemq.JmsEndpointConnection_impl.handleJmsException: 
> INFO: Thread: XXXX Exception:javax.jms.JMSException: Could not create 
> Transport. Reason: java.lang.IllegalArgumentException: Invalid connect 
> parameters: {randomize=false}
Here is the stack trace for the IlegalArgumentException:

org.apache.uima.aae.error.AsynchAEException: javax.jms.JMSException: 
Could not create Transport. Reason: java.lang.IllegalArgumentException: 
Invalid connect parameters: {randomize=false}
    at 
org.apache.uima.adapter.jms.activemq.JmsEndpointConnection_impl.openChannel(JmsEndpointConnection_impl.java:284)
    at 
org.apache.uima.adapter.jms.activemq.JmsEndpointConnection_impl.openChannel(JmsEndpointConnection_impl.java:147)
    at 
org.apache.uima.adapter.jms.activemq.JmsEndpointConnection_impl.open(JmsEndpointConnection_impl.java:301)
    at 
org.apache.uima.adapter.jms.activemq.JmsEndpointConnection_impl.open(JmsEndpointConnection_impl.java:290)
    at 
org.apache.uima.adapter.jms.activemq.JmsOutputChannel.getEndpointConnection(JmsOutputChannel.java:493)
    at 
org.apache.uima.adapter.jms.activemq.JmsOutputChannel.sendReply(JmsOutputChannel.java:1153)
    at 
org.apache.uima.aae.controller.BaseAnalysisEngineController.sendMetadata(BaseAnalysisEngineController.java:2627)
    at 
org.apache.uima.aae.controller.AggregateAnalysisEngineController_impl.sendMetadata(AggregateAnalysisEngineController_impl.java:2585)
    at 
org.apache.uima.aae.handler.input.MetadataRequestHandler_impl.handle(MetadataRequestHandler_impl.java:69)
    at 
org.apache.uima.adapter.jms.activemq.JmsInputChannel.onMessage(JmsInputChannel.java:643)
    at 
org.springframework.jms.listener.AbstractMessageListenerContainer.doInvokeListener(AbstractMessageListenerContainer.java:518)
    at 
org.springframework.jms.listener.AbstractMessageListenerContainer.invokeListener(AbstractMessageListenerContainer.java:479)
    at 
org.springframework.jms.listener.AbstractMessageListenerContainer.doExecuteListener(AbstractMessageListenerContainer.java:451)
    at 
org.springframework.jms.listener.AbstractPollingMessageListenerContainer.doReceiveAndExecute(AbstractPollingMessageListenerContainer.java:323)
    at 
org.springframework.jms.listener.AbstractPollingMessageListenerContainer.receiveAndExecute(AbstractPollingMessageListenerContainer.java:261)
    at 
org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.invokeListener(DefaultMessageListenerContainer.java:982)
    at 
org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.executeOngoingLoop(DefaultMessageListenerContainer.java:974)
    at 
org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.run(DefaultMessageListenerContainer.java:876)
    at java.lang.Thread.run(Thread.java:619)
Caused by: javax.jms.JMSException: Could not create Transport. Reason: 
java.lang.IllegalArgumentException: Invalid connect parameters: 
{randomize=false}
    at 
org.apache.activemq.util.JMSExceptionSupport.create(JMSExceptionSupport.java:35)
    at 
org.apache.activemq.ActiveMQConnectionFactory.createTransport(ActiveMQConnectionFactory.java:242)
    at 
org.apache.activemq.ActiveMQConnectionFactory.createActiveMQConnection(ActiveMQConnectionFactory.java:255)
    at 
org.apache.activemq.ActiveMQConnectionFactory.createActiveMQConnection(ActiveMQConnectionFactory.java:227)
    at 
org.apache.activemq.ActiveMQConnectionFactory.createConnection(ActiveMQConnectionFactory.java:175)
    at 
org.apache.uima.adapter.jms.activemq.JmsEndpointConnection_impl.openChannel(JmsEndpointConnection_impl.java:195)
    ... 18 more
Caused by: java.lang.IllegalArgumentException: Invalid connect 
parameters: {randomize=false}
    at 
org.apache.activemq.transport.TransportFactory.doConnect(TransportFactory.java:144)
    at 
org.apache.activemq.transport.TransportFactory.doConnect(TransportFactory.java:51)
    at 
org.apache.activemq.transport.TransportFactory.connect(TransportFactory.java:80)
    at 
org.apache.activemq.ActiveMQConnectionFactory.createTransport(ActiveMQConnectionFactory.java:240)
    ... 22 more


Mime
View raw message