summaryrefslogtreecommitdiffstats
path: root/docs/sections/services/son-handler
diff options
context:
space:
mode:
authorVENKATESH KUMAR <vv770d@att.com>2020-11-12 15:00:02 -0500
committerVENKATESH KUMAR <vv770d@att.com>2020-11-12 22:30:51 -0500
commite21c848562599340a99fc216bdaae97686d92a72 (patch)
tree65a3446cccde840220e3e2be2b53ee16d0bad7b4 /docs/sections/services/son-handler
parent2cf33d0d1cecad5a309d428aa44f7740ca48032e (diff)
DCAE doc cleanup warnings
Change-Id: I39daca57d4754abe0db56a7f85e7274a5f45ad74 Signed-off-by: VENKATESH KUMAR <vv770d@att.com> Issue-ID: DCAEGEN2-2141 Signed-off-by: VENKATESH KUMAR <vv770d@att.com>
Diffstat (limited to 'docs/sections/services/son-handler')
-rw-r--r--docs/sections/services/son-handler/son_handler_troubleshooting.rst4
1 files changed, 3 insertions, 1 deletions
diff --git a/docs/sections/services/son-handler/son_handler_troubleshooting.rst b/docs/sections/services/son-handler/son_handler_troubleshooting.rst
index 98dde1d1..644b0826 100644
--- a/docs/sections/services/son-handler/son_handler_troubleshooting.rst
+++ b/docs/sections/services/son-handler/son_handler_troubleshooting.rst
@@ -6,13 +6,15 @@ Troubleshooting steps
Possible reasons & Solutions:
1. Microservice is not registered with the consul
- Check the consul if the microservice is registered with it and the MS is able to fetch the app config from the CBS. Check if CBS and consul are deployed properly and try to redeploy the MS
+
The below logs will be seen if CBS is not reachable by the MS
- 15:14:13.861 [main] WARN org.postgresql.Driver - JDBC URL port: 0 not valid (1:65535)
+ 15:14:13.861 [main] WARN org.postgresql.Driver - JDBC URL port: 0 not valid (1:65535)
15:14:13.862 [main] WARN o.s.b.w.s.c.AnnotationConfigServletWebServerApplicationContext - Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'org.springframework.boot.autoconfigure.orm.jpa.HibernateJpaConfiguration': Unsatisfied dependency expressed through constructor parameter 0; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dataSource' defined in org.onap.dcaegen2.services.sonhms.Application: Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.boot.autoconfigure.jdbc.DataSourceInitializerInvoker': Invocation of init method failed; nested exception is org.springframework.jdbc.datasource.init.UncategorizedScriptException: Failed to execute database script; nested exception is java.lang.RuntimeException: Driver org.postgresql.Driver claims to not accept jdbcUrl, jdbc:postgresql://null:0/sonhms
15:14:13.865 [main] INFO o.a.catalina.core.StandardService - Stopping service [Tomcat]
15:14:13.877 [main] INFO o.s.b.a.l.ConditionEvaluationReportLoggingListener - Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled.
15:14:13.880 [main] ERROR o.s.boot.SpringApplication - Application run failed
+
2. MS is not able to fetch the config policies from the policy handler.
- Check if the config policy for the MS is created and pushed into the policy module. The below logs will be seen if the config policies are not available.