2 Replies Latest reply on Mar 22, 2005 3:01 AM by imranmirza

    Virtual directory outside JBOSS deploy folder

    imranmirza

      Hey all,
      I have struts-JSP application. I am using jboss-3.2.5. Can i deploy my web based application outside jboss deploy folder? If yes, how.

      Thanks in advance.

      Regards, Imran

        • 1. Re: Virtual directory outside JBOSS deploy folder

          If i understand right, waht u are asking is, that rather then putting yr war file in deploy u want this to be deployed in some other directory right.
          What theat means is that Deployment Scanner service by default looks into deploy folder only.
          So if u want that behavior just goto /server//conf/ jboss-service.xml file

          <mbean code="org.jboss.deployment.scanner.URLDeploymentScanner"
           name="jboss.deployment:type=DeploymentScanner,flavor=URL">
          
           <--Read this subsectiom -->
           <attribute name="URLs">
           deploy/ , file:/var/opt/apps/
           </attribute>
          
          </mbean>


          Hopefully this will solve yr query.

          Vishal.


          • 2. Re: Virtual directory outside JBOSS deploy folder
            imranmirza

            Thanks Vishal, I will check and do let you know the status.

            Regards, Imran