Skip to content

deploy-service is not working with the Postgres DB user provided service "deploy-service-database" #1299

@saratkumar123

Description

@saratkumar123

I tried deploying deploy-service application with a user-provided service. I was getting the below errors. I created the Postgres DB user provided service with the name deploy-service-database. This DB is hosted in our On-premise infrastructure.

Error message:
2023-04-03T06:51:14.16+0000 [APP/PROC/WEB/0] ERR SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
2023-04-03T06:51:14.16+0000 [APP/PROC/WEB/0] ERR SLF4J: Defaulting to no-operation (NOP) logger implementation
2023-04-03T06:51:14.16+0000 [APP/PROC/WEB/0] ERR SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
2023-04-03T06:51:14.49+0000 [APP/PROC/WEB/0] OUT [CONTAINER] lina.core.ContainerBase.[Catalina].[localhost].[/] SEVERE Exception sending context initialized event to listener instance of class [org.springframework.web.context.ContextLoaderListener]
2023-04-03T06:51:14.49+0000 [APP/PROC/WEB/0] OUT org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'defaultEntityManagerFactory' defined in class path resource [org/cloudfoundry/multiapps/controller/web/configuration/DatabaseConfiguration.class]: Unsatisfied dependency expressed through method 'defaultEntityManagerFactory' parameter 0; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dataSource' defined in class path resource [org/cloudfoundry/multiapps/controller/web/configuration/DatabaseConfiguration.class]: Invocation of init method failed; nested exception is java.lang.RuntimeException: Failed to get driver instance for jdbcUrl=jdbc:postgresql://10.32.17.16:5432/test?user=admin&password=

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions