3 Replies Latest reply on Apr 21, 2005 10:47 AM by samokhin

    Web app outside of deploy folder

    samokhin

      Hello,

      I'm trying to make JBoss 4.0.1SP1 working with web app without putting it into deploy folder. If I put appropriate tag into sever.xml it gives me a lot of errors when I try to open my jsp files. The errors are about a packages that cannot be found. This works fine with Tomcat 5.0.28 without JBoss. Any ideas?

        • 1. Re: Web app outside of deploy folder
          samokhin

          Sorry. I'm using JBoss 4.0.1, but not 4.0.1SP1

          • 2. Re: Web app outside of deploy folder

            Hello Samokhin,

            I think I was able to do it successfully.

            you need to edit the jboss-service.xml

            I am pasting the snippet of my jboss-service.xml

            ######################
            <!-- ==================================================================== -->
            <!-- Deployment Scanning -->
            <!-- ==================================================================== -->

            <!-- An mbean for hot deployment/undeployment of archives.
            -->

            <depends optional-attribute-name="Deployer">jboss.system:service=MainDeployer
            org.jboss.deployment.DeploymentSorter
            org.jboss.deployment.scanner.DeploymentFilter
            5000

            deploy/,
            file:/D:/ada/

            True

            ######################

            My war file is located at d:\ada\ada.war.. So its outside the deploy directory.

            • 3. Re: Web app outside of deploy folder
              samokhin

              It works fine. Thanks a lot!