2 Replies Latest reply on Dec 15, 2004 8:10 AM by mvonrohr

    .war deployment at external location

    mvonrohr

      Hi there!

      I'd like to deploy a .war file outside the default deployment path (default is for me /opt/jboss/server/deploy) e.g. "/home/someone/jboss_deploy" Unfortunately I'm unable to find the files where I could specify the necessary parametres (the name of the war-file is myexample.war and it should be reachable at localhost:8080/myexample.

      Any help is appreciated (Sorry if this was posted by someone else beforehand)

      cheers, matt

        • 1. Re: .war deployment at external location
          darranl

          Have a look at the 'Deployment Scanning' MBean defined in the jboss-service.xml in the conf folder of the configuration you are running.

          • 2. Re: .war deployment at external location
            mvonrohr

            Thx, got it.
            It's the following tag:

            <attribute name="URLs">
             deploy/
            </attribute>

            But how do I fill in another path now? Do I add another tag or do i simply specify it something like...
            <attribute name="URLs">
             deploy/
             file:/home/someone/jboss_deploy
            </attribute>



            ..which doesnt look very xml-ish to me :)

            cheers, matt