1 Reply Latest reply on Apr 4, 2016 10:45 AM by Abhijit Humbe

    jBPMconsole.war not getting deployed on JBoss Wildfly8

    Abhishek Mittal Novice

      Hello Folks,

       

      I have download jbpm6.3.0 and installed on my workstation.

       

      All the files got downloaded properly along with JBoss server started successfully and configured an user for jBoss console.

       

      By default, the port is 8080. I have changed the port in "build.xml" and "standalone-full.xml" to point to 8180.

       

      Issue:

       

      I have highlighted the port issue in BOLD in the below log.

       

      As soon I am trying to deploy "jbpm-console.war" file in Jboss, I am getting the below exception as the port "8001" is being used by SOA server.

       

      Please help me to resolve this issue ASAP.

       

      "Caused by: java.lang.RuntimeException: Couldn't start SSH daemon at 127.0.0.1:8001"



      2016-03-30 12:10:28,571 INFO  [org.jbpm.executor.impl.ExecutorImpl] (MSC service thread 1-7) Executor JMS based support successfully activated on queue HornetQQueue[KIE.EXECUTOR]

       

      2016-03-30 12:10:28,750 WARN  [org.jboss.weld.Bean] (MSC service thread 1-7) WELD-000018: Executing producer field or method [BackedAnnotatedMethod] @Produces @Named public org.uberfire.backend.server.io.ConfigIOServiceProducer.configIOService() on incomplete declaring bean Managed Bean [class org.uberfire.backend.server.io.ConfigIOServiceProducer] with qualifiers [@Any @Default] due to circular injection

      2016-03-30 12:10:28,903 INFO  [org.apache.sshd.common.util.SecurityUtils] (MSC service thread 1-7) BouncyCastle not registered, using the default JCE provider

      2016-03-30 12:10:29,409 ERROR [org.uberfire.java.nio.file.api.FileSystemProviders] (MSC service thread 1-7) Can't initialize FileSystemProviders: java.util.ServiceConfigurationError: org.uberfire.java.nio.file.spi.FileSystemProvider: Provider org.uberfire.java.nio.fs.jgit.JGitFileSystemProvider could not be instantiated

      at java.util.ServiceLoader.fail(ServiceLoader.java:232) [rt.jar:1.8.0_65]

      at java.util.ServiceLoader.access$100(ServiceLoader.java:185) [rt.jar:1.8.0_65]

      at java.util.ServiceLoader$LazyIterator.nextService(ServiceLoader.java:384) [rt.jar:1.8.0_65]

      at java.util.ServiceLoader$LazyIterator.next(ServiceLoader.java:404) [rt.jar:1.8.0_65]

      at java.util.ServiceLoader$1.next(ServiceLoader.java:480) [rt.jar:1.8.0_65]

      at org.uberfire.java.nio.file.api.FileSystemProviders.buildProviders(FileSystemProviders.java:65) [uberfire-nio2-api-0.7.3.Final.jar:0.7.3.Final]

      at org.uberfire.java.nio.file.api.FileSystemProviders.setup(FileSystemProviders.java:48) [uberfire-nio2-api-0.7.3.Final.jar:0.7.3.Final]

      at org.uberfire.java.nio.file.api.FileSystemProviders.resolveProvider(FileSystemProviders.java:104) [uberfire-nio2-api-0.7.3.Final.jar:0.7.3.Final]

      at org.uberfire.java.nio.file.FileSystems.newFileSystem(FileSystems.java:117) [uberfire-nio2-api-0.7.3.Final.jar:0.7.3.Final]

      at org.uberfire.java.nio.file.FileSystems.newFileSystem(FileSystems.java:83) [uberfire-nio2-api-0.7.3.Final.jar:0.7.3.Final]

      at org.uberfire.io.impl.AbstractIOService.newFileSystem(AbstractIOService.java:241) [uberfire-io-0.7.3.Final.jar:0.7.3.Final]

      at org.uberfire.backend.server.cdi.SystemConfigProducer$2.create(SystemConfigProducer.java:252) [uberfire-backend-cdi-0.7.3.Final.jar:0.7.3.Final]

      at org.uberfire.backend.server.cdi.SystemConfigProducer$2.create(SystemConfigProducer.java:187) [uberfire-backend-cdi-0.7.3.Final.jar:0.7.3.Final]

      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:99) [weld-core-impl-2.1.2.Final.jar:2014-01-09 09:23]

      at org.jboss.weld.proxies.FileSystem$1366014920$Proxy$_$$_WeldClientProxy.getPath(Unknown Source) [weld-core-impl-2.1.2.Final.jar:]

      at org.kie.uberfire.social.activities.server.SocialUserServicesExtendedBackEndImpl.buildPath(SocialUserServicesExtendedBackEndImpl.java:33) [kie-uberfire-social-activities-backend-6.3.0.Final.jar:6.3.0.Final]

      at org.kie.uberfire.social.activities.server.SocialUserServicesExtendedBackEndImpl$Proxy$_$$_WeldClientProxy.buildPath(Unknown Source) [kie-uberfire-social-activities-backend-6.3.0.Final.jar:6.3.0.Final]

      at org.kie.uberfire.social.activities.persistence.SocialUserCachePersistence.<init>(SocialUserCachePersistence.java:42) [kie-uberfire-social-activities-backend-6.3.0.Final.jar:6.3.0.Final]

      at org.kie.uberfire.social.activities.persistence.SocialUserInstancePersistence.<init>(SocialUserInstancePersistence.java:16) [kie-uberfire-social-activities-backend-6.3.0.Final.jar:6.3.0.Final]

      at org.kie.uberfire.social.activities.server.SocialUserPersistenceProducer.setup(SocialUserPersistenceProducer.java:76) [kie-uberfire-social-activities-backend-6.3.0.Final.jar:6.3.0.Final]

      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.8.0_65]

      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [rt.jar:1.8.0_65]

      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.8.0_65]

      at java.lang.reflect.Method.invoke(Method.java:497) [rt.jar:1.8.0_65]

      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.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.kie.uberfire.social.activities.server.SocialTimelinePersistenceProducer$Proxy$_$$_WeldClientProxy.toString(Unknown Source) [kie-uberfire-social-activities-backend-6.3.0.Final.jar:6.3.0.Final]

      at org.uberfire.backend.server.cdi.SystemConfigProducer.runPostConstruct(SystemConfigProducer.java:143) [uberfire-backend-cdi-0.7.3.Final.jar:0.7.3.Final]

      at org.uberfire.backend.server.cdi.SystemConfigProducer.afterDeploymentValidation(SystemConfigProducer.java:126) [uberfire-backend-cdi-0.7.3.Final.jar:0.7.3.Final]

      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.8.0_65]

      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [rt.jar:1.8.0_65]

      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.8.0_65]

      at java.lang.reflect.Method.invoke(Method.java:497) [rt.jar:1.8.0_65]

      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)

      at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1881)

      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [rt.jar:1.8.0_65]

      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [rt.jar:1.8.0_65]

      at java.lang.Thread.run(Thread.java:745) [rt.jar:1.8.0_65]

      Caused by: java.lang.RuntimeException: Couldn't start SSH daemon at 127.0.0.1:8001

      at org.uberfire.java.nio.fs.jgit.daemon.ssh.GitSSHService.start(GitSSHService.java:80) [uberfire-nio2-jgit-0.7.3.Final.jar:0.7.3.Final]

      at org.uberfire.java.nio.fs.jgit.JGitFileSystemProvider.buildAndStartSSH(JGitFileSystemProvider.java:497) [uberfire-nio2-jgit-0.7.3.Final.jar:0.7.3.Final]

      at org.uberfire.java.nio.fs.jgit.JGitFileSystemProvider.<init>(JGitFileSystemProvider.java:380) [uberfire-nio2-jgit-0.7.3.Final.jar:0.7.3.Final]

      at org.uberfire.java.nio.fs.jgit.JGitFileSystemProvider.<init>(JGitFileSystemProvider.java:343) [uberfire-nio2-jgit-0.7.3.Final.jar:0.7.3.Final]

      at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) [rt.jar:1.8.0_65]

      at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) [rt.jar:1.8.0_65]

      at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) [rt.jar:1.8.0_65]

      at java.lang.reflect.Constructor.newInstance(Constructor.java:422) [rt.jar:1.8.0_65]

      at java.lang.Class.newInstance(Class.java:442) [rt.jar:1.8.0_65]

      at java.util.ServiceLoader$LazyIterator.nextService(ServiceLoader.java:380) [rt.jar:1.8.0_65]

      ... 75 more

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

      at sun.nio.ch.Net.bind0(Native Method) [rt.jar:1.8.0_65]

      at sun.nio.ch.Net.bind(Net.java:433) [rt.jar:1.8.0_65]

      at sun.nio.ch.Net.bind(Net.java:425) [rt.jar:1.8.0_65]

      at sun.nio.ch.AsynchronousServerSocketChannelImpl.bind(AsynchronousServerSocketChannelImpl.java:162) [rt.jar:1.8.0_65]

      at org.apache.sshd.common.io.nio2.Nio2Acceptor.bind(Nio2Acceptor.java:58) [sshd-core-0.12.0.jar:0.12.0]

      at org.apache.sshd.common.io.nio2.Nio2Acceptor.bind(Nio2Acceptor.java:66) [sshd-core-0.12.0.jar:0.12.0]

      at org.apache.sshd.SshServer.start(SshServer.java:343) [sshd-core-0.12.0.jar:0.12.0]

      at org.uberfire.java.nio.fs.jgit.daemon.ssh.GitSSHService.start(GitSSHService.java:78) [uberfire-nio2-jgit-0.7.3.Final.jar:0.7.3.Final]

      ... 84 more

      2016-03-30 12:10:29,967 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-7) 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:1142) [rt.jar:1.8.0_65]

      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [rt.jar:1.8.0_65]

      at java.lang.Thread.run(Thread.java:745) [rt.jar:1.8.0_65]

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

       

       

      Regards,

      Abhishek