VMware vSphere

 View Only

  • 1.  tomcat root webapps in hosts monitoring

    Posted Jul 10, 2008 01:19 PM
    hi,

    I've been searching for a solution for this problem for over two days now and i can't find anything.
    The problem is that i have multiple hosts in my server.xml of my Tomcat 5.5 installation like:

    <Host name="localhost" appBase="webapps"
    unpackWARs="true" autoDeploy="true"
    xmlValidation="false" xmlNamespaceAware="false">
    </Host>
    <Host name="www.siteA.com" appBase="sites/siteA/"
    unpackWARs="true" autoDeploy="true"
    xmlValidation="false" xmlNamespaceAware="false">
    </Host>
    <Host name="www.siteB.com" appBase="sites/siteB/"
    unpackWARs="true" autoDeploy="true"
    xmlValidation="false" xmlNamespaceAware="false">
    </Host>

    When i install the hyperic-hq webapp in the webapp-directory of the 'localhost' and vist the:
    http://localhost/hyperic-hq/jmx-attributes?dmp=hyperic-hq:*
    I can only see the webapps in this directory that are mapped on localhost/webappA..
    I can also see the webapps that are on the other hosts, but not the ROOT.war deployed webapps in those hosts.
    If i vist http://localhost/hyperic-hq/jmx-attributes?dmp=*
    i can cleary see my 'name: hosts=www.hostA.com' listed on this page..
    Why don't the ROOT.war's have those 'hyperic-hq:Context' tags?
    Is there something that i must do extra?

    If i add the hyperic-filters to the web.xml of the ROOT.war i get exceptions about duplicated servlet names, so the tomcat/conf/web.xml is included with the ROOT.wars.
    I als set the tomcat/web.xml to it's default values and explicitly added the filters to only one of the ROOT.war's but it still wasn't listed in the hyperic-hq webapp...

    Is there anything i can do about this issue??? it's driving me nuts.

    I had exactly the same problem with LambdeProbe (Tomcat monitor) but the author of that program admits that it doesn't have multiple hosts compatiblilitie. But since Hyperic does list the non-ROOT.war's in my other host directories i figured that there *is* hosts compatibility, but that only the ROOT.war's are ignored??


  • 2.  RE: tomcat root webapps in hosts monitoring

    Posted Jul 31, 2008 07:32 AM
    I still haven't found any solution to my problem.. maybe somebody else found something?


  • 3.  RE: tomcat root webapps in hosts monitoring

    Posted Sep 01, 2008 12:35 PM
    still not solved ... .. .. . . :(


  • 4.  RE: tomcat root webapps in hosts monitoring

    Posted Oct 17, 2008 11:31 AM
    Same problem here :(


  • 5.  RE: tomcat root webapps in hosts monitoring

    Posted Nov 18, 2008 01:08 PM
    Anyone???


  • 6.  RE: tomcat root webapps in hosts monitoring

    Posted Jun 05, 2009 03:08 PM
    I'm experiencing this problem as well. Everything shows up except the web application I truly care to monitor: /usr/share/tomcat5/webapps/ROOT.