[Hawkular-dev] Problems installing Alpha 5 on Windows

Peter Palaga ppalaga at redhat.com
Tue Oct 20 03:07:06 EDT 2015


Given that we had such problems on Windows, I think it is time to setup 
a Windows CI. I could set up http://www.appveyor.com/ for Hawkular 
unless somebody wants to propose something else. I recently set up 
appveyor for srcdeps plugin. Tt was fairly easy, the VMs are faster than 
Travis. -- P

On 2015-10-19 19:29, Jay Shaughnessy wrote:
>
> There are two known issues in M5 on Windows. Both are path related and
> one of them kills the inventory deployment.  Both are fixed in M6, due
> out this week.
>   For M5 you need to do some work if you want to run on windows:
>
> You must replace occurrences of ${jboss.server.data.dir} 1) with the
> explicit Windows path, using *FORWARD SLASHES*.   For example, on my box
> it's:
>
> c:/work/hawkular/dist/target/hawkular1.0.0.Alpha6-SNAPSHOT/hawkular-1.0.0.Alpha6-SNAPSHOT/standalone/data
>
> First Occurence:
>
> <HawkularRoot>/standalone/configuration/standalone.xml
>
> Second Occurence:
>
>    This one is more difficult.  You need to unzip:
>
> <HawkularRoot>\modules\org\hawkular\nest\main\deployments\hawkular-inventory-dist.war
>
> Then, edit hawkular-inventory.properties, make the change, and rezip.
>
> I *think* it will then work for you.
>
> In M6 you should be able to just do the following.  On the command line
> start up like this:
>
>    ...\bin>standalone.bat
> -Dorg.hawkular.data.dir=<YourDataDirWithForwardSlashes>
>
>
>
> On 10/19/2015 12:44 PM, 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 then
>> 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.InventoryJNDIPublisher.START:
>> org.jboss.msc.service.StartException in service
>> jboss.deployment.unit."hawkular-inventory-dist.war".component.InventoryJNDIPublisher.START:
>> 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.
>>
>>
>> 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(UndertowHttpManagementService.java:269)
>> at
>> org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1948)
>> at
>> org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1881)
>> at
>> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
>> 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(ManagementHttpServer.java:160)
>> at
>> org.jboss.as.server.mgmt.UndertowHttpManagementService.start(UndertowHttpManagementService.java:235)
>> ... 5 more
>> Caused 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.InventoryJNDIPublisher.START:
>> org.jboss.msc.service.StartException in service
>> jboss.deployment.unit."hawkular-inventory-dist.war".component.InventoryJNDIPublisher.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:1142)
>> 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(BasicComponent.java:163)
>> at
>> org.jboss.as.ee.component.BasicComponent.constructComponentInstance(BasicComponent.java:134)
>> at
>> org.jboss.as.ee.component.BasicComponent.createInstance(BasicComponent.java:88)
>> at
>> org.jboss.as.ejb3.component.singleton.SingletonComponent.getComponentInstance(SingletonComponent.java:122)
>> at
>> org.jboss.as.ejb3.component.singleton.SingletonComponent.start(SingletonComponent.java:136)
>> at
>> org.jboss.as.ee.component.ComponentStartService$1.run(ComponentStartService.java:54)
>> ... 6 more
>> Caused by: javax.ejb.EJBException: java.lang.IllegalStateException:
>> Could not initialize inventory.
>> at
>> org.jboss.as.ejb3.tx.CMTTxInterceptor.handleExceptionInOurTx(CMTTxInterceptor.java:187)
>> at
>> org.jboss.as.ejb3.tx.CMTTxInterceptor.invokeInOurTx(CMTTxInterceptor.java:277)
>> at
>> org.jboss.as.ejb3.tx.CMTTxInterceptor.requiresNew(CMTTxInterceptor.java:349)
>> at
>> org.jboss.as.ejb3.tx.LifecycleCMTTxInterceptor.processInvocation(LifecycleCMTTxInterceptor.java:66)
>> at
>> org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
>> at
>> org.jboss.as.weld.injection.WeldInjectionContextInterceptor.processInvocation(WeldInjectionContextInterceptor.java:43)
>> at
>> org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
>> at
>> org.jboss.as.ejb3.component.interceptors.CurrentInvocationContextInterceptor.processInvocation(CurrentInvocationContextInterceptor.java:41)
>> at
>> org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
>> at
>> org.jboss.as.ee.concurrent.ConcurrentContextInterceptor.processInvocation(ConcurrentContextInterceptor.java:45)
>> at
>> org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
>> at
>> org.jboss.invocation.ContextClassLoaderInterceptor.processInvocation(ContextClassLoaderInterceptor.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(PrivilegedWithCombinerInterceptor.java:80)
>> at
>> org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
>> at
>> org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61)at
>> org.jboss.as.ee.component.BasicComponent.constructComponentInstance(BasicComponent.java:161)
>> ... 11 more
>> Caused by: java.lang.IllegalStateException: Could not initialize
>> inventory.
>> at
>> org.hawkular.inventory.cdi.OfficialInventoryProducer.initInventory(OfficialInventoryProducer.java:115)
>> at
>> org.hawkular.inventory.cdi.OfficialInventoryProducer.getInventory(OfficialInventoryProducer.java:64)
>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>> at
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>> at
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>> at java.lang.reflect.Method.invoke(Method.java:497)
>> at
>> org.jboss.weld.injection.StaticMethodInjectionPoint.invoke(StaticMethodInjectionPoint.java:88)
>> at
>> org.jboss.weld.injection.StaticMethodInjectionPoint.invoke(StaticMethodInjectionPoint.java:78)
>> at
>> org.jboss.weld.injection.producer.ProducerMethodProducer.produce(ProducerMethodProducer.java:95)
>> at
>> org.jboss.weld.injection.producer.AbstractMemberProducer.produce(AbstractMemberProducer.java:167)
>> at
>> org.jboss.weld.bean.AbstractProducerBean.create(AbstractProducerBean.java:183)
>> at org.jboss.weld.context.AbstractContext.get(AbstractContext.java:96)
>> at
>> org.jboss.weld.bean.ContextualInstanceStrategy$DefaultContextualInstanceStrategy.get(ContextualInstanceStrategy.java:101)
>> at
>> org.jboss.weld.bean.ContextualInstanceStrategy$ApplicationScopedContextualInstanceStrategy.get(ContextualInstanceStrategy.java:141)
>> at org.jboss.weld.bean.ContextualInstance.get(ContextualInstance.java:50)
>> at
>> org.jboss.weld.manager.BeanManagerImpl.getReference(BeanManagerImpl.java:761)
>> at
>> org.jboss.weld.manager.BeanManagerImpl.getInjectableReference(BeanManagerImpl.java:861)
>> at
>> org.jboss.weld.injection.FieldInjectionPoint.inject(FieldInjectionPoint.java: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.java:73)
>> at
>> org.jboss.weld.injection.producer.ejb.SessionBeanInjectionTarget.inject(SessionBeanInjectionTarget.java:140)
>> at
>> org.jboss.as.weld.injection.WeldInjectionContext.inject(WeldInjectionContext.java:39)
>> at
>> org.jboss.as.weld.injection.WeldInjectionInterceptor.processInvocation(WeldInjectionInterceptor.java:51)
>> at
>> org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
>> at
>> org.jboss.as.ee.component.AroundConstructInterceptorFactory$1.processInvocation(AroundConstructInterceptorFactory.java:28)
>> at
>> org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
>> at
>> org.jboss.as.weld.injection.WeldInterceptorInjectionInterceptor.processInvocation(WeldInterceptorInjectionInterceptor.java:56)
>> at
>> org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
>> at
>> org.jboss.as.weld.ejb.Jsr299BindingsCreateInterceptor.processInvocation(Jsr299BindingsCreateInterceptor.java:100)
>> at
>> org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
>> at
>> org.jboss.as.ee.component.NamespaceContextInterceptor.processInvocation(NamespaceContextInterceptor.java:50)
>> at
>> org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
>> at
>> org.jboss.as.ejb3.tx.CMTTxInterceptor.invokeInOurTx(CMTTxInterceptor.java:275)
>> ... 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.InventoryJNDIPublisher.START"
>> => "org.jboss.msc.service.StartException in service
>> jboss.deployment.unit.\"hawkular-inventory-dist.war\".component.InventoryJNDIPublisher.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.InventoryJNDIPublisher.START"
>> => "org.jboss.msc.service.StartException in service
>> jboss.deployment.unit.\"hawkular-inventory-dist.war\".component.InventoryJNDIPublisher.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.InventoryJNDIPublisher.START"
>> => "org.jboss.msc.service.StartException in service
>> jboss.deployment.unit.\"hawkular-inventory-dist.war\".component.InventoryJNDIPublisher.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.InventoryJNDIPublisher.START"
>> => "org.jboss.msc.service.StartException in service
>> jboss.deployment.unit.\"hawkular-inventory-dist.war\".component.InventoryJNDIPublisher.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."}}
>>
>>
>>
>>
>>
>>
>> _______________________________________________
>> hawkular-dev mailing list
>> hawkular-dev at lists.jboss.org
>> https://lists.jboss.org/mailman/listinfo/hawkular-dev
>
>
>
> _______________________________________________
> hawkular-dev mailing list
> hawkular-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/hawkular-dev
>



More information about the hawkular-dev mailing list