-
Bug
-
Resolution: Done
-
Major
-
None
-
None
Steps to reproduce: Start a Hawkular instance built from current master (commit d0fccee892d53e2a5b18950a83ef0b1973d55be6 ) and start with
standalone.sh -c standalone-itest.xml -Djboss.socket.binding.port-offset=100
Expected: WF Monitor should start without errors
Found:
2015-05-29 15:05:15,841 INFO [org.hawkular.agent.monitor] (Controller Boot Thread) HAWKMONITOR010000: Starting Hawkular Monitor service 2015-05-29 15:05:16,084 ERROR [org.hawkular.agent.monitor.service.MonitorService] (Controller Boot Thread) Can't do anything without a feed; aborting startup.: java.lang.RuntimeException: Cannot get tenant ID at org.hawkular.agent.monitor.service.MonitorService.determineTenantId(MonitorService.java:667) at org.hawkular.agent.monitor.service.MonitorService.startMonitorService(MonitorService.java:235) at org.hawkular.agent.monitor.service.MonitorService$1.propertyChange(MonitorService.java:206) at java.beans.PropertyChangeSupport.fire(PropertyChangeSupport.java:335) [rt.jar:1.8.0_11] at java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:327) [rt.jar:1.8.0_11] at java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:263) [rt.jar:1.8.0_11] at org.jboss.as.controller.ControlledProcessStateService.stateChanged(ControlledProcessStateService.java:114) [wildfly-controller-8.2.0.Final.jar:8.2.0.Final] at org.jboss.as.controller.ControlledProcessState.setRunning(ControlledProcessState.java:115) [wildfly-controller-8.2.0.Final.jar:8.2.0.Final] at org.jboss.as.controller.AbstractControllerService$1.run(AbstractControllerService.java:265) [wildfly-controller-8.2.0.Final.jar:8.2.0.Final] at java.lang.Thread.run(Thread.java:745) [rt.jar:1.8.0_11] Caused by: org.apache.http.conn.HttpHostConnectException: Connection to http://127.0.0.0:8080 refused at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:190) at org.apache.http.impl.conn.ManagedClientConnectionImpl.open(ManagedClientConnectionImpl.java:294) at org.apache.http.impl.client.DefaultRequestDirector.tryConnect(DefaultRequestDirector.java:640) at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:479) at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:906) at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:805) at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:784) at org.hawkular.agent.monitor.service.MonitorService.determineTenantId(MonitorService.java:652) ... 9 more Caused by: java.net.ConnectException: Connection refused at java.net.PlainSocketImpl.socketConnect(Native Method) [rt.jar:1.8.0_11] at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:345) [rt.jar:1.8.0_11] at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:204) [rt.jar:1.8.0_11] at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188) [rt.jar:1.8.0_11] at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392) [rt.jar:1.8.0_11] at java.net.Socket.connect(Socket.java:589) [rt.jar:1.8.0_11] at org.apache.http.conn.scheme.PlainSocketFactory.connectSocket(PlainSocketFactory.java:127) at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:180) ... 16 more