Network Notification are blank following Solution Pack Deployment
search cancel

Network Notification are blank following Solution Pack Deployment

book

Article ID: 333334

calendar_today

Updated On:

Products

VMware Smart Assurance

Issue/Introduction

Unable to monitor Network Notifications from Smarts All>>Operations>>Network>>Notifications the report generates a blank report.

Following the successful installation of the Smarts Solution pack and EDAA Server, when trying to view network notifications the page remains blank. All indications is the logs appear to be working fine. The only error you will find will be found in the apg-tomcat-default.out.




Environment

Watch4Net/MnR - 7.x
Smarts - 10.1.x

Cause

Error found in <APG_Base>/Web-Servers/Tomcat/Default/logs/apg-tomcat-default.out
Hibernate: delete from SERVICETICKET where ID=?
DojoViews initialization error:
javax.naming.NameNotFoundException: Name APG-DB is not bound in this Context
                at org.apache.naming.NamingContext.lookup(NamingContext.java:770)
                .

                .
                at java.lang.Thread.run(Thread.java:744)
Unable to get apg and master Database Datasource from Container.
net.sf.ehcache.CacheException: Error configuring from input stream. Initial cause was null
                at net.sf.ehcache.config.ConfigurationFactory.parseConfiguration(ConfigurationFactory.java:159)
                .

                .
                at java.lang.Thread.run(Thread.java:744)
Caused by: java.lang.NullPointerException
                at java.io.Reader.<init>(Reader.java:78)
                .

                .
                ... 21 more

Resolution

On the Frontend host user need to modify dojoviews.xml to reference each DB instance from the Global which is in the server.xml

Linux Path: <APG_Base>/Web-Servers/Tomcat/Default/conf/Catalina/localhost/dojoviews.xml

Example:
<?xml version="1.0" encoding="UTF-8"?>
<Context reloadable="false">
  <ResourceLink name="jdbc/master" global="jdbc/master" type="javax.sql.DataSource"/>
  <ResourceLink name="jdbc/APG-DB1" global="jdbc/APG-DB1" type="javax.sql.DataSource"/>
  <ResourceLink name="jdbc/APG-DB2" global="jdbc/APG-DB2" type="javax.sql.DataSource"/>
  <ResourceLink name="jdbc/APG-DB3" global="jdbc/APG-DB3" type="javax.sql.DataSource"/>
  <ResourceLink name="jdbc/APG-DB4" global="jdbc/APG-DB4" type="javax.sql.DataSource"/>

</Context>
Restart Tomcat.