Smarts NCM: Report Advisor Will Not Start and jboss log contains "Duplicate throwable nesting of same base type...VCApiCore.jar could not be opened" error
search cancel

Smarts NCM: Report Advisor Will Not Start and jboss log contains "Duplicate throwable nesting of same base type...VCApiCore.jar could not be opened" error

book

Article ID: 303531

calendar_today

Updated On:

Products

VMware

Issue/Introduction

Symptoms:




Smarts Network Configuration Manager (Smarts NCM) Report Advisor Will Not Start

Smarts NCM fails to start and jboss.log shows:

WARN  [org.jboss.util.NestedThrowable] (main) Duplicate throwable nesting of same base type: class org.jboss.deployment.DeploymentException is assignable from: class org.jboss.deployment.DeploymentException

 

ERROR [org.jboss.deployment.MainDeployer] (main) Could not initialise deployment:

file:/jboss/server/vc-server/deploy/30VCApi-4.1.0.sar/org.jboss.deployment.DeploymentException: Could not deploy sub deployment VCApiCore.jar of deployment file:/jboss/server/vc-server/deploy/30VCApi-4.1.0.sar/; - nested throwable:    

(org.jboss.deployment.DeploymentException: url file:/jboss/server/vc-server/deploy/30VCApi-4.1.0.sar/docs/samples/J2EE/lib/VCApiCore.jar could not be opened, does it exist?)       
at org.jboss.deployment.SubDeployerSupport.deployUrl(SubDeployerSupport.java:455)

 

Smarts NCM fails to start and jboss.log shows:  

VCApiCore.jar could not be opened, does it exist?



tomcat service in Smarts NCM environment will not start

404 Error when trying to access Smarts NCM Report Advisor

Environment

VMware Smart Assurance - NCM

Cause

 In the $Voyence_Home/jboss/server/vc-server/deploy/30VCApi-4.1.0.sar/docs directory, there is a samples.tar file. If the samples folder is extracted in the docs directory, jboss tries to reference the sample VCApiCore.jar file there before referencing the actual VCApiCore.jar in the 30VCApi-4.1.0.sar directory.

[root@ncm-2 30VCApi-4.1.0.sar]# ls -al
total 652
drwxrwx---  5 jboss voyence   4096 Nov 13 05:00 .
drwxrwx--- 12 jboss voyence   4096 Nov 13 05:29 ..
-rw-r-----  1 jboss voyence    321 Apr 13  2012 api_config.properties
drwxr-x---  3 jboss voyence   4096 Nov 13 05:00 api.war
drwxr-x---  3 jboss voyence   4096 Nov 13 05:01 docs
drwxr-x---  2 jboss voyence   4096 Nov 13 05:00 META-INF
-rw-r-----  1 jboss voyence 592920 Apr 13  2012 VCApiCore.jar
-rw-r-----  1 jboss voyence  42207 Apr 13  2012 VCApiEjb.jar

[root@ncm-2 docs]# ls -al
total 29556
drwxr-x--- 3 jboss voyence     4096 Nov 13 05:01 .
drwxrwx--- 5 jboss voyence     4096 Nov 15 03:53 ..
drwxr-x--- 4 jboss voyence     4096 Nov 13 05:01 javadoc
-rw-r----- 1 jboss voyence 15011840 Apr 13  2012 javadoc.tar
-rw-r----- 1 jboss voyence 15114240 Apr 13  2012 samples.tar
-rw-r----- 1 jboss voyence    79427 Apr 13  2012 VoyenceEvent.xsd

Resolution

When extracting the sample files, extract them to a different location than the /30VCApi-4.1.0.sar/docs directory.