Description
Here is the waring that I get when I run a remote agent with configured context path:
INFO | jvm 1 | 2012/06/25 11:16:36 | 2012-06-25 11:16:35,923 WARN [ActiveMQ Task] [TcpTransportFactory] path isn't a valid local location for TcpTransport to use INFO | jvm 1 | 2012/06/25 11:16:36 | java.lang.NumberFormatException: For input string: "/bamboo2" INFO | jvm 1 | 2012/06/25 11:16:36 | at java.lang.NumberFormatException.forInputString(NumberFormatException.java:48) INFO | jvm 1 | 2012/06/25 11:16:36 | at java.lang.Integer.parseInt(Integer.java:449) INFO | jvm 1 | 2012/06/25 11:16:36 | at java.lang.Integer.parseInt(Integer.java:499) INFO | jvm 1 | 2012/06/25 11:16:36 | at org.apache.activemq.transport.tcp.TcpTransportFactory.createTransport(TcpTransportFactory.java:128) INFO | jvm 1 | 2012/06/25 11:16:36 | at org.apache.activemq.transport.TransportFactory.doCompositeConnect(TransportFactory.java:156) INFO | jvm 1 | 2012/06/25 11:16:36 | at org.apache.activemq.transport.TransportFactory.compositeConnect(TransportFactory.java:93) INFO | jvm 1 | 2012/06/25 11:16:36 | at org.apache.activemq.transport.failover.FailoverTransport.doReconnect(FailoverTransport.java:842) INFO | jvm 1 | 2012/06/25 11:16:36 | at org.apache.activemq.transport.failover.FailoverTransport$2.iterate(FailoverTransport.java:135) INFO | jvm 1 | 2012/06/25 11:16:36 | at org.apache.activemq.thread.PooledTaskRunner.runTask(PooledTaskRunner.java:122) INFO | jvm 1 | 2012/06/25 11:16:36 | at org.apache.activemq.thread.PooledTaskRunner$1.run(PooledTaskRunner.java:43) INFO | jvm 1 | 2012/06/25 11:16:36 | at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) INFO | jvm 1 | 2012/06/25 11:16:36 | at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) INFO | jvm 1 | 2012/06/25 11:16:36 | at java.lang.Thread.run(Thread.java:680)
Here is the Broker URI configuration part:
... <property name="bamboo.jms.broker.client.uri">failover:(tcp://127.0.0.1:54663/bamboo1?wireFormat.maxInactivityDuration=300000)?maxReconnectAttempts=10&initialReconnectDelay=15000</property> <property name="bamboo.jms.broker.uri">tcp://0.0.0.0:54663?wireFormat.maxInactivityDuration=300000</property> ...
I will make a note about this waring in this KB.
Even though Bamboo gives this warning, the remote agents load and get registered properly.