NullPointerException occurred during availability check for Tomcat Server in JBoss ON
Issue
Tomcat server
is in inventory but unavailable- Two
services
are configured in tomcat'sserver.xml
but only one service is visible inJON
. HowJON
has to be configured so that both theservices
are visible? - Availability check fails with
NullPointerException
2015-10-08 16:44:10,182 DEBUG [ResourceContainer.invoker.availCheck.daemon-14] (jboss.on.plugins.tomcat.TomcatServerComponent)- An exception occurred during availability check for Tomcat Server Resource with key ....].
java.lang.NullPointerException
at org.jboss.on.plugins.tomcat.TomcatServerComponent.getAvailability(TomcatServerComponent.java:386)
at org.rhq.core.pc.inventory.AvailabilityProxy.call(AvailabilityProxy.java:143)
at org.rhq.core.pc.inventory.AvailabilityProxy.call(AvailabilityProxy.java:52)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
at java.lang.Thread.run(Thread.java:682)
Environment
- Red Hat JBoss Operations Network (ON) 3.3
- Red Hat Enterprise Web Server (Tomcat)
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.