search cancel

Debug 'NotificationPersistenceService' exceptions in the VNA gateway.log


Article ID: 242333


Updated On:


CA Spectrum DX NetOps CA Virtual Network Assurance


In the VNA gateway.log we see notification persistence exceptions:

2022-05-20 07:53:20,898 ERROR (Thread-1108 (ActiveMQ-client-global-threads)) [NOTIFICATION_PERSISTENCE_SERVICE] NotificationPersistenceService 413 Unable to complete notification persistence action. Reason: javax.persistence.PersistenceException: org.hibernate.exception.GenericJDBCException: could not prepare statement , For more details enable the TRACE mode


Release : 21.2

Component : Virtual Network Assurance For CA Spectrum


To troubleshoot, enable the notification persistence service debugs as follows:

1) Go to: <VNA_HOME>/wildfly/bin directory (e.g. /opt/CA/VNA//wildfly/bin)

2) Run:  ./

3) Enter:  connect

or do:   <VNA_HOME>/wildfly/bin/ --connect

4) Run the following command to set the debug level for the category:

5) Wait for 2-3 polls and collect the folders generated in step 4.

Also collect logs folder from 

6) After collecting the logs revert back the log level to INFO.