Hi,
They could indeed be connected but it's hard to say. Inventory in Alpha6 will
emit more info in such situations but unfortunately in Alpha5 there's no way
of getting more info about inventory init failures from the logs.
As for the ports that need to be open, I believe we need 8080, 9042 and 9160.
The former is for the http interface and the latter two for Cassandra and
Cassandra RPC servers.
On Monday, October 19, 2015 16:44:44 Luba Roitman wrote:
Hi,
I am having problems installing Hawkular Alpha 5 on Windows, but before I
delve into describing them, I am wondering as to whether Docker install
option is going to be available soon? That would indeed be helpful. As for
the Windows install problem, after I downloaded Alpha 5 and run
standalone.bat I have the following exceptions in the server.log (excerpts
here, more stacktrace in the end of the email)
jboss.serverManagement.controller.management.http: WFLYSRV0083: Failed to
start the http-interface service Caused by: java.lang.RuntimeException:
java.net.BindException: Address already in use: bind And then2015-10-18
13:01:53,226 WARN [org.hawkular.inventory.cdi] (ServerService Thread Pool
-- 68) HAWKINV003501: Inventory backend failed to initialize in an attempt
5 of 5.2015-10-18 13:01:54,236 ERROR [org.jboss.msc.service.fail]
(ServerService Thread Pool -- 68) MSC000001: Failed to start service
jboss.deployment.unit."hawkular-inventory-dist.war".component.InventoryJNDI
Publisher.START: org.jboss.msc.service.StartException in service
jboss.deployment.unit."hawkular-inventory-dist.war".component.InventoryJNDI
Publisher.START: java.lang.IllegalStateException: WFLYEE0042: Failed to
construct component instanceCaused by: javax.ejb.EJBException:
java.lang.IllegalStateException: Could not initialize inventory.Caused by:
java.lang.IllegalStateException: Could not initialize inventory.
Do you think these two could be connected? I can't think of any source for
binding address conflict, I start Hawkular the first thing after the laptop
restart, so don't run any local http servers. It is also not clear what is
the reason for inventory initialization problem, the log doesn't indicate
any wrong before throwing error. I am running Windows 8.1 64bit
Would appreciate any input!
Respectfully, Luba Roitman.
-------------2015-10-18 13:01:33,144 ERROR [org.jboss.msc.service.fail] (MSC
service thread 1-4) MSC000001: Failed to start service
jboss.serverManagement.controller.management.http:
org.jboss.msc.service.StartException in service
jboss.serverManagement.controller.management.http: WFLYSRV0083: Failed to
start the http-interface service at
org.jboss.as.server.mgmt.UndertowHttpManagementService.start(UndertowHttpMa
nagementService.java:269) at
org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceC
ontrollerImpl.java:1948) at
org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceController
Impl.java:1881) at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1
142) at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:
617) at java.lang.Thread.run(Thread.java:745)Caused by:
java.lang.RuntimeException: java.net.BindException: Address already in use:
bind at
org.jboss.as.domain.http.server.ManagementHttpServer.start(ManagementHttpSe
rver.java:160) at
org.jboss.as.server.mgmt.UndertowHttpManagementService.start(UndertowHttpMa
nagementService.java:235) ... 5 moreCaused by: java.net.BindException:
Address already in use: bind at sun.nio.ch.Net.bind0(Native Method) at
sun.nio.ch.Net.bind(Net.java:433)------------------ 2015-10-18 13:01:53,226
WARN [org.hawkular.inventory.cdi] (ServerService Thread Pool -- 68)
HAWKINV003501: Inventory backend failed to initialize in an attempt 5 of
5.2015-10-18 13:01:54,236 ERROR [org.jboss.msc.service.fail] (ServerService
Thread Pool -- 68) MSC000001: Failed to start service
jboss.deployment.unit."hawkular-inventory-dist.war".component.InventoryJNDI
Publisher.START: org.jboss.msc.service.StartException in service
jboss.deployment.unit."hawkular-inventory-dist.war".component.InventoryJNDI
Publisher.START: java.lang.IllegalStateException: WFLYEE0042: Failed to
construct component instance at
org.jboss.as.ee.component.ComponentStartService$1.run(ComponentStartService
.java:57) at
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at
java.util.concurrent.FutureTask.run(FutureTask.java:266) at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1
142) at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:
617) at java.lang.Thread.run(Thread.java:745) at
org.jboss.threads.JBossThread.run(JBossThread.java:320)Caused by:
java.lang.IllegalStateException: WFLYEE0042: Failed to construct component
instance at
org.jboss.as.ee.component.BasicComponent.constructComponentInstance(BasicCo
mponent.java:163) at
org.jboss.as.ee.component.BasicComponent.constructComponentInstance(BasicCo
mponent.java:134) at
org.jboss.as.ee.component.BasicComponent.createInstance(BasicComponent.java
:88) at
org.jboss.as.ejb3.component.singleton.SingletonComponent.getComponentInstan
ce(SingletonComponent.java:122) at
org.jboss.as.ejb3.component.singleton.SingletonComponent.start(SingletonCom
ponent.java:136) at
org.jboss.as.ee.component.ComponentStartService$1.run(ComponentStartService
.java:54) ... 6 moreCaused by: javax.ejb.EJBException:
java.lang.IllegalStateException: Could not initialize inventory. at
org.jboss.as.ejb3.tx.CMTTxInterceptor.handleExceptionInOurTx(CMTTxIntercept
or.java:187) at
org.jboss.as.ejb3.tx.CMTTxInterceptor.invokeInOurTx(CMTTxInterceptor.java:2
77) at
org.jboss.as.ejb3.tx.CMTTxInterceptor.requiresNew(CMTTxInterceptor.java:349
) at
org.jboss.as.ejb3.tx.LifecycleCMTTxInterceptor.processInvocation(LifecycleC
MTTxInterceptor.java:66) at
org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340
) at
org.jboss.as.weld.injection.WeldInjectionContextInterceptor.processInvocati
on(WeldInjectionContextInterceptor.java:43) at
org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340
) at
org.jboss.as.ejb3.component.interceptors.CurrentInvocationContextIntercepto
r.processInvocation(CurrentInvocationContextInterceptor.java:41) at
org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340
) at
org.jboss.as.ee.concurrent.ConcurrentContextInterceptor.processInvocation(C
oncurrentContextInterceptor.java:45) at
org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340
) at
org.jboss.invocation.ContextClassLoaderInterceptor.processInvocation(Contex
tClassLoaderInterceptor.java:64) at
org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340
) at
org.jboss.invocation.InterceptorContext.run(InterceptorContext.java:356) at
org.jboss.invocation.PrivilegedWithCombinerInterceptor.processInvocation(Pr
ivilegedWithCombinerInterceptor.java:80) at
org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340
) at
org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedIntercepto
r.java:61) at
org.jboss.as.ee.component.BasicComponent.constructComponentInstance(BasicCo
mponent.java:161) ... 11 moreCaused by: java.lang.IllegalStateException:
Could not initialize inventory. at
org.hawkular.inventory.cdi.OfficialInventoryProducer.initInventory(Official
InventoryProducer.java:115) at
org.hawkular.inventory.cdi.OfficialInventoryProducer.getInventory(OfficialI
nventoryProducer.java:64) at
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:6
2) at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImp
l.java:43) at java.lang.reflect.Method.invoke(Method.java:497) at
org.jboss.weld.injection.StaticMethodInjectionPoint.invoke(StaticMethodInje
ctionPoint.java:88) at
org.jboss.weld.injection.StaticMethodInjectionPoint.invoke(StaticMethodInje
ctionPoint.java:78) at
org.jboss.weld.injection.producer.ProducerMethodProducer.produce(ProducerMe
thodProducer.java:95) at
org.jboss.weld.injection.producer.AbstractMemberProducer.produce(AbstractMe
mberProducer.java:167) at
org.jboss.weld.bean.AbstractProducerBean.create(AbstractProducerBean.java:1
83) at org.jboss.weld.context.AbstractContext.get(AbstractContext.java:96)
at
org.jboss.weld.bean.ContextualInstanceStrategy$DefaultContextualInstanceStr
ategy.get(ContextualInstanceStrategy.java:101) at
org.jboss.weld.bean.ContextualInstanceStrategy$ApplicationScopedContextualI
nstanceStrategy.get(ContextualInstanceStrategy.java:141) at
org.jboss.weld.bean.ContextualInstance.get(ContextualInstance.java:50) at
org.jboss.weld.manager.BeanManagerImpl.getReference(BeanManagerImpl.java:76
1) at
org.jboss.weld.manager.BeanManagerImpl.getInjectableReference(BeanManagerIm
pl.java:861) at
org.jboss.weld.injection.FieldInjectionPoint.inject(FieldInjectionPoint.jav
a:92) at org.jboss.weld.util.Beans.injectBoundFields(Beans.java:375) at
org.jboss.weld.util.Beans.injectFieldsAndInitializers(Beans.java:386) at
org.jboss.weld.injection.producer.DefaultInjector$1.proceed(DefaultInjector
.java:71) at
org.jboss.weld.injection.InjectionContextImpl.run(InjectionContextImpl.java
:48) at
org.jboss.weld.injection.producer.DefaultInjector.inject(DefaultInjector.ja
va:73) at
org.jboss.weld.injection.producer.ejb.SessionBeanInjectionTarget.inject(Ses
sionBeanInjectionTarget.java:140) at
org.jboss.as.weld.injection.WeldInjectionContext.inject(WeldInjectionContex
t.java:39) at
org.jboss.as.weld.injection.WeldInjectionInterceptor.processInvocation(Weld
InjectionInterceptor.java:51) at
org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340
) at
org.jboss.as.ee.component.AroundConstructInterceptorFactory$1.processInvoca
tion(AroundConstructInterceptorFactory.java:28) at
org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340
) at
org.jboss.as.weld.injection.WeldInterceptorInjectionInterceptor.processInvo
cation(WeldInterceptorInjectionInterceptor.java:56) at
org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340
) at
org.jboss.as.weld.ejb.Jsr299BindingsCreateInterceptor.processInvocation(Jsr
299BindingsCreateInterceptor.java:100) at
org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340
) at
org.jboss.as.ee.component.NamespaceContextInterceptor.processInvocation(Nam
espaceContextInterceptor.java:50) at
org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340
) at
org.jboss.as.ejb3.tx.CMTTxInterceptor.invokeInOurTx(CMTTxInterceptor.java:2
75) ... 27 more 2015-10-18 13:01:54,251 ERROR
[org.jboss.as.controller.management-operation] (Controller Boot Thread)
WFLYCTL0013: Operation ("add") failed - address: ([
("core-service" =>
"management"), ("management-interface" =>
"http-interface")]) - failure
description: {"WFLYCTL0080: Failed services" =>
{"jboss.serverManagement.controller.management.http" =>
"org.jboss.msc.service.StartException in service
jboss.serverManagement.controller.management.http: WFLYSRV0083: Failed to
start the http-interface service Caused by: java.lang.RuntimeException:
java.net.BindException: Address already in use: bind Caused by:
java.net.BindException: Address already in use: bind"}}2015-10-18
13:01:54,251 ERROR [org.jboss.as.controller.management-operation]
(Controller Boot Thread) WFLYCTL0013: Operation ("add") failed - address:
([("deployment" => "hawkular-inventory-dist.war")]) - failure
description:
{"WFLYCTL0080: Failed services" =>
{"jboss.deployment.unit.\"hawkular-inventory-dist.war\".component.Inventory
JNDIPublisher.START" => "org.jboss.msc.service.StartException in service
jboss.deployment.unit.\"hawkular-inventory-dist.war\".component.InventoryJN
DIPublisher.START: java.lang.IllegalStateException: WFLYEE0042: Failed to
construct component instance Caused by: java.lang.IllegalStateException:
WFLYEE0042: Failed to construct component instance Caused by:
javax.ejb.EJBException: java.lang.IllegalStateException: Could not
initialize inventory. Caused by: java.lang.IllegalStateException: Could
not initialize inventory."}}2015-10-18 13:01:54,251 ERROR
[org.jboss.as.controller.management-operation] (Controller Boot Thread)
WFLYCTL0013: Operation ("add") failed - address: ([("deployment"
=>
"hawkular-metrics-api-jaxrs.war")]) - failure description: {"WFLYCTL0080:
Failed services" =>
{"jboss.deployment.unit.\"hawkular-inventory-dist.war\".component.Inventory
JNDIPublisher.START" => "org.jboss.msc.service.StartException in service
jboss.deployment.unit.\"hawkular-inventory-dist.war\".component.InventoryJN
DIPublisher.START: java.lang.IllegalStateException: WFLYEE0042: Failed to
construct component instance Caused by: java.lang.IllegalStateException:
WFLYEE0042: Failed to construct component instance Caused by:
javax.ejb.EJBException: java.lang.IllegalStateException: Could not
initialize inventory. Caused by: java.lang.IllegalStateException: Could
not initialize inventory."}}2015-10-18 13:01:54,251 ERROR
[org.jboss.as.controller.management-operation] (Controller Boot Thread)
WFLYCTL0013: Operation ("add") failed - address: ([("deployment"
=>
"hawkular-pinger.war")]) - failure description: {"WFLYCTL0080: Failed
services" =>
{"jboss.deployment.unit.\"hawkular-inventory-dist.war\".component.Inventory
JNDIPublisher.START" => "org.jboss.msc.service.StartException in service
jboss.deployment.unit.\"hawkular-inventory-dist.war\".component.InventoryJN
DIPublisher.START: java.lang.IllegalStateException: WFLYEE0042: Failed to
construct component instance Caused by: java.lang.IllegalStateException:
WFLYEE0042: Failed to construct component instance Caused by:
javax.ejb.EJBException: java.lang.IllegalStateException: Could not
initialize inventory. Caused by: java.lang.IllegalStateException: Could
not initialize inventory."}}2015-10-18 13:01:54,267 ERROR
[org.jboss.as.controller.management-operation] (Controller Boot Thread)
WFLYCTL0013: Operation ("add") failed - address: ([("deployment"
=>
"hawkular-redhat-access-integration-backend.war")]) - failure description:
{"WFLYCTL0080: Failed services" =>
{"jboss.deployment.unit.\"hawkular-inventory-dist.war\".component.Inventory
JNDIPublisher.START" => "org.jboss.msc.service.StartException in service
jboss.deployment.unit.\"hawkular-inventory-dist.war\".component.InventoryJN
DIPublisher.START: java.lang.IllegalStateException: WFLYEE0042: Failed to
construct component instance Caused by: java.lang.IllegalStateException:
WFLYEE0042: Failed to construct component instance Caused by:
javax.ejb.EJBException: java.lang.IllegalStateException: Could not
initialize inventory. Caused by: java.lang.IllegalStateException: Could
not initialize inventory."}}