2 Replies Latest reply on Jul 27, 2016 6:37 AM by Mohamed El-masry

    How to Start multi JBPM server instance on same machine?

    Mohamed El-masry Newbie

      i'm trying to start multi JBPM server instance on my machine for different purposes.

      first i started with wildfly-8.1.0.Final and start it using wildfly-8.1.0.Final\bin\standalone.bat

      it ran normally and now i have one running server with jbpm-console.war

       

      then i took another copy from wildfly-8.1.0.Final and changed it's name to (wildfly-8.1.0.Final-Testing) but when i try to run it from wildfly-8.1.0.Final-Testing\bin\standalone.bat jbpm-console.war failed to deploy

       

      i tried some solution like below:

      1- Change all ports in wildfly-8.1.0.Final-Testing\standalone\configuration\standalone-full.xml  as it is my configuration file.

        - problem still as it is.

      2- Followed this question as my exceptions was same Google Groups

          - the problem still as it is and ports (8001-9418) didn't change. (i monitored ports using cmd command netstat -ao).

       

      i'm using windows 7 and exceptions like below

       

       

      11:56:25,885 ERROR [org.uberfire.java.nio.file.api.FileSystemProviders] (MSC service thread 1-3) Can't initialize FileSystemProviders: java.util.ServiceCon

      figurationError: org.uberfire.java.nio.file.spi.FileSystemProvider: Provider org.uberfire.java.nio.fs.jgit.JGitFileSystemProvider could not be instantiated

      : org.uberfire.java.nio.IOException: java.net.BindException: Address already in use: JVM_Bind

              at java.util.ServiceLoader.fail(ServiceLoader.java:224) [rt.jar:1.7.0_07]

              at java.util.ServiceLoader.access$100(ServiceLoader.java:181) [rt.jar:1.7.0_07]

              at java.util.ServiceLoader$LazyIterator.next(ServiceLoader.java:370) [rt.jar:1.7.0_07]

              at java.util.ServiceLoader$1.next(ServiceLoader.java:438) [rt.jar:1.7.0_07]

              at org.uberfire.java.nio.file.api.FileSystemProviders.buildProviders(FileSystemProviders.java:68) [uberfire-nio2-api-0.4.0-SNAPSHOT.jar:0.4.0-SNAPSHOT]

              at org.uberfire.java.nio.file.api.FileSystemProviders.<clinit>(FileSystemProviders.java:51) [uberfire-nio2-api-0.4.0-SNAPSHOT.jar:0.4.0-SNAPSHOT]

              at org.uberfire.io.impl.AbstractIOService.setAuthenticationManager(AbstractIOService.java:672) [uberfire-io-0.4.0-SNAPSHOT.jar:0.4.0-SNAPSHOT]

              at org.uberfire.backend.server.io.ConfigIOServiceProducer.setup(ConfigIOServiceProducer.java:96) [uberfire-backend-server-0.4.0-SNAPSHOT.jar:0.4.0-SNAPSHOT]

              at org.uberfire.backend.server.io.ConfigIOServiceProducer.init(ConfigIOServiceProducer.java:62) [uberfire-backend-server-0.4.0-SNAPSHOT.jar:0.4.0-SNAPSHOT]

              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.7.0_07]

              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) [rt.jar:1.7.0_07]

              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.7.0_07]

              at java.lang.reflect.Method.invoke(Method.java:601) [rt.jar:1.7.0_07]

              at org.jboss.weld.injection.producer.DefaultLifecycleCallbackInvoker.invokeMethods(DefaultLifecycleCallbackInvoker.java:89) [weld-core-impl-2.1.2.Final.jar:2014-01-09 09:23]

              at org.jboss.weld.injection.producer.DefaultLifecycleCallbackInvoker.postConstruct(DefaultLifecycleCallbackInvoker.java:72) [weld-core-impl-2.1.2.Final.jar:2014-01-09 09:23]

              at org.jboss.weld.injection.producer.BasicInjectionTarget.postConstruct(BasicInjectionTarget.java:95) [weld-core-impl-2.1.2.Final.jar:2014-01-09 09:23]

              at org.jboss.weld.injection.producer.BeanInjectionTarget.postConstruct(BeanInjectionTarget.java:63) [weld-core-impl-2.1.2.Final.jar:2014-01-09 09:23]

              at org.jboss.weld.bean.ManagedBean.create(ManagedBean.java:153) [weld-core-impl-2.1.2.Final.jar:2014-01-09 09:23]

              at org.jboss.weld.context.AbstractContext.get(AbstractContext.java:96) [weld-core-impl-2.1.2.Final.jar:2014-01-09 09:23]

              at org.jboss.weld.manager.BeanManagerImpl.getReference(BeanManagerImpl.java:733) [weld-core-impl-2.1.2.Final.jar:2014-01-09 09:23]

              at org.jboss.weld.injection.producer.AbstractMemberProducer.getReceiver(AbstractMemberProducer.java:128) [weld-core-impl-2.1.2.Final.jar:2014-01-09 09:23]

              at org.jboss.weld.injection.producer.AbstractMemberProducer.produce(AbstractMemberProducer.java:148) [weld-core-impl-2.1.2.Final.jar:2014-01-09 09:23]

              at org.jboss.weld.bean.AbstractProducerBean.create(AbstractProducerBean.java:183) [weld-core-impl-2.1.2.Final.jar:2014-01-09 09:23]

              at org.jboss.weld.context.unbound.DependentContextImpl.get(DependentContextImpl.java:69) [weld-core-impl-2.1.2.Final.jar:2014-01-09 09:23]

              at org.jboss.weld.manager.BeanManagerImpl.getReference(BeanManagerImpl.java:733) [weld-core-impl-2.1.2.Final.jar:2014-01-09 09:23]

              at org.jboss.weld.manager.BeanManagerImpl.getReference(BeanManagerImpl.java:789) [weld-core-impl-2.1.2.Final.jar:2014-01-09 09:23]

              at org.jboss.weld.injection.FieldInjectionPoint.inject(FieldInjectionPoint.java:92) [weld-core-impl-2.1.2.Final.jar:2014-01-09 09:23]

              at org.jboss.weld.util.Beans.injectBoundFields(Beans.java:358) [weld-core-impl-2.1.2.Final.jar:2014-01-09 09:23]

              at org.jboss.weld.util.Beans.injectFieldsAndInitializers(Beans.java:369) [weld-core-impl-2.1.2.Final.jar:2014-01-09 09:23]

              at org.jboss.weld.injection.producer.DefaultInjector.inject(DefaultInjector.java:72) [weld-core-impl-2.1.2.Final.jar:2014-01-09 09:23]

              at org.jboss.weld.injection.producer.ResourceInjector.inject(ResourceInjector.java:60) [weld-core-impl-2.1.2.Final.jar:2014-01-09 09:23]

              at org.jboss.weld.injection.producer.DefaultInjector$1.proceed(DefaultInjector.java:66) [weld-core-impl-2.1.2.Final.jar:2014-01-09 09:23]

              at org.jboss.weld.injection.InjectionContextImpl.run(InjectionContextImpl.java:48) [weld-core-impl-2.1.2.Final.jar:2014-01-09 09:23]

              at org.jboss.weld.injection.producer.DefaultInjector.inject(DefaultInjector.java:64) [weld-core-impl-2.1.2.Final.jar:2014-01-09 09:23]

              at org.jboss.weld.injection.producer.BasicInjectionTarget.inject(BasicInjectionTarget.java:90) [weld-core-impl-2.1.2.Final.jar:2014-01-09 09:23]

              at org.jboss.weld.bean.ManagedBean.create(ManagedBean.java:150) [weld-core-impl-2.1.2.Final.jar:2014-01-09 09:23]

              at org.jboss.weld.context.AbstractContext.get(AbstractContext.java:96) [weld-core-impl-2.1.2.Final.jar:2014-01-09 09:23]

              at org.jboss.weld.bean.proxy.ContextBeanInstance.getInstance(ContextBeanInstance.java:98) [weld-core-impl-2.1.2.Final.jar:2014-01-09 09:23]

              at org.jboss.weld.bean.proxy.ProxyMethodHandler.invoke(ProxyMethodHandler.java:78) [weld-core-impl-2.1.2.Final.jar:2014-01-09 09:23]

              at org.uberfire.backend.server.config.ConfigurationServiceImpl$Proxy$_$$_WeldClientProxy.getConfiguration(Unknown Source) [uberfire-backend-server-0.4.0-SNAPSHOT.jar:0.4.0-NAPSHOT]

              at org.kie.workbench.backend.AppSetup.assertPlayground(AppSetup.java:129) [classes:]

              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.7.0_07]

              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) [rt.jar:1.7.0_07]

              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.7.0_07]

              at java.lang.reflect.Method.invoke(Method.java:601) [rt.jar:1.7.0_07]

              at org.jboss.weld.injection.producer.DefaultLifecycleCallbackInvoker.invokeMethods(DefaultLifecycleCallbackInvoker.java:89) [weld-core-impl-2.1.2.Final.jar:2014-01-09 09:23]

              at org.jboss.weld.injection.producer.DefaultLifecycleCallbackInvoker.postConstruct(DefaultLifecycleCallbackInvoker.java:72) [weld-core-impl-2.1.2.Final.jar:2014-01-09 09:23]

              at org.jboss.weld.injection.producer.BasicInjectionTarget.postConstruct(BasicInjectionTarget.java:95) [weld-core-impl-2.1.2.Final.jar:2014-01-09 09:23]

              at org.jboss.weld.injection.producer.BeanInjectionTarget.postConstruct(BeanInjectionTarget.java:63) [weld-core-impl-2.1.2.Final.jar:2014-01-09 09:23]

              at org.jboss.weld.bean.ManagedBean.create(ManagedBean.java:162) [weld-core-impl-2.1.2.Final.jar:2014-01-09 09:23]

              at org.jboss.weld.context.AbstractContext.get(AbstractContext.java:96) [weld-core-impl-2.1.2.Final.jar:2014-01-09 09:23]

              at org.jboss.weld.bean.proxy.ContextBeanInstance.getInstance(ContextBeanInstance.java:98) [weld-core-impl-2.1.2.Final.jar:2014-01-09 09:23]

              at org.jboss.weld.bean.proxy.ProxyMethodHandler.invoke(ProxyMethodHandler.java:78) [weld-core-impl-2.1.2.Final.jar:2014-01-09 09:23]

              at org.kie.workbench.backend.AppSetup$Proxy$_$$_WeldClientProxy.toString(Unknown Source) [classes:]

              at org.uberfire.commons.services.cdi.StartupBeanExtension.runPostConstruct(StartupBeanExtension.java:83) [uberfire-commons-0.4.0-SNAPSHOT.jar:0.4.0-SNAPSHOT]

              at org.uberfire.commons.services.cdi.StartupBeanExtension.afterDeploymentValidation(StartupBeanExtension.java:67) [uberfire-commons-0.4.0-SNAPSHOT.jar:0.4.0-SNAPSHOT]

              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.7.0_07]

              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) [rt.jar:1.7.0_07]

              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.7.0_07]

              at java.lang.reflect.Method.invoke(Method.java:601) [rt.jar:1.7.0_07]

              at org.jboss.weld.injection.MethodInjectionPoint.invokeOnInstanceWithSpecialValue(MethodInjectionPoint.java:93) [weld-core-impl-2.1.2.Final.jar:2014-01-09 09:23]

              at org.jboss.weld.event.ObserverMethodImpl.sendEvent(ObserverMethodImpl.java:266) [weld-core-impl-2.1.2.Final.jar:2014-01-09 09:23]

              at org.jboss.weld.event.ExtensionObserverMethodImpl.sendEvent(ExtensionObserverMethodImpl.java:125) [weld-core-impl-2.1.2.Final.jar:2014-01-09 09:23]

              at org.jboss.weld.event.ObserverMethodImpl.sendEvent(ObserverMethodImpl.java:253) [weld-core-impl-2.1.2.Final.jar:2014-01-09 09:23]

              at org.jboss.weld.event.ObserverMethodImpl.notify(ObserverMethodImpl.java:232) [weld-core-impl-2.1.2.Final.jar:2014-01-09 09:23]

              at org.jboss.weld.event.ObserverNotifier.notifyObserver(ObserverNotifier.java:169) [weld-core-impl-2.1.2.Final.jar:2014-01-09 09:23]

              at org.jboss.weld.event.ObserverNotifier.notifyObservers(ObserverNotifier.java:128) [weld-core-impl-2.1.2.Final.jar:2014-01-09 09:23]

              at org.jboss.weld.event.ObserverNotifier.fireEvent(ObserverNotifier.java:102) [weld-core-impl-2.1.2.Final.jar:2014-01-09 09:23]

              at org.jboss.weld.bootstrap.events.AbstractContainerEvent.fire(AbstractContainerEvent.java:63) [weld-core-impl-2.1.2.Final.jar:2014-01-09 09:23]

              at org.jboss.weld.bootstrap.events.AbstractDeploymentContainerEvent.fire(AbstractDeploymentContainerEvent.java:35) [weld-core-impl-2.1.2.Final.jar:2014-01-09 09:23]

              at org.jboss.weld.bootstrap.events.AfterDeploymentValidationImpl.fire(AfterDeploymentValidationImpl.java:28) [weld-core-impl-2.1.2.Final.jar:2014-01-09 09:23]

              at org.jboss.weld.bootstrap.WeldStartup.validateBeans(WeldStartup.java:396) [weld-core-impl-2.1.2.Final.jar:2014-01-09 09:23]

              at org.jboss.weld.bootstrap.WeldBootstrap.validateBeans(WeldBootstrap.java:85) [weld-core-impl-2.1.2.Final.jar:2014-01-09 09:23]

              at org.jboss.as.weld.WeldStartService.start(WeldStartService.java:93) [wildfly-weld-8.1.0.Final.jar:8.1.0.Final]

              at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1948) [jboss-msc-1.2.2.Final.jar:1.2.2.Final]

              at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1881) [jboss-msc-1.2.2.Final.jar:1.2.2.Final]

              at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) [rt.jar:1.7.0_07]

              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) [rt.jar:1.7.0_07]

              at java.lang.Thread.run(Thread.java:722) [rt.jar:1.7.0_07]

      Caused by: org.uberfire.java.nio.IOException: java.net.BindException: Address already in use: JVM_Bind

              at org.uberfire.java.nio.fs.jgit.JGitFileSystemProvider.buildAndStartDaemon(JGitFileSystemProvider.java:471) [uberfire-nio2-jgit-0.4.0-SNAPSHOT.jar:0.4.0-SNAPSHOT]

              at org.uberfire.java.nio.fs.jgit.JGitFileSystemProvider.<init>(JGitFileSystemProvider.java:383) [uberfire-nio2-jgit-0.4.0-SNAPSHOT.jar:0.4.0-SNAPSHOT]

              at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) [rt.jar:1.7.0_07]

              at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57) [rt.jar:1.7.0_07]

              at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) [rt.jar:1.7.0_07]

              at java.lang.reflect.Constructor.newInstance(Constructor.java:525) [rt.jar:1.7.0_07]

              at java.lang.Class.newInstance0(Class.java:372) [rt.jar:1.7.0_07]

              at java.lang.Class.newInstance(Class.java:325) [rt.jar:1.7.0_07]

              at java.util.ServiceLoader$LazyIterator.next(ServiceLoader.java:362) [rt.jar:1.7.0_07]

              ... 76 more

      Caused by: java.net.BindException: Address already in use: JVM_Bind

              at java.net.TwoStacksPlainSocketImpl.socketBind(Native Method) [rt.jar:1.7.0_07]

              at java.net.AbstractPlainSocketImpl.bind(AbstractPlainSocketImpl.java:376) [rt.jar:1.7.0_07]

              at java.net.TwoStacksPlainSocketImpl.bind(TwoStacksPlainSocketImpl.java:101) [rt.jar:1.7.0_07]

              at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:175) [rt.jar:1.7.0_07]

              at java.net.ServerSocket.bind(ServerSocket.java:376) [rt.jar:1.7.0_07]

              at java.net.ServerSocket.<init>(ServerSocket.java:237) [rt.jar:1.7.0_07]

              at org.uberfire.java.nio.fs.jgit.daemon.git.Daemon.start(Daemon.java:180) [uberfire-nio2-jgit-0.4.0-SNAPSHOT.jar:0.4.0-SNAPSHOT]

              at org.uberfire.java.nio.fs.jgit.JGitFileSystemProvider.buildAndStartDaemon(JGitFileSystemProvider.java:469) [uberfire-nio2-jgit-0.4.0-SNAPSHOT.jar:0.4.0-SNAPSHOT]

              ... 84 more

       

       

      11:56:25,967 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-3) MSC000001: Failed to start service jboss.deployment.unit."jbpm-console.war".WeldStartService: org.jboss.msc.service.StartException in service jboss.deployment.unit."jbpm-console.war".WeldStartService: Failed to start service

              at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1904) [jboss-msc-1.2.2.Final.jar:1.2.2.Final]

              at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) [rt.jar:1.7.0_07]

              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) [rt.jar:1.7.0_07]

              at java.lang.Thread.run(Thread.java:722) [rt.jar:1.7.0_07]

      Caused by: org.jboss.weld.exceptions.DeploymentException: Exception List with 1 exceptions:

      Exception 0 :

      org.jboss.weld.exceptions.WeldException: WELD-000049: Unable to invoke public void org.kie.workbench.backend.AppSetup.assertPlayground() on org.kie.workbench.backend.AppSetup@5bd7975c

              at org.jboss.weld.injection.producer.DefaultLifecycleCallbackInvoker.invokeMethods(DefaultLifecycleCallbackInvoker.java:91)

              at org.jboss.weld.injection.producer.DefaultLifecycleCallbackInvoker.postConstruct(DefaultLifecycleCallbackInvoker.java:72)

              at org.jboss.weld.injection.producer.BasicInjectionTarget.postConstruct(BasicInjectionTarget.java:95)

              at org.jboss.weld.injection.producer.BeanInjectionTarget.postConstruct(BeanInjectionTarget.java:63)

              at org.jboss.weld.bean.ManagedBean.create(ManagedBean.java:162)

              at org.jboss.weld.context.AbstractContext.get(AbstractContext.java:96)

              at org.jboss.weld.bean.proxy.ContextBeanInstance.getInstance(ContextBeanInstance.java:98)

              at org.jboss.weld.bean.proxy.ProxyMethodHandler.invoke(ProxyMethodHandler.java:78)

              at org.kie.workbench.backend.AppSetup$Proxy$_$$_WeldClientProxy.toString(Unknown Source)

              at org.uberfire.commons.services.cdi.StartupBeanExtension.runPostConstruct(StartupBeanExtension.java:83)

              at org.uberfire.commons.services.cdi.StartupBeanExtension.afterDeploymentValidation(StartupBeanExtension.java:67)

              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

              at java.lang.reflect.Method.invoke(Method.java:601)

              at org.jboss.weld.injection.MethodInjectionPoint.invokeOnInstanceWithSpecialValue(MethodInjectionPoint.java:93)

              at org.jboss.weld.event.ObserverMethodImpl.sendEvent(ObserverMethodImpl.java:266)

              at org.jboss.weld.event.ExtensionObserverMethodImpl.sendEvent(ExtensionObserverMethodImpl.java:125)

              at org.jboss.weld.event.ObserverMethodImpl.sendEvent(ObserverMethodImpl.java:253)

              at org.jboss.weld.event.ObserverMethodImpl.notify(ObserverMethodImpl.java:232)

              at org.jboss.weld.event.ObserverNotifier.notifyObserver(ObserverNotifier.java:169)

              at org.jboss.weld.event.ObserverNotifier.notifyObservers(ObserverNotifier.java:128)

              at org.jboss.weld.event.ObserverNotifier.fireEvent(ObserverNotifier.java:102)

              at org.jboss.weld.bootstrap.events.AbstractContainerEvent.fire(AbstractContainerEvent.java:63)

              at org.jboss.weld.bootstrap.events.AbstractDeploymentContainerEvent.fire(AbstractDeploymentContainerEvent.java:35)

              at org.jboss.weld.bootstrap.events.AfterDeploymentValidationImpl.fire(AfterDeploymentValidationImpl.java:28)

              at org.jboss.weld.bootstrap.WeldStartup.validateBeans(WeldStartup.java:396)

              at org.jboss.weld.bootstrap.WeldBootstrap.validateBeans(WeldBootstrap.java:85)

              at org.jboss.as.weld.WeldStartService.start(WeldStartService.java:93)

              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:1110)

              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)

              at java.lang.Thread.run(Thread.java:722)

      Caused by: java.lang.reflect.InvocationTargetException

              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

              at java.lang.reflect.Method.invoke(Method.java:601)

              at org.jboss.weld.injection.producer.DefaultLifecycleCallbackInvoker.invokeMethods(DefaultLifecycleCallbackInvoker.java:89)

              ... 33 more

      Caused by: org.jboss.weld.exceptions.WeldException: WELD-000049: Unable to invoke public void org.uberfire.backend.server.io.ConfigIOServiceProducer.init()

      on org.uberfire.backend.server.io.ConfigIOServiceProducer@7a416718

              at org.jboss.weld.injection.producer.DefaultLifecycleCallbackInvoker.invokeMethods(DefaultLifecycleCallbackInvoker.java:91)

              at org.jboss.weld.injection.producer.DefaultLifecycleCallbackInvoker.postConstruct(DefaultLifecycleCallbackInvoker.java:72)

              at org.jboss.weld.injection.producer.BasicInjectionTarget.postConstruct(BasicInjectionTarget.java:95)

              at org.jboss.weld.injection.producer.BeanInjectionTarget.postConstruct(BeanInjectionTarget.java:63)

              at org.jboss.weld.bean.ManagedBean.create(ManagedBean.java:153)

              at org.jboss.weld.context.AbstractContext.get(AbstractContext.java:96)

              at org.jboss.weld.manager.BeanManagerImpl.getReference(BeanManagerImpl.java:733)

              at org.jboss.weld.injection.producer.AbstractMemberProducer.getReceiver(AbstractMemberProducer.java:128)

              at org.jboss.weld.injection.producer.AbstractMemberProducer.produce(AbstractMemberProducer.java:148)

              at org.jboss.weld.bean.AbstractProducerBean.create(AbstractProducerBean.java:183)

              at org.jboss.weld.context.unbound.DependentContextImpl.get(DependentContextImpl.java:69)

              at org.jboss.weld.manager.BeanManagerImpl.getReference(BeanManagerImpl.java:733)

              at org.jboss.weld.manager.BeanManagerImpl.getReference(BeanManagerImpl.java:789)

              at org.jboss.weld.injection.FieldInjectionPoint.inject(FieldInjectionPoint.java:92)

              at org.jboss.weld.util.Beans.injectBoundFields(Beans.java:358)

              at org.jboss.weld.util.Beans.injectFieldsAndInitializers(Beans.java:369)

              at org.jboss.weld.injection.producer.DefaultInjector.inject(DefaultInjector.java:72)

              at org.jboss.weld.injection.producer.ResourceInjector.inject(ResourceInjector.java:60)

              at org.jboss.weld.injection.producer.DefaultInjector$1.proceed(DefaultInjector.java:66)

              at org.jboss.weld.injection.InjectionContextImpl.run(InjectionContextImpl.java:48)

              at org.jboss.weld.injection.producer.DefaultInjector.inject(DefaultInjector.java:64)

              at org.jboss.weld.injection.producer.BasicInjectionTarget.inject(BasicInjectionTarget.java:90)

              at org.jboss.weld.bean.ManagedBean.create(ManagedBean.java:150)

              at org.jboss.weld.context.AbstractContext.get(AbstractContext.java:96)

              at org.jboss.weld.bean.proxy.ContextBeanInstance.getInstance(ContextBeanInstance.java:98)

              at org.jboss.weld.bean.proxy.ProxyMethodHandler.invoke(ProxyMethodHandler.java:78)

              at org.uberfire.backend.server.config.ConfigurationServiceImpl$Proxy$_$$_WeldClientProxy.getConfiguration(Unknown Source)

              at org.kie.workbench.backend.AppSetup.assertPlayground(AppSetup.java:129)

              ... 38 more

      Caused by: java.lang.reflect.InvocationTargetException

              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

              at java.lang.reflect.Method.invoke(Method.java:601)

              at org.jboss.weld.injection.producer.DefaultLifecycleCallbackInvoker.invokeMethods(DefaultLifecycleCallbackInvoker.java:89)

              ... 65 more

      Caused by: java.lang.NullPointerException

              at org.uberfire.io.impl.AbstractIOService.setAuthenticationManager(AbstractIOService.java:672)

              at org.uberfire.backend.server.io.ConfigIOServiceProducer.setup(ConfigIOServiceProducer.java:96)

              at org.uberfire.backend.server.io.ConfigIOServiceProducer.init(ConfigIOServiceProducer.java:62)

              ... 70 more

       

       

              at org.jboss.weld.bootstrap.events.AbstractDeploymentContainerEvent.fire(AbstractDeploymentContainerEvent.java:37)

              at org.jboss.weld.bootstrap.events.AfterDeploymentValidationImpl.fire(AfterDeploymentValidationImpl.java:28)

              at org.jboss.weld.bootstrap.WeldStartup.validateBeans(WeldStartup.java:396)

              at org.jboss.weld.bootstrap.WeldBootstrap.validateBeans(WeldBootstrap.java:85)

              at org.jboss.as.weld.WeldStartService.start(WeldStartService.java:93)

              at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1948) [jboss-msc-1.2.2.Final.jar:1.2.2.Final]

              at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1881) [jboss-msc-1.2.2.Final.jar:1.2.2.Final]

              ... 3 more

       

       

      11:56:26,042 ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) JBAS014613: Operation ("deploy") failed - address: ([("deployment" => "jbpm-console.war")]) - failure description: {"JBAS014671: Failed services" => {"jboss.deployment.unit.\"jbpm-console.war\".WeldStartService" => "org

      .jboss.msc.service.StartException in service jboss.deployment.unit.\"jbpm-console.war\".WeldStartService: Failed to start service

          Caused by: org.jboss.weld.exceptions.DeploymentException: Exception List with 1 exceptions:

      Exception 0 :

      org.jboss.weld.exceptions.WeldException: WELD-000049: Unable to invoke public void org.kie.workbench.backend.AppSetup.assertPlayground() on org.kie.workben

      ch.backend.AppSetup@5bd7975c

              at org.jboss.weld.injection.producer.DefaultLifecycleCallbackInvoker.invokeMethods(DefaultLifecycleCallbackInvoker.java:91)

              at org.jboss.weld.injection.producer.DefaultLifecycleCallbackInvoker.postConstruct(DefaultLifecycleCallbackInvoker.java:72)

              at org.jboss.weld.injection.producer.BasicInjectionTarget.postConstruct(BasicInjectionTarget.java:95)

              at org.jboss.weld.injection.producer.BeanInjectionTarget.postConstruct(BeanInjectionTarget.java:63)

              at org.jboss.weld.bean.ManagedBean.create(ManagedBean.java:162)

              at org.jboss.weld.context.AbstractContext.get(AbstractContext.java:96)

              at org.jboss.weld.bean.proxy.ContextBeanInstance.getInstance(ContextBeanInstance.java:98)

              at org.jboss.weld.bean.proxy.ProxyMethodHandler.invoke(ProxyMethodHandler.java:78)

              at org.kie.workbench.backend.AppSetup$Proxy$_$$_WeldClientProxy.toString(Unknown Source)

              at org.uberfire.commons.services.cdi.StartupBeanExtension.runPostConstruct(StartupBeanExtension.java:83)

              at org.uberfire.commons.services.cdi.StartupBeanExtension.afterDeploymentValidation(StartupBeanExtension.java:67)

              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

              at java.lang.reflect.Method.invoke(Method.java:601)

              at org.jboss.weld.injection.MethodInjectionPoint.invokeOnInstanceWithSpecialValue(MethodInjectionPoint.java:93)

              at org.jboss.weld.event.ObserverMethodImpl.sendEvent(ObserverMethodImpl.java:266)

              at org.jboss.weld.event.ExtensionObserverMethodImpl.sendEvent(ExtensionObserverMethodImpl.java:125)

              at org.jboss.weld.event.ObserverMethodImpl.sendEvent(ObserverMethodImpl.java:253)

              at org.jboss.weld.event.ObserverMethodImpl.notify(ObserverMethodImpl.java:232)

              at org.jboss.weld.event.ObserverNotifier.notifyObserver(ObserverNotifier.java:169)

              at org.jboss.weld.event.ObserverNotifier.notifyObservers(ObserverNotifier.java:128)

              at org.jboss.weld.event.ObserverNotifier.fireEvent(ObserverNotifier.java:102)

              at org.jboss.weld.bootstrap.events.AbstractContainerEvent.fire(AbstractContainerEvent.java:63)

              at org.jboss.weld.bootstrap.events.AbstractDeploymentContainerEvent.fire(AbstractDeploymentContainerEvent.java:35)

              at org.jboss.weld.bootstrap.events.AfterDeploymentValidationImpl.fire(AfterDeploymentValidationImpl.java:28)

              at org.jboss.weld.bootstrap.WeldStartup.validateBeans(WeldStartup.java:396)

              at org.jboss.weld.bootstrap.WeldBootstrap.validateBeans(WeldBootstrap.java:85)

              at org.jboss.as.weld.WeldStartService.start(WeldStartService.java:93)

              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:1110)

              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)

              at java.lang.Thread.run(Thread.java:722)

      Caused by: java.lang.reflect.InvocationTargetException

              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

              at java.lang.reflect.Method.invoke(Method.java:601)

              at org.jboss.weld.injection.producer.DefaultLifecycleCallbackInvoker.invokeMethods(DefaultLifecycleCallbackInvoker.java:89)

              ... 33 more

      Caused by: org.jboss.weld.exceptions.WeldException: WELD-000049: Unable to invoke public void org.uberfire.backend.server.io.ConfigIOServiceProducer.init()

      on org.uberfire.backend.server.io.ConfigIOServiceProducer@7a416718

              at org.jboss.weld.injection.producer.DefaultLifecycleCallbackInvoker.invokeMethods(DefaultLifecycleCallbackInvoker.java:91)

              at org.jboss.weld.injection.producer.DefaultLifecycleCallbackInvoker.postConstruct(DefaultLifecycleCallbackInvoker.java:72)

              at org.jboss.weld.injection.producer.BasicInjectionTarget.postConstruct(BasicInjectionTarget.java:95)

              at org.jboss.weld.injection.producer.BeanInjectionTarget.postConstruct(BeanInjectionTarget.java:63)

              at org.jboss.weld.bean.ManagedBean.create(ManagedBean.java:153)

              at org.jboss.weld.context.AbstractContext.get(AbstractContext.java:96)

              at org.jboss.weld.manager.BeanManagerImpl.getReference(BeanManagerImpl.java:733)

              at org.jboss.weld.injection.producer.AbstractMemberProducer.getReceiver(AbstractMemberProducer.java:128)

              at org.jboss.weld.injection.producer.AbstractMemberProducer.produce(AbstractMemberProducer.java:148)

              at org.jboss.weld.bean.AbstractProducerBean.create(AbstractProducerBean.java:183)

              at org.jboss.weld.context.unbound.DependentContextImpl.get(DependentContextImpl.java:69)

              at org.jboss.weld.manager.BeanManagerImpl.getReference(BeanManagerImpl.java:733)

              at org.jboss.weld.manager.BeanManagerImpl.getReference(BeanManagerImpl.java:789)

              at org.jboss.weld.injection.FieldInjectionPoint.inject(FieldInjectionPoint.java:92)

              at org.jboss.weld.util.Beans.injectBoundFields(Beans.java:358)

              at org.jboss.weld.util.Beans.injectFieldsAndInitializers(Beans.java:369)

              at org.jboss.weld.injection.producer.DefaultInjector.inject(DefaultInjector.java:72)

              at org.jboss.weld.injection.producer.ResourceInjector.inject(ResourceInjector.java:60)

              at org.jboss.weld.injection.producer.DefaultInjector$1.proceed(DefaultInjector.java:66)

              at org.jboss.weld.injection.InjectionContextImpl.run(InjectionContextImpl.java:48)

              at org.jboss.weld.injection.producer.DefaultInjector.inject(DefaultInjector.java:64)

              at org.jboss.weld.injection.producer.BasicInjectionTarget.inject(BasicInjectionTarget.java:90)

              at org.jboss.weld.bean.ManagedBean.create(ManagedBean.java:150)

              at org.jboss.weld.context.AbstractContext.get(AbstractContext.java:96)

              at org.jboss.weld.bean.proxy.ContextBeanInstance.getInstance(ContextBeanInstance.java:98)

              at org.jboss.weld.bean.proxy.ProxyMethodHandler.invoke(ProxyMethodHandler.java:78)

              at org.uberfire.backend.server.config.ConfigurationServiceImpl$Proxy$_$$_WeldClientProxy.getConfiguration(Unknown Source)

              at org.kie.workbench.backend.AppSetup.assertPlayground(AppSetup.java:129)

              ... 38 more

      Caused by: java.lang.reflect.InvocationTargetException

              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

              at java.lang.reflect.Method.invoke(Method.java:601)

              at org.jboss.weld.injection.producer.DefaultLifecycleCallbackInvoker.invokeMethods(DefaultLifecycleCallbackInvoker.java:89)

              ... 65 more

      Caused by: java.lang.NullPointerException

              at org.uberfire.io.impl.AbstractIOService.setAuthenticationManager(AbstractIOService.java:672)

              at org.uberfire.backend.server.io.ConfigIOServiceProducer.setup(ConfigIOServiceProducer.java:96)

              at org.uberfire.backend.server.io.ConfigIOServiceProducer.init(ConfigIOServiceProducer.java:62)

              ... 70 more

      "}}

        • 1. Re: How to Start multi JBPM server instance on same machine?
          Abhijit Humbe Master

          Use below options while starting server instance:

           

          <system-properties>

          . .

          <property name="org.uberfire.nio.git.daemon.host" value="10.10.10.10"/>

            <property name="org.uberfire.nio.git.daemon.port" value="9419"/>

            <property name="org.uberfire.nio.git.daemon.hostport" value="9419"/>

            <property name="org.uberfire.nio.git.ssh.port" value="8003"/>

            <property name="org.uberfire.nio.git.ssh.hostport" value="8003"/>

            <property name="org.uberfire.nio.git.ssh.host" value="10.10.10.10"/>

          </system-properties>

          Use unique values of port for each server instance.

          • 2. Re: How to Start multi JBPM server instance on same machine?
            Mohamed El-masry Newbie

            Thanks for helpful answer from abhijithumbe

             

            the solution in my case is adding system properties in standalone-full.xml file not host.xml file

             

                1- Add the below lines to (wildfly-8.1.0.Final\standalone\configuration\standalone-full.xml)

                      <system-properties>

                          <property name="org.uberfire.nio.git.daemon.port" value="9419"/>

                          <property name="org.uberfire.nio.git.ssh.port" value="8003"/>

                      </system-properties>

                2- Change used ports in (wildfly-8.1.0.Final\standalone\configuration\standalone-full.xml)

                          To make sure i changed all used ports under this tag <socket-binding-group>