3 Replies Latest reply on Sep 8, 2017 10:29 AM by Laura delli Paoli

    Error when deploying jbpm-6.5 offiline

    Laura delli Paoli Master

      Hi,

      I'm having trouble in deploying jbpm 6.5 in an offline environment (I set KIE_DEMO variable to false). When I start wildfly I get the errors reported below.

       

      Can anyone help me?

       

      Laura

       

       

      2017-07-15 17:44:21,577 ERROR [org.kie.api.builder.KieScanner] (MSC service thread 1-1) Unable to create MavenProject from InputStream: org.kie.scanner.embedder.MavenEmbedderException: Failed to read artifact descriptor for junit:junit:jar:4.12

      at org.kie.scanner.embedder.MavenEmbedder.readProject(MavenEmbedder.java:298)

      at org.kie.scanner.embedder.MavenProjectLoader.parseMavenPom(MavenProjectLoader.java:62)

      at org.kie.scanner.embedder.MavenProjectLoader.parseMavenPom(MavenProjectLoader.java:55)

      at org.kie.scanner.MavenPomModelGenerator.parse(MavenPomModelGenerator.java:33)

      at org.drools.compiler.kproject.xml.PomModel$Parser.parse(PomModel.java:110)

      at org.drools.compiler.kie.builder.impl.AbstractKieModule.getPomModel(AbstractKieModule.java:436)

      at org.drools.compiler.kie.builder.impl.AbstractKieModule.getJarDependencies(AbstractKieModule.java:130)

      at org.kie.scanner.MavenClassLoaderResolver.getClassLoader(MavenClassLoaderResolver.java:65)

      at org.drools.compiler.kie.builder.impl.KieModuleKieProject.<init>(KieModuleKieProject.java:68)

      at org.drools.compiler.kie.builder.impl.KieServicesImpl.newKieContainer(KieServicesImpl.java:188)

      at org.drools.compiler.kie.builder.impl.KieServicesImpl.newKieContainer(KieServicesImpl.java:172)

      at org.jbpm.kie.services.impl.KModuleDeploymentService.deploy(KModuleDeploymentService.java:136)

      at org.jbpm.services.cdi.impl.DeploymentServiceCDIImpl$Proxy$_$$_WeldClientProxy.deploy(Unknown Source)

      at org.jbpm.console.ng.bd.backend.server.DeploymentManagerEntryPointImpl.initDeployments(DeploymentManagerEntryPointImpl.java:128)

      at org.jbpm.console.ng.bd.backend.server.DeploymentManagerEntryPointImpl$Proxy$_$$_WeldClientProxy.initDeployments(Unknown Source)

      at org.jbpm.console.ng.bd.backend.server.AdministrationServiceImpl.bootstrapDeployments(AdministrationServiceImpl.java:194)

      at org.jbpm.console.ng.bd.backend.server.AdministrationServiceImpl$Proxy$_$$_WeldClientProxy.bootstrapDeployments(Unknown Source)

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

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

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

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

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

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

      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.bean.ManagedBean.create(ManagedBean.java:171)

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

      at org.jboss.weld.bean.ContextualInstanceStrategy$DefaultContextualInstanceStrategy.get(ContextualInstanceStrategy.java:101)

      at org.jboss.weld.bean.ContextualInstanceStrategy$ApplicationScopedContextualInstanceStrategy.get(ContextualInstanceStrategy.java:141)

      at org.jboss.weld.bean.ContextualInstance.get(ContextualInstance.java:50)

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

      at org.jboss.weld.bean.proxy.ProxyMethodHandler.getInstance(ProxyMethodHandler.java:125)

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

      at org.uberfire.backend.server.cdi.SystemConfigProducer.runPostConstruct(SystemConfigProducer.java:162)

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

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

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

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

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

      at org.jboss.weld.injection.StaticMethodInjectionPoint.invoke(StaticMethodInjectionPoint.java:88)

      at org.jboss.weld.injection.MethodInvocationStrategy$SpecialParamPlusBeanManagerStrategy.invoke(MethodInvocationStrategy.java:144)

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

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

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

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

      at org.jboss.weld.event.ObserverNotifier.notifySyncObservers(ObserverNotifier.java:271)

      at org.jboss.weld.event.ObserverNotifier.notify(ObserverNotifier.java:260)

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

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

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

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

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

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

      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)

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

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

      Caused by: org.eclipse.aether.resolution.ArtifactDescriptorException: Failed to read artifact descriptor for junit:junit:jar:4.12

      at org.apache.maven.repository.internal.DefaultArtifactDescriptorReader.loadPom(DefaultArtifactDescriptorReader.java:302)

      at org.apache.maven.repository.internal.DefaultArtifactDescriptorReader.readArtifactDescriptor(DefaultArtifactDescriptorReader.java:217)

      at org.eclipse.aether.internal.impl.DefaultDependencyCollector.resolveCachedArtifactDescriptor(DefaultDependencyCollector.java:525)

      at org.eclipse.aether.internal.impl.DefaultDependencyCollector.getArtifactDescriptorResult(DefaultDependencyCollector.java:509)

      at org.eclipse.aether.internal.impl.DefaultDependencyCollector.processDependency(DefaultDependencyCollector.java:409)

      at org.eclipse.aether.internal.impl.DefaultDependencyCollector.processDependency(DefaultDependencyCollector.java:363)

      at org.eclipse.aether.internal.impl.DefaultDependencyCollector.process(DefaultDependencyCollector.java:351)

      at org.eclipse.aether.internal.impl.DefaultDependencyCollector.collectDependencies(DefaultDependencyCollector.java:254)

      at org.eclipse.aether.internal.impl.DefaultRepositorySystem.collectDependencies(DefaultRepositorySystem.java:316)

      at org.apache.maven.project.DefaultProjectDependenciesResolver.resolve(DefaultProjectDependenciesResolver.java:172)

      at org.apache.maven.project.DefaultProjectBuilder.resolveDependencies(DefaultProjectBuilder.java:213)

      at org.apache.maven.project.DefaultProjectBuilder.build(DefaultProjectBuilder.java:186)

      at org.apache.maven.project.DefaultProjectBuilder.build(DefaultProjectBuilder.java:124)

      at org.kie.scanner.embedder.MavenEmbedder.readProject(MavenEmbedder.java:293)

      ... 59 more

      Caused by: org.eclipse.aether.resolution.ArtifactResolutionException: Could not transfer artifact junit:junit:pom:4.12 from/to central (https://repo.maven.apache.org/maven2): Connection refused (Connection refused)

      at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:444)

      at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolveArtifacts(DefaultArtifactResolver.java:246)

      at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolveArtifact(DefaultArtifactResolver.java:223)

      at org.apache.maven.repository.internal.DefaultArtifactDescriptorReader.loadPom(DefaultArtifactDescriptorReader.java:287)

      ... 72 more

      Caused by: org.eclipse.aether.transfer.ArtifactTransferException: Could not transfer artifact junit:junit:pom:4.12 from/to central (https://repo.maven.apache.org/maven2): Connection refused (Connection refused)

      at org.eclipse.aether.connector.basic.ArtifactTransportListener.transferFailed(ArtifactTransportListener.java:43)

      at org.eclipse.aether.connector.basic.BasicRepositoryConnector$TaskRunner.run(BasicRepositoryConnector.java:355)

      at org.eclipse.aether.util.concurrency.RunnableErrorForwarder$1.run(RunnableErrorForwarder.java:67)

      at org.eclipse.aether.connector.basic.BasicRepositoryConnector$DirectExecutor.execute(BasicRepositoryConnector.java:581)

      at org.eclipse.aether.connector.basic.BasicRepositoryConnector.get(BasicRepositoryConnector.java:249)

      at org.eclipse.aether.internal.impl.DefaultArtifactResolver.performDownloads(DefaultArtifactResolver.java:520)

      at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:421)

      ... 75 more

      Caused by: java.net.ConnectException: Connection refused (Connection refused)

      at java.net.PlainSocketImpl.socketConnect(Native Method)

      at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350)

      at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)

      at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)

      at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)

      at java.net.Socket.connect(Socket.java:589)

      at sun.security.ssl.SSLSocketImpl.connect(SSLSocketImpl.java:673)

      at org.apache.http.conn.ssl.SSLSocketFactory.connectSocket(SSLSocketFactory.java:524)

      at org.apache.http.conn.ssl.SSLSocketFactory.connectSocket(SSLSocketFactory.java:403)

      at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:177)

      at org.apache.http.impl.conn.ManagedClientConnectionImpl.open(ManagedClientConnectionImpl.java:304)

      at org.apache.http.impl.client.DefaultRequestDirector.tryConnect(DefaultRequestDirector.java:611)

      at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:446)

      at org.apache.http.impl.client.AbstractHttpClient.doExecute(AbstractHttpClient.java:863)

      at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:72)

      at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:57)

      at org.apache.http.impl.client.DecompressingHttpClient.execute(DecompressingHttpClient.java:158)

      at org.eclipse.aether.transport.http.HttpTransporter.execute(HttpTransporter.java:279)

      at org.eclipse.aether.transport.http.HttpTransporter.implGet(HttpTransporter.java:235)

      at org.eclipse.aether.spi.connector.transport.AbstractTransporter.get(AbstractTransporter.java:59)

      at org.eclipse.aether.connector.basic.BasicRepositoryConnector$GetTaskRunner.runTask(BasicRepositoryConnector.java:447)

      at org.eclipse.aether.connector.basic.BasicRepositoryConnector$TaskRunner.run(BasicRepositoryConnector.java:350)

      ... 80 more