2 Replies Latest reply on Mar 5, 2015 6:45 AM by Rodrigo Emygido

    Unable to deploy kie

    Rodrigo Emygido Newbie

      Hi everyone!

       

      I'm trying to deploy the kie on an external server but all the time I get this error:

       

      "JBAS014653: Composite operation failed and was rolled back. Steps that failed:" => {"Operation step-2" => {"JBAS014671: Failed services" => {"jboss.deployment.unit.\"kie-wb-6.3.0-SNAPSHOT-wildfly8.war\".WeldStartService" => "org.jboss.msc.service.StartException in service jboss.deployment.unit.\"kie-wb-6.3.0-SNAPSHOT-wildfly8.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.workbench.backend.AppSetup@e8cdda3

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

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

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

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

          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.backend.server.cdi.SystemConfigProducer.runPostConstruct(SystemConfigProducer.java:122)

          at org.uberfire.backend.server.cdi.SystemConfigProducer.afterDeploymentValidation(SystemConfigProducer.java:105)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

          ... 33 more

      Caused by: org.jboss.weld.exceptions.WeldException: WELD-000049: Unable to invoke public void org.guvnor.structure.backend.config.ConfigurationServiceImpl.setup() on org.guvnor.structure.backend.config.ConfigurationServiceImpl@32ef92c5

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

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

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

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

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

          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.guvnor.structure.backend.config.ConfigurationServiceImpl$Proxy$_$$_WeldClientProxy.endBatch(Unknown Source)

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

          ... 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:606)

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

          ... 47 more

      Caused by: java.lang.NullPointerException

          at org.uberfire.java.nio.file.api.FileSystemProviders.getProvider(FileSystemProviders.java:114)

          at org.uberfire.java.nio.file.api.FileSystemProviders.resolveProvider(FileSystemProviders.java:107)

          at org.uberfire.java.nio.file.FileSystems.newFileSystem(FileSystems.java:117)

          at org.uberfire.java.nio.file.FileSystems.newFileSystem(FileSystems.java:83)

          at org.uberfire.io.impl.AbstractIOService.newFileSystem(AbstractIOService.java:225)

          at org.uberfire.backend.server.cdi.SystemConfigProducer$2.create(SystemConfigProducer.java:237)

          at org.uberfire.backend.server.cdi.SystemConfigProducer$2.create(SystemConfigProducer.java:172)

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

          at org.jboss.weld.proxies.FileSystem$1366014920$Proxy$_$$_WeldClientProxy.getRootDirectories(Unknown Source)

          at org.guvnor.structure.backend.config.ConfigurationServiceImpl.setup(ConfigurationServiceImpl.java:106)

          ... 52 more

      Extra Information below:

       

      Into this server I have a wildfly 8.2 running as a service. In the standalone.conf I added the following line:

      JAVA_OPTS="$JAVA_OPTS -Dorg.kie.demo=false"

       

      I checked the server.log  and I see the property org.kie.demo  set as can you see below:

      2015-03-02 20:01:30,066 DEBUG [org.jboss.as.config] (MSC service thread 1-7) VM Arguments: -D[Standalone] -Xms64m -Xmx512m -XX:MaxPermSize=1024m -Djava.net.preferIPv4Stack=true -Djboss.modules.system.pkgs=org.jboss.byteman -Djava.awt.headless=true -Dorg.kie.demo=false

       

      All the time I try deploy the kie-wb-6.3.0-SNAPSHOT-wildfly8.war I had the same problem.

      Anybody has some idea how can I resolve that?

       

       

      Thanks