1 Reply Latest reply on Feb 16, 2009 3:29 AM by ntsankov

    Context no longer allowed in Host

    ntsankov

      Hi,

      according to http://www.jboss.org/file-access/default/members/jbossweb/freezone/docs/2.1.1/config/host.html the Host element of server.xml can have nested Context element, and this was the case in previous versions. This is no longer true - I checked org.jboss.web.tomcat.metadata.HostMetaData and I see:

      /*
       public List<ContextMetaData> getContexts()
       {
       return contexts;
       }
       @XmlElement(name = "Context")
       public void setContexts(List<ContextMetaData> contexts)
       {
       this.contexts = contexts;
       }
       */
      

      The Context element is no longer supported.
      Can someone explain what is the way to do it in JBoss 5, thanks