Warning in wasp.log after deploying webservices_rest

Document ID : KB000046652
Last Modified Date : 14/02/2018
Show Technical Document Details

Issue:

After deploying webservices_rest version 8.40 or version 8.43, the following entry may be seen in wasp.log:

Sep 15 12:09:49:383 WARN  [main, org.apache.catalina.core.ContainerBase.[wasp-engine].[localhost].[]] Unable to determine web application context.xml C:\Program Files (x86)\Nimsoft\probes\service\wasp\webapps\webservices-rest
Sep 15 12:09:49:383 WARN  [main, org.apache.catalina.core.ContainerBase.[wasp-engine].[localhost].[]] java.io.FileNotFoundException: C:\Program Files (x86)\Nimsoft\probes\service\wasp\webapps\webservices-rest (The system cannot find the file specified)
                    at java.util.zip.ZipFile.open(Native Method)
                    at java.util.zip.ZipFile.<init>(Unknown Source)
                    at java.util.zip.ZipFile.<init>(Unknown Source)
                    at java.util.jar.JarFile.<init>(Unknown Source)
                    at java.util.jar.JarFile.<init>(Unknown Source)
                    at org.apache.catalina.startup.Tomcat.getWebappConfigFileFromJar(Tomcat.java:1198)
                    at org.apache.catalina.startup.Tomcat.getWebappConfigFile(Tomcat.java:1176)
                    at org.apache.catalina.startup.Tomcat.addWebapp(Tomcat.java:551)
                    at org.apache.catalina.startup.Tomcat.addWebapp(Tomcat.java:532)
                    at org.apache.catalina.startup.Tomcat.addWebapp(Tomcat.java:215)
                    at com.nimsoft.nimbus.probe.service.wasp.Probe.loadWebapp(Probe.java:1109)
                    at com.nimsoft.nimbus.probe.service.wasp.Probe.doit(Probe.java:453)
                    at com.nimsoft.nimbus.probe.service.wasp.Probe.main(Probe.java:68)

 

Resolution:

This warning is cosmetic, has no impact on the functionality of webservices_rest and can be safely ignored, however if you would like to suppress the warning, follow the steps below.

  1. Access your UMP server either via RDP or SSH.
  2. Navigate to the Nimsoft\probes\services\wasp\webapps directory
  3. Create a new directory called webservices-rest

After the above steps are performed, the error message will be suppressed on wasp startup.