J

Monday, July 18th, 2022 9:04 PM

New Cognos Integration and Springboot integration library package issue

Helllo,

I am using the Collibra Integration Library v1.1.8 and IBM Cognos to Collibra Integration v1.0.4 (Spring Boot) but when I try to run the project it is giving me the following error.

org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name ‘transformerCognosStructure’ defined in file [C:\Users\juarora\Downloads\sbi-cognos-integration-1.0.4\sbi-cognos-integration-1.0.4\target\classes\com\collibra\marketplace\cognos\component\TransformerCognosStructure.class]: Unsatisfied dependency expressed through constructor parameter 1; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name ‘collibraImportApiHelper’ defined in URL [jar:file:/C:/Users/juarora/.m2/repository/com/collibra/marketplace/collibra-integration-library/1.1.8/collibra-integration-library-1.1.8.jar!/com/collibra/marketplace/library/integration/CollibraImportApiHelper.class]: Unsatisfied dependency expressed through constructor parameter 1; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘internalSharedLibraryConnection’: Invocation of init method failed; nested exception is com.collibra.marketplace.library.integration.exception.CollibraIntegrationLibraryException: {“message”:“An unexpected error occurred during execution.”,“details”:“javax.net.ssl.SSLHandshakeException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target”,“cause”:“PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target”}
at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:800) ~[spring-beans-5.3.18.jar:5.3.18]
at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:229) ~[spring-beans-5.3.18.jar:5.3.18]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1372) ~[spring-beans-5.3.18.jar:5.3.18]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1222) ~[spring-beans-5.3.18.jar:5.3.18]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:582) ~[spring-beans-5.3.18.jar:5.3.18]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:542) ~[spring-beans-5.3.18.jar:5.3.18]
at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:335) ~[spring-beans-5.3.18.jar:5.3.18]
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234) ~[spring-beans-5.3.18.jar:5.3.18]
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:333) ~[spring-beans-5.3.18.jar:5.3.18]
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:208) ~[spring-beans-5.3.18.jar:5.3.18]
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:953) ~[spring-beans-5.3.18.jar:5.3.18]
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:918) ~[spring-context-5.3.18.jar:5.3.18]
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:583) ~[spring-context-5.3.18.jar:5.3.18]
at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:145) ~[spring-boot-2.5.12.jar:2.5.12]
at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:775) ~[spring-boot-2.5.12.jar:2.5.12]
at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:448) ~[spring-boot-2.5.12.jar:2.5.12]
at org.springframework.boot.SpringApplication.run(SpringApplication.java:339) ~[spring-boot-2.5.12.jar:2.5.12]
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1365) ~[spring-boot-2.5.12.jar:2.5.12]
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1354) ~[spring-boot-2.5.12.jar:2.5.12]
at com.collibra.marketplace.cognos.Application.main(Application.java:24) ~[classes/:?]

Is there any dependency for the new packages?

Best,
Jubin

368 Messages

2 years ago

Hello @jubin.arora.1,

Thanks for trying the IBM Congos to Collibra integration.

Regarding the error encountered, can you please confirm the following:

  • Whether the error is during the deployment or when triggering the integration?
  • Whether SSL is enabled on the integration listening endpoint?
  • What is the version of your Collibra instance?
  • Whether the Collibra instance is an on-premise or cloud version?

Moreover, referring to the latest version (v1.1.8) of the Collibra Integration Library documentation, can you please try adding your Collibra instance SSL certificates to the Java cacerts KeyStore as explained in section " Adding the Collibra Instance Certificate to Java cacerts KeyStore" ? Thanks

3 Messages

2 years ago

  • Whether the error is during the deployment or when triggering the integration?
    During deployment
  • Whether SSL is enabled on the integration listening endpoint?
    No
  • What is the version of your Collibra instance?
    Collibra 5.7.7-7
  • Whether the Collibra instance is an on-premise or cloud version?
    On prem

368 Messages

2 years ago

Hello @jubin.arora.1 ,

Thanks for the information provided.

Can you please confirm whether adding the Collibra instance certificate to the Java cacerts KeyStore file works?

Loading...