0 Replies Latest reply on May 19, 2004 5:50 AM by joonasl

    How to find out context root of a web application?

    joonasl

      Hi,

      I'm using JBoss 3.2.3 w/ embedded Tomcat. JRE version is 1.4.2 on linux.

      I'm having a bit of a problem using the J2EE management API (JSR 77). I'm trying to fetch all the web applications deployed on the server (standalone WARs) and to find out the context roots each application is bound to. The problem is that I can't seem to find the context root anywhere using the management API. Furthermore, the "JBossDeploymentDescriptor" attribute for the WebModules seems to be null even though the WAR contains a jboss-web.xml file with the context root definition.

      Could anyone give a hint on how to proceed?

      Thanks.