-
Bug
-
Resolution: Done
-
High
-
El Alto Release
-
None
-
10.12.6.40
-
Policy R5/R6 4 9/7-9/20
At first, it seems that there is a bad interaction or race condition when AAF is enabled (the AAF cadi filter is loaded) causing the usecases controller to fail initialization, the underlying aether libraries fail with SSL certificate errors. This has been seen in 2 labs and in both disabling AAF (and therefore the Cadi Filter) has solved the problem.
2019-09-19T19:18:00.982+00:00|ERROR|AggregatedPolicyController|main] AggregatedPolicyController [name=usecases, alive=false, locked=false, droolsController=null]: cannot init-drools because of org.eclipse.aether.collection.DependencyCollectionException: Failed to read artifact descriptor for org.onap.policy.drools-applications.controlloop.common:controller-usecases:jar:1.5.2
java.lang.RuntimeException: org.eclipse.aether.collection.DependencyCollectionException: Failed to read artifact descriptor for org.onap.policy.drools-applications.controlloop.common:controller-usecases:jar:1.5.2
at org.kie.scanner.MavenRepository.getArtifactDependecies(MavenRepository.java:121)
at org.kie.scanner.ArtifactResolver.getArtifactDependecies(ArtifactResolver.java:72)
at org.kie.scanner.KieRepositoryScannerImpl.buildArtifact(KieRepositoryScannerImpl.java:170)
at org.kie.scanner.KieRepositoryScannerImpl.loadArtifact(KieRepositoryScannerImpl.java:127)
at org.kie.scanner.KieRepositoryScannerImpl.loadArtifact(KieRepositoryScannerImpl.java:122)
at org.drools.compiler.kie.builder.impl.KieRepositoryImpl.loadKieModuleFromMavenRepo(KieRepositoryImpl.java:154)
at org.drools.compiler.kie.builder.impl.KieRepositoryImpl.getKieModule(KieRepositoryImpl.java:140)
at org.drools.compiler.kie.builder.impl.KieRepositoryImpl.getKieModule(KieRepositoryImpl.java:117)
at org.drools.compiler.kie.builder.impl.KieServicesImpl.newKieContainer(KieServicesImpl.java:184)
at org.drools.compiler.kie.builder.impl.KieServicesImpl.newKieContainer(KieServicesImpl.java:172)
at org.onap.policy.drools.core.PolicyContainer.<init>(PolicyContainer.java:108)
at org.onap.policy.drools.core.PolicyContainer.<init>(PolicyContainer.java:89)
at org.onap.policy.drools.controller.internal.MavenDroolsController.makePolicyContainer(MavenDroolsController.java:991)
at org.onap.policy.drools.controller.internal.MavenDroolsController.<init>(MavenDroolsController.java:158)
at org.onap.policy.drools.controller.IndexedDroolsControllerFactory.build(IndexedDroolsControllerFactory.java:152)
at org.onap.policy.drools.controller.IndexedDroolsControllerFactory.build(IndexedDroolsControllerFactory.java:101)
at org.onap.policy.drools.system.internal.AggregatedPolicyController.initDrools(AggregatedPolicyController.java:193)
at org.onap.policy.drools.system.internal.AggregatedPolicyController.<init>(AggregatedPolicyController.java:139)
at org.onap.policy.drools.system.IndexedPolicyControllerFactory.newPolicyController(IndexedPolicyControllerFactory.java:382)
at org.onap.policy.drools.system.IndexedPolicyControllerFactory.build(IndexedPolicyControllerFactory.java:80)
Caused by: org.eclipse.aether.collection.DependencyCollectionException: Failed to read artifact descriptor for org.onap.policy.drools-applications.controlloop.common:controller-usecases:jar:1.5.2
at org.eclipse.aether.internal.impl.DefaultDependencyCollector.collectDependencies(DefaultDependencyCollector.java:208)
at org.eclipse.aether.internal.impl.DefaultRepositorySystem.collectDependencies(DefaultRepositorySystem.java:316)
at org.kie.scanner.MavenRepository.getArtifactDependecies(MavenRepository.java:119)
... 21 common frames omitted
Caused by: org.eclipse.aether.resolution.ArtifactDescriptorException: Failed to read artifact descriptor for org.onap.policy.drools-applications.controlloop.common:controller-usecases:jar:1.5.2
at org.apache.maven.repository.internal.DefaultArtifactDescriptorReader.loadPom(DefaultArtifactDescriptorReader.java:337)
at org.apache.maven.repository.internal.DefaultArtifactDescriptorReader.readArtifactDescriptor(DefaultArtifactDescriptorReader.java:217)
at org.eclipse.aether.internal.impl.DefaultDependencyCollector.collectDependencies(DefaultDependencyCollector.java:202)
... 23 common frames omitted
Caused by: org.apache.maven.model.resolution.UnresolvableModelException: Could not transfer artifact org.onap.policy.drools-applications.controlloop.common:common:pom:1.5.2 from/to onap-releases (https://nexus.onap.org/content/repositories/releases/): sun.security.validator.ValidatorException: Certificate chaining error
at org.apache.maven.repository.internal.DefaultModelResolver.resolveModel(DefaultModelResolver.java:177)
at org.apache.maven.repository.internal.DefaultModelResolver.resolveModel(DefaultModelResolver.java:226)
at org.apache.maven.model.building.DefaultModelBuilder.readParentExternally(DefaultModelBuilder.java:899)
at org.apache.maven.model.building.DefaultModelBuilder.readParent(DefaultModelBuilder.java:751)
at org.apache.maven.model.building.DefaultModelBuilder.build(DefaultModelBuilder.java:309)
at org.apache.maven.repository.internal.DefaultArtifactDescriptorReader.loadPom(DefaultArtifactDescriptorReader.java:328)
... 25 common frames omitted
Caused by: org.eclipse.aether.resolution.ArtifactResolutionException: Could not transfer artifact org.onap.policy.drools-applications.controlloop.common:common:pom:1.5.2 from/to onap-releases (https://nexus.onap.org/content/repositories/releases/): sun.security.validator.ValidatorException: Certificate chaining error
aused by: org.eclipse.aether.resolution.ArtifactResolutionException: Could not transfer artifact org.onap.policy.drools-applications.controlloop.common:common:pom:1.5.2 from/to onap-releases (https://nexus.onap.org/content/repositories/releases/): sun.security.validator.ValidatorException: Certificate chaining error
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.DefaultModelResolver.resolveModel(DefaultModelResolver.java:173)
... 30 common frames omitted
Caused by: org.eclipse.aether.transfer.ArtifactTransferException: Could not transfer artifact org.onap.policy.drools-applications.controlloop.common:common:pom:1.5.2 from/to onap-releases (https://nexus.onap.org/content/repositories/releases/): sun.security.validator.ValidatorException: Certificate chaining error
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)
... 33 common frames omitted
Caused by: javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: Certificate chaining error
at sun.security.ssl.Alerts.getSSLException(Alerts.java:192)
at sun.security.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1946)
at sun.security.ssl.Handshaker.fatalSE(Handshaker.java:316)
at sun.security.ssl.Handshaker.fatalSE(Handshaker.java:310)
at sun.security.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:1639)
at sun.security.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:223)
at sun.security.ssl.Handshaker.processLoop(Handshaker.java:1037)
at sun.security.ssl.Handshaker.process_record(Handshaker.java:965)
at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:1064)
- relates to
-
POLICY-2111 PDP-D APPS: AAF Cadi conflicts with Aether libraries
- Closed
- mentioned in
-
Page Loading...