0 Replies Latest reply on Jul 30, 2015 5:15 AM by Ameet Nandihal

    Git Hub access error to deploy KIE workbench in TOMCAT 7.

    Ameet Nandihal Newbie

      Hi Folks,

       

       

      I went through the post @ https://developer.jboss.org/thread/258731?sr=stream&ru=338950

       

       

      even after setting the -Dorg.kie.demo=false in CATALINA_OPTS also in JAVA_OPTS,  i have git error which tried to download examples from git. PFB the error

       

       

      2015-07-29 15:20:46,726 [localhost-startStop-1] ERROR Failed to setup Repository 'uf-playground'

      org.jboss.weld.exceptions.WeldException: WELD-000049 Unable to invoke [method] @PostConstruct public org.uberfire.backend.server.repositories.RepositoryServiceImpl.loadRepositories() on org.uberfire.backend.server.repositories.RepositoryServiceImpl@47c6f49

              at org.jboss.weld.bean.AbstractClassBean.defaultPostConstruct(AbstractClassBean.java:405) ~[weld-core-1.1.21.Final.jar:2014-04-18 11:48]

              at org.jboss.weld.bean.ManagedBean$ManagedBeanInjectionTarget.postConstruct(ManagedBean.java:178) ~[weld-core-1.1.21.Final.jar:2014-04-18 11:48]

              at org.jboss.weld.bean.ManagedBean.create(ManagedBean.java:298) ~[weld-core-1.1.21.Final.jar:2014-04-18 11:48]

              at org.jboss.weld.context.AbstractContext.get(AbstractContext.java:103) ~[weld-core-1.1.21.Final.jar:2014-04-18 11:48]

              at org.jboss.weld.bean.proxy.ContextBeanInstance.getInstance(ContextBeanInstance.java:90) ~[weld-core-1.1.21.Final.jar:2014-04-18 11:48]

              at org.jboss.weld.bean.proxy.ProxyMethodHandler.invoke(ProxyMethodHandler.java:79) ~[weld-core-1.1.21.Final.jar:2014-04-18 11:48]

              at org.uberfire.backend.server.repositories.RepositoryServiceImpl$Proxy$_$$_WeldClientProxy.getRepository(RepositoryServiceImpl$Proxy$_$$_WeldClientProxy.java) ~[uberfire-backend-server-0.4.0.Final.jar:0.4.0.Final]

              at org.drools.workbench.backend.server.AppSetup.assertPlayground(AppSetup.java:81) ~[AppSetup.class:na]

              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.7.0_25]

              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) ~[na:1.7.0_25]

              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.7.0_25]

              at java.lang.reflect.Method.invoke(Method.java:606) ~[na:1.7.0_25]

              at org.jboss.weld.util.reflection.SecureReflections$13.work(SecureReflections.java:267) ~[weld-core-1.1.21.Final.jar:2014-04-18 11:48]

              at org.jboss.weld.util.reflection.SecureReflectionAccess.run(SecureReflectionAccess.java:52) ~[weld-core-1.1.21.Final.jar:2014-04-18 11:48]

              at org.jboss.weld.util.reflection.SecureReflectionAccess.runAsInvocation(SecureReflectionAccess.java:137) ~[weld-core-1.1.21.Final.jar:2014-04-18 11:48]

              at org.jboss.weld.util.reflection.SecureReflections.invoke(SecureReflections.java:263) ~[weld-core-1.1.21.Final.jar:2014-04-18 11:48]

              at org.jboss.weld.introspector.jlr.WeldMethodImpl.invoke(WeldMethodImpl.java:168) ~[weld-core-1.1.21.Final.jar:2014-04-18 11:48]

              at org.jboss.weld.bean.AbstractClassBean.defaultPostConstruct(AbstractClassBean.java:403) ~[weld-core-1.1.21.Final.jar:2014-04-18 11:48]

              at org.jboss.weld.bean.ManagedBean$ManagedBeanInjectionTarget.postConstruct(ManagedBean.java:178) ~[weld-core-1.1.21.Final.jar:2014-04-18 11:48]

              at org.jboss.weld.bean.ManagedBean.create(ManagedBean.java:298) ~[weld-core-1.1.21.Final.jar:2014-04-18 11:48]

              at org.jboss.weld.context.AbstractContext.get(AbstractContext.java:103) ~[weld-core-1.1.21.Final.jar:2014-04-18 11:48]

              at org.jboss.weld.bean.proxy.ContextBeanInstance.getInstance(ContextBeanInstance.java:90) ~[weld-core-1.1.21.Final.jar:2014-04-18 11:48]

              at org.jboss.weld.bean.proxy.ProxyMethodHandler.invoke(ProxyMethodHandler.java:79) ~[weld-core-1.1.21.Final.jar:2014-04-18 11:48]

              at org.drools.workbench.backend.server.AppSetup$Proxy$_$$_WeldClientProxy.toString(AppSetup$Proxy$_$$_WeldClientProxy.java) ~[AppSetup.class:na]

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

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

              at org.uberfire.commons.services.cdi.StartupBeanExtension$Proxy$_$$_WeldClientProxy.afterDeploymentValidation(StartupBeanExtension$Proxy$_$$_WeldClientProxy.java) ~[uberfire-commons-0.4.0.Final.jar:0.4.0.Final]

              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.7.0_25]

              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) ~[na:1.7.0_25]

              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.7.0_25]

              at java.lang.reflect.Method.invoke(Method.java:606) ~[na:1.7.0_25]

              at org.jboss.weld.util.reflection.SecureReflections$13.work(SecureReflections.java:267) ~[weld-core-1.1.21.Final.jar:2014-04-18 11:48]

              at org.jboss.weld.util.reflection.SecureReflectionAccess.run(SecureReflectionAccess.java:52) ~[weld-core-1.1.21.Final.jar:2014-04-18 11:48]

              at org.jboss.weld.util.reflection.SecureReflectionAccess.runAsInvocation(SecureReflectionAccess.java:137) ~[weld-core-1.1.21.Final.jar:2014-04-18 11:48]

              at org.jboss.weld.util.reflection.SecureReflections.invoke(SecureReflections.java:263) ~[weld-core-1.1.21.Final.jar:2014-04-18 11:48]

              at org.jboss.weld.introspector.jlr.WeldMethodImpl.invokeOnInstance(WeldMethodImpl.java:164) ~[weld-core-1.1.21.Final.jar:2014-04-18 11:48]

              at org.jboss.weld.introspector.ForwardingWeldMethod.invokeOnInstance(ForwardingWeldMethod.java:51) ~[weld-core-1.1.21.Final.jar:2014-04-18 11:48]

              at org.jboss.weld.injection.MethodInjectionPoint.invokeOnInstanceWithSpecialValue(MethodInjectionPoint.java:154) ~[weld-core-1.1.21.Final.jar:2014-04-18 11:48]

              at org.jboss.weld.event.ObserverMethodImpl.sendEvent(ObserverMethodImpl.java:245) ~[weld-core-1.1.21.Final.jar:2014-04-18 11:48]

              at org.jboss.weld.event.ObserverMethodImpl.sendEvent(ObserverMethodImpl.java:233) ~[weld-core-1.1.21.Final.jar:2014-04-18 11:48]

              at org.jboss.weld.event.ObserverMethodImpl.notify(ObserverMethodImpl.java:213) ~[weld-core-1.1.21.Final.jar:2014-04-18 11:48]

              at org.jboss.weld.bootstrap.events.AbstractContainerEvent.fire(AbstractContainerEvent.java:75) ~[weld-core-1.1.21.Final.jar:2014-04-18 11:48]

              at org.jboss.weld.bootstrap.events.AbstractDeploymentContainerEvent.fire(AbstractDeploymentContainerEvent.java:46) ~[weld-core-1.1.21.Final.jar:2014-04-18 11:48]

              at org.jboss.weld.bootstrap.events.AfterDeploymentValidationImpl.fire(AfterDeploymentValidationImpl.java:31) ~[weld-core-1.1.21.Final.jar:2014-04-18 11:48]

              at org.jboss.weld.bootstrap.WeldBootstrap.validateBeans(WeldBootstrap.java:382) ~[weld-core-1.1.21.Final.jar:2014-04-18 11:48]

              at org.jboss.weld.environment.servlet.Listener.contextInitialized(Listener.java:182) ~[weld-servlet-core-1.1.21.Final.jar:20140418-1148]

              at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4797) ~[catalina.jar:7.0.37]

              at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5291) ~[catalina.jar:7.0.37]

              at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) ~[catalina.jar:7.0.37]

              at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901) ~[catalina.jar:7.0.37]

              at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877) ~[catalina.jar:7.0.37]

              at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:633) ~[catalina.jar:7.0.37]

              at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:977) ~[catalina.jar:7.0.37]

              at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1655) ~[catalina.jar:7.0.37]

              at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) ~[na:1.7.0_25]

              at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) ~[na:1.7.0_25]

              at java.util.concurrent.FutureTask.run(FutureTask.java:166) ~[na:1.7.0_25]

              at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) ~[na:1.7.0_25]

              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) ~[na:1.7.0_25]

              at java.lang.Thread.run(Thread.java:724) ~[na:1.7.0_25]

      Caused by: java.lang.reflect.InvocationTargetException: null

              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.7.0_25]

              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) ~[na:1.7.0_25]

              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.7.0_25]

              at java.lang.reflect.Method.invoke(Method.java:606) ~[na:1.7.0_25]

              at org.jboss.weld.util.reflection.SecureReflections$13.work(SecureReflections.java:267) ~[weld-core-1.1.21.Final.jar:2014-04-18 11:48]

              at org.jboss.weld.util.reflection.SecureReflectionAccess.run(SecureReflectionAccess.java:52) ~[weld-core-1.1.21.Final.jar:2014-04-18 11:48]

              at org.jboss.weld.util.reflection.SecureReflectionAccess.runAsInvocation(SecureReflectionAccess.java:137) ~[weld-core-1.1.21.Final.jar:2014-04-18 11:48]

              at org.jboss.weld.util.reflection.SecureReflections.invoke(SecureReflections.java:263) ~[weld-core-1.1.21.Final.jar:2014-04-18 11:48]

              at org.jboss.weld.introspector.jlr.WeldMethodImpl.invoke(WeldMethodImpl.java:168) ~[weld-core-1.1.21.Final.jar:2014-04-18 11:48]

              at org.jboss.weld.bean.AbstractClassBean.defaultPostConstruct(AbstractClassBean.java:403) ~[weld-core-1.1.21.Final.jar:2014-04-18 11:48]

              ... 59 common frames omitted

      Caused by: org.jboss.weld.exceptions.WeldException: WELD-000049 Unable to invoke [method] @PostConstruct public org.uberfire.backend.server.config.ConfigurationServiceImpl.setup() on org.uberfire.backend.server.config.ConfigurationServiceImpl@455d9b43

              at org.jboss.weld.bean.AbstractClassBean.defaultPostConstruct(AbstractClassBean.java:405) ~[weld-core-1.1.21.Final.jar:2014-04-18 11:48]

              at org.jboss.weld.bean.ManagedBean$ManagedBeanInjectionTarget.postConstruct(ManagedBean.java:178) ~[weld-core-1.1.21.Final.jar:2014-04-18 11:48]

              at org.jboss.weld.bean.ManagedBean.create(ManagedBean.java:298) ~[weld-core-1.1.21.Final.jar:2014-04-18 11:48]

              at org.jboss.weld.context.AbstractContext.get(AbstractContext.java:103) ~[weld-core-1.1.21.Final.jar:2014-04-18 11:48]

              at org.jboss.weld.bean.proxy.ContextBeanInstance.getInstance(ContextBeanInstance.java:90) ~[weld-core-1.1.21.Final.jar:2014-04-18 11:48]

              at org.jboss.weld.bean.proxy.ProxyMethodHandler.invoke(ProxyMethodHandler.java:79) ~[weld-core-1.1.21.Final.jar:2014-04-18 11:48]

              at org.uberfire.backend.server.config.ConfigurationServiceImpl$Proxy$_$$_WeldClientProxy.getConfiguration(ConfigurationServiceImpl$Proxy$_$$_WeldClientProxy.java) ~[uberfire-backend-server-0.4.0.Final.jar:0.4.0.Final]

              at org.uberfire.backend.server.repositories.RepositoryServiceImpl.loadRepositories(RepositoryServiceImpl.java:77) ~[uberfire-backend-server-0.4.0.Final.jar:0.4.0.Final]

              ... 69 common frames

      Caused by: java.lang.reflect.InvocationTargetException: null

              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.7.0_25]

              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) ~[na:1.7.0_25]

              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.7.0_25]

              at java.lang.reflect.Method.invoke(Method.java:606) ~[na:1.7.0_25]

              at org.jboss.weld.util.reflection.SecureReflections$13.work(SecureReflections.java:267) ~[weld-core-1.1.21.Final.jar:2014-04-18 11:48]

              at org.jboss.weld.util.reflection.SecureReflectionAccess.run(SecureReflectionAccess.java:52) ~[weld-core-1.1.21.Final.jar:2014-04-18 11:48]

              at org.jboss.weld.util.reflection.SecureReflectionAccess.runAsInvocation(SecureReflectionAccess.java:137) ~[weld-core-1.1.21.Final.jar:2014-04-18 11:48]

              at org.jboss.weld.util.reflection.SecureReflections.invoke(SecureReflections.java:263) ~[weld-core-1.1.21.Final.jar:2014-04-18 11:48]

              at org.jboss.weld.introspector.jlr.WeldMethodImpl.invoke(WeldMethodImpl.java:168) ~[weld-core-1.1.21.Final.jar:2014-04-18 11:48]

              at org.jboss.weld.bean.AbstractClassBean.defaultPostConstruct(AbstractClassBean.java:403) ~[weld-core-1.1.21.Final.jar:2014-04-18 11:48]

              ... 76 common frames omitted

      Caused by: org.uberfire.java.nio.file.FileSystemNotFoundException: Provider 'git' not found

              at org.uberfire.java.nio.file.api.FileSystemProviders.getProvider(FileSystemProviders.java:114) ~[uberfire-nio2-api-0.4.0.Final.jar:0.4.0.Final]

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

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

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

              at org.uberfire.io.impl.AbstractIOService.newFileSystem(AbstractIOService.java:261) ~[uberfire-io-0.4.0.Final.jar:0.4.0.Final]

              at org.uberfire.backend.server.config.ConfigurationServiceImpl.setup(ConfigurationServiceImpl.java:96) ~[uberfire-backend-server-0.4.0.Final.jar:0.4.0.Final]

              ... 86 common frames omitted