[Hawkular-dev] Problems installing Alpha 5 on Windows

Luba Roitman l_roitman at yahoo.com
Mon Oct 19 13:36:28 EDT 2015


Thanks a lot Jay, 
I'll try that and let you know if helped.And very good news about M6, looking forward to it!
Thanks Luba.
      From: Jay Shaughnessy <jshaughn at redhat.com>
 To: hawkular-dev at lists.jboss.org 
 Sent: Monday, October 19, 2015 12:29 PM
 Subject: Re: [Hawkular-dev] Problems installing Alpha 5 on Windows
   
 
 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  atorg.jboss.as.server.mgmt.UndertowHttpManagementService.start(UndertowHttpManagementService.java:269)  atorg.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1948)  atorg.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1881)  atjava.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)  atjava.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  atorg.jboss.as.domain.http.server.ManagementHttpServer.start(ManagementHttpServer.java:160)  atorg.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  atorg.jboss.as.ee.component.ComponentStartService$1.run(ComponentStartService.java:57)  atjava.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)  atjava.util.concurrent.FutureTask.run(FutureTask.java:266)  atjava.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)  atjava.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)  at java.lang.Thread.run(Thread.java:745)  atorg.jboss.threads.JBossThread.run(JBossThread.java:320) Caused by: java.lang.IllegalStateException: WFLYEE0042: Failed to construct component instance  atorg.jboss.as.ee.component.BasicComponent.constructComponentInstance(BasicComponent.java:163)  atorg.jboss.as.ee.component.BasicComponent.constructComponentInstance(BasicComponent.java:134)  atorg.jboss.as.ee.component.BasicComponent.createInstance(BasicComponent.java:88)  atorg.jboss.as.ejb3.component.singleton.SingletonComponent.getComponentInstance(SingletonComponent.java:122)  atorg.jboss.as.ejb3.component.singleton.SingletonComponent.start(SingletonComponent.java:136)  atorg.jboss.as.ee.component.ComponentStartService$1.run(ComponentStartService.java:54)  ... 6 more Caused by: javax.ejb.EJBException: java.lang.IllegalStateException: Could not initialize inventory.  atorg.jboss.as.ejb3.tx.CMTTxInterceptor.handleExceptionInOurTx(CMTTxInterceptor.java:187)  atorg.jboss.as.ejb3.tx.CMTTxInterceptor.invokeInOurTx(CMTTxInterceptor.java:277)  atorg.jboss.as.ejb3.tx.CMTTxInterceptor.requiresNew(CMTTxInterceptor.java:349)  atorg.jboss.as.ejb3.tx.LifecycleCMTTxInterceptor.processInvocation(LifecycleCMTTxInterceptor.java:66)  atorg.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)  atorg.jboss.as.weld.injection.WeldInjectionContextInterceptor.processInvocation(WeldInjectionContextInterceptor.java:43)  atorg.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)  atorg.jboss.as.ejb3.component.interceptors.CurrentInvocationContextInterceptor.processInvocation(CurrentInvocationContextInterceptor.java:41)  atorg.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)  atorg.jboss.as.ee.concurrent.ConcurrentContextInterceptor.processInvocation(ConcurrentContextInterceptor.java:45)  atorg.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)  atorg.jboss.invocation.ContextClassLoaderInterceptor.processInvocation(ContextClassLoaderInterceptor.java:64)  atorg.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)  atorg.jboss.invocation.InterceptorContext.run(InterceptorContext.java:356)  atorg.jboss.invocation.PrivilegedWithCombinerInterceptor.processInvocation(PrivilegedWithCombinerInterceptor.java:80)  atorg.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)  atorg.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61) atorg.jboss.as.ee.component.BasicComponent.constructComponentInstance(BasicComponent.java:161)  ... 11 more Caused by: java.lang.IllegalStateException: Could not initialize inventory.  atorg.hawkular.inventory.cdi.OfficialInventoryProducer.initInventory(OfficialInventoryProducer.java:115)  atorg.hawkular.inventory.cdi.OfficialInventoryProducer.getInventory(OfficialInventoryProducer.java:64)  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)  atsun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)  atsun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)  atjava.lang.reflect.Method.invoke(Method.java:497)  atorg.jboss.weld.injection.StaticMethodInjectionPoint.invoke(StaticMethodInjectionPoint.java:88)  atorg.jboss.weld.injection.StaticMethodInjectionPoint.invoke(StaticMethodInjectionPoint.java:78)  atorg.jboss.weld.injection.producer.ProducerMethodProducer.produce(ProducerMethodProducer.java:95)  atorg.jboss.weld.injection.producer.AbstractMemberProducer.produce(AbstractMemberProducer.java:167)  atorg.jboss.weld.bean.AbstractProducerBean.create(AbstractProducerBean.java:183)  atorg.jboss.weld.context.AbstractContext.get(AbstractContext.java:96)  atorg.jboss.weld.bean.ContextualInstanceStrategy$DefaultContextualInstanceStrategy.get(ContextualInstanceStrategy.java:101)  atorg.jboss.weld.bean.ContextualInstanceStrategy$ApplicationScopedContextualInstanceStrategy.get(ContextualInstanceStrategy.java:141)  atorg.jboss.weld.bean.ContextualInstance.get(ContextualInstance.java:50)  atorg.jboss.weld.manager.BeanManagerImpl.getReference(BeanManagerImpl.java:761)  atorg.jboss.weld.manager.BeanManagerImpl.getInjectableReference(BeanManagerImpl.java:861)  atorg.jboss.weld.injection.FieldInjectionPoint.inject(FieldInjectionPoint.java:92)  atorg.jboss.weld.util.Beans.injectBoundFields(Beans.java:375)  atorg.jboss.weld.util.Beans.injectFieldsAndInitializers(Beans.java:386)  atorg.jboss.weld.injection.producer.DefaultInjector$1.proceed(DefaultInjector.java:71)  atorg.jboss.weld.injection.InjectionContextImpl.run(InjectionContextImpl.java:48)  atorg.jboss.weld.injection.producer.DefaultInjector.inject(DefaultInjector.java:73)  atorg.jboss.weld.injection.producer.ejb.SessionBeanInjectionTarget.inject(SessionBeanInjectionTarget.java:140)  atorg.jboss.as.weld.injection.WeldInjectionContext.inject(WeldInjectionContext.java:39)  atorg.jboss.as.weld.injection.WeldInjectionInterceptor.processInvocation(WeldInjectionInterceptor.java:51)  atorg.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)  atorg.jboss.as.ee.component.AroundConstructInterceptorFactory$1.processInvocation(AroundConstructInterceptorFactory.java:28)  atorg.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)  atorg.jboss.as.weld.injection.WeldInterceptorInjectionInterceptor.processInvocation(WeldInterceptorInjectionInterceptor.java:56)  atorg.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)  atorg.jboss.as.weld.ejb.Jsr299BindingsCreateInterceptor.processInvocation(Jsr299BindingsCreateInterceptor.java:100)  atorg.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)  atorg.jboss.as.ee.component.NamespaceContextInterceptor.processInvocation(NamespaceContextInterceptor.java:50)  atorg.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)  atorg.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


  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/hawkular-dev/attachments/20151019/f0a7686e/attachment-0001.html 


More information about the hawkular-dev mailing list