1 Reply Latest reply on Jan 17, 2006 9:29 AM by Mukesh kha

    changing context path in JBoss 4.0.2

    Mukesh kha Newbie

      Hi,
      I have deployed my application at jboss-4.0.2\server\default\deploy\jbossweb-tomcat55.sar directory as testcache.war directory. I can access this application by http://localhost:8080/testcache

      This works succesfully.

      Now, I want to access the application by this url:
      http://localhost:8080/web/testcache

      In tomcat 4.1 , I can do so by modifying the server.xml at Tomcat 4.1\conf directory, by adding the following lines

      <Context path="/web/testcache" docBase="C:/TEMP/testcache" debug="0"
       reloadable="true" crossContext="true">
      
      </Context>



      Can someone tell me how to do it in JBoss 4.0.2 ?

      I have already tried the following:
      a) adding the context entry in C:\jboss-4.0.2\server\default\deploy\jbossweb-tomcat55.sar\context.xml

      b) adding the context entry to C:\jboss-4.0.2\server\default\deploy\jbossweb-tomcat55.sar\testcache.war\WEB-INF\web.xml

      Any help would be appreciated.

      Thanks
      M