JBoss ON unable to discover Apache httpd due to java.lang.StackOverflowError

Solution Unverified - Updated -

Issue

  • agent.log contains warning similar to:

    2017-01-18 10:21:37,102 WARN  [InventoryManager.discovery-1] (rhq.core.pc.inventory.InventoryManager)- Failure during discovery for [Apache HTTP Server] Resources - failed after 397 ms.
    java.lang.Exception: Discovery component invocation failed.
    at org.rhq.core.pc.util.DiscoveryComponentProxyFactory$ComponentInvocationThread.call(DiscoveryComponentProxyFactory.java:309)
    at java.util.concurrent.FutureTask.run(FutureTask.java:266)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    at java.lang.Thread.run(Thread.java:745)
    Caused by: java.lang.StackOverflowError
    

Environment

  • Red Hat JBoss Operations Network (ON) 3.3
  • Apache httpd
  • .conf file containing a single line exceeding 2500-3000 characters in length

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content