2 Replies Latest reply on Nov 12, 2003 12:23 PM by pinghua

    reading incorrect index.jsp - multi appl (war files) - singl

    Jane Micheller Newbie

      reading incorrect index.jsp - multi appl (war files) - running in single tomcat

      Application: Apache, Jboss 3.2.1, and tomcat 4.1.24
      Problem: After several hot deploy of war files. It reading index.jsp from another application like appl2 instead of appl1.
      From web browser, it should be reading https://xx.com/appl1/index.jsp
      instead it was reading appl2/index.jsp
      http stead pointing to https://xx.com/appl1/index.jsp

      Here are what I have configured for httpd.conf and jboss-service.xml.
      FILE: httpd.conf
      Alias /appl1 "/server/appl/deploy/appl1"
      <Directory "/server/appl/deploy/appl1">
      Options Indexes FollowSymLinks

      Alias /appl2 "/server/appl/deploy/appl2"
      <Directory "/server/appl/deploy/appl2">
      Options Indexes FollowSymLinks

      JkMount /appl1/* ajp13
      JkMount /appl2/* ajp13

      FILE: jboss-service.xml-

      code="org.jboss.deployment.scanner.URLDirectoryScanner" name="jboss.deployment:type=DeploymentScanner,flavor=URL">
      <depends optional-attribute-name="Deployer">jboss.system:service=MainDeployer
      /* Each entry specifies either a dir (directory to be scanned), or url (url to be deployed). Like the URLs for the DeploymentScanner above, a file: protocol will be assumed if not specified otherwise. */

      Each application (war file) are placed in following directories:
      "/server/appl/deploy/appl1/appl1.war, appl1.xml
      "/server/appl/deploy/appl2/appl2.war, appl2.xml

      If anyone encounter this problem, please let me know how you solve this problem. Thanks