Hello,
Im having issues while trying to use the connector on a regular spring-boot war deployed artifact on tomcat. So far i have seen the following:
- With the regular jdbc connector, the jdbc driver gets registered on the driver manager when attempting the connection. This works.
- When using the secrets manager connector, the first connection attempt registers AWSSecretsManagerDriver as expected but when it tries to get the underlying driver (in this case the jdbc real driver) the driver isnt registered in the drivermanager, thus failing with "No Driver has been registered with name".
Setup is:
-Packaging type: war
-Spring boot version: 1.3.5.RELEASE with the following starters:
<dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-jdbc</artifactId> </dependency> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-web</artifactId> </dependency> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-actuator</artifactId> </dependency>
-Aws secretsmanager jdbc version: 1.0.2
This is happening only when the artifact is a war file and not jar launched application, with the embedded tomcat instead of the external one.
Some guidance would be appreciated.
Hello,
Im having issues while trying to use the connector on a regular spring-boot war deployed artifact on tomcat. So far i have seen the following:
Setup is:
-Packaging type: war
-Spring boot version: 1.3.5.RELEASE with the following starters:
<dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-jdbc</artifactId> </dependency> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-web</artifactId> </dependency> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-actuator</artifactId> </dependency>-Aws secretsmanager jdbc version: 1.0.2
This is happening only when the artifact is a war file and not jar launched application, with the embedded tomcat instead of the external one.
Some guidance would be appreciated.