G

Tuesday, June 28th, 2022 2:40 AM

Spring Boot - Connectivity Issues

Hi,

I am using the following template downloaded from the Collibra market place:

  • sbi-template-in-memory-database-source-1.0.2

I modified it according with our use case and provided all the configuration details in the file:

  • application.properties

The project compiles correctly and starts fine.
However when it tries to authenticate with the Collibra platform it rans into the following error.
I would appreciate your help regarding this issue.

2022-06-27 20:00:17,329 [main] INFO com.collibra.marketplace.library.integration.InternalSharedLibraryConnection - Authenticating with the Collibra Platform…
2022-06-27 20:00:17,382 [main] WARN org.springframework.boot.web.servlet.context.AnnotationConfigServletWebServerApplicationContext - Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name ‘entryPointController’ defined in file [C:\Work\Projects\Collibra\collibra-api-templates\mssql-to-collibra-integration\target\classes\com\collibra\marketplace\template\sync\db\sample\controller\EntryPointController.class]: Unsatisfied dependency expressed through constructor parameter 2; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name ‘integrationProcessorService’ defined in file [C:\Work\Projects\Collibra\collibra-api-templates\mssql-to-collibra-integration\target\classes\com\collibra\marketplace\template\sync\db\sample\service\IntegrationProcessorService.class]: Unsatisfied dependency expressed through constructor parameter 0; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name ‘collibraImportApiHelper’ defined in URL [jar:file:/C:/Users/haha/.m2/repository/com/collibra/marketplace/collibra-integration-library/1.1.6/collibra-integration-library-1.1.6.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”:“Schema specific part is opaque.”}

678 Messages

 • 

14.4K Points

2 years ago

@spring-team.collibra.com Can you help with this issue?

368 Messages

2 years ago

Hello @gheorghe.kobori,

Thanks for trying the Database to Collibra integration.

Can you please confirm that the following application properties are set as follows:

  • collibra.url -> The Collibra Cloud instance url. Example: https://<subdomain>.collibra.com
  • collibra.username -> The username used to authenticate with the Collibra instance
  • collibra.password -> The password used to authenticate with the Collibra instance

Additionally, can you please confirm that the Collibra Integration Library JAR file (downloaded from Collibra Marketplace) was installed in your local Maven repository using the following Maven command:

 mvn org.apache.maven.plugins:maven-install-plugin:3.0.0-M1:install-file -Dfile=<path-to-jar-file>

where:

  • <path-to-jar-file> should be repalced with the path and name of the download JAR file

Moreover:

  • Which version of the Collibra Integration Library was installed please?
  • What is the version of you Collibra instance? (can be determined from the Collibra Settings page)

Thank you

12 Messages

2 years ago

Hi @spring-team.collibra.com,

Thank you for your prompt answer.
I confirm everything is set as you mentioned.
I used the Collibra Spring Boot 1.1.6
Our Collibra DEV instance version is: 2022.06.1-37 and build number: 20220622135035

All the best,
Alex

368 Messages

Hi @gheorghe.kobori ,

We have tried replicating the error message you encountered and noticed that we were receiving the same error on incorrect input of the collibra.url property in the application.properties file. Is it possible to check whether the property is in the following format please:
https://<instance-name>.collibra.com
where <instance-name> should be replaced with your Collibra instance sub-domain

Thanks

12 Messages

2 years ago

Hi,

Thanks a lot for your help.

678 Messages

 • 

14.4K Points

@gheorghe.kobori Can you confirm that this solved your issue by marking the last post from the Spring Team as solution? Thank you!

12 Messages

2 years ago

Hi Kristen,

Yes is solved .

Loading...