1 Reply Latest reply on Nov 11, 2011 2:24 AM by runery22

    How to set up static context path in jboss7?

    runery22 Newbie

      Hi

       

      I am trying to find a way to configure a static context path i jboss7. We are upgrading from jboss42 and in that version we had a config element in server.xml that looked like this:

      <Host name="localhost"
                 autoDeploy="false" deployOnStartup="false" deployXML="false"
                 configClass="org.jboss.web.tomcat.security.config.JBossContextConfig"
                 >

                  <Context path="/puma/pdf"
                          docBase="/tmp/pdfdok"
                          reloadable="true">
                  </Context>

       

      It was in the directory deploy\jboss-web.deployer.

       

      The intention of this is to be able to reach the directory /tmp/pdfdok with a url like this: http://server:port/puma/pdf or more exactly to reach a generated pdf document on this directory with the url: http://server:port/puma/pdf/pdfdoc.pdf from a client popup window.

       

       

      Is there someone here who can help me?

      Thanks

       

      Rune