1 Reply Latest reply on Jul 3, 2003 1:15 AM by jovial

    Diferent context under the same Virtual Host

    jovial Newbie

      I would like to be able to have context under my virtual host that refers to content outside my application deploy directory.

      The JBoss documentation says you cannot create under element. I am reffering to
      tomcat41-service.xml file.

      Is there any way to implement additional contexts for the same application?

      thanks,

      dimitar

        • 1. Re: Diferent context under the same Virtual Host
          jovial Newbie

          for anyone interested. I found the best way to create different contexts is to add Apache web server to JBoss/Tomcat bundle and create all the necessary context definitions under the <virtual host> container
          of httpd.conf file.

          this worked really great because WAR file deployed on JBoss/Tomcat is smaller in size now.
          All the images, JavaScript files and some other files are part now of the context served by Apache.

          dimitar