1 Reply Latest reply on Sep 15, 2004 3:58 PM by mikefinn

    specify deploy directory for jk2

    mjremijan

      I'd like to use the apache jk2 in front of jboss. However, I have a small problem. In the httpd.conf file I would normally need to use an alias to point to the webapp directoy. Using straight tomcat this is easy:

      Alias /test "D:/Programs/jakarta/tomcat/5.0.28/webapps/test/"

      However, with jboss, I drop an ear into the /deploy directory and it ends up in some wierdly named directory like tmp\deploy\tmp458310.0.1-dsr.ear-contents\homesuite.war but the name of this directory changes everytime the webapp is redeployed. Is there any way to specify where jboss will unpack the ear?

      Michael.

        • 1. Re: specify deploy directory for jk2
          mikefinn

          Why are you trying to point to the deploy directory? JK2 talks directly to the Tomcat server/container, so you just need to add the mapping to JK2. It's defined in the workers2.properties (from mod_jk2) file in $APACHE/conf.

          mike