2 Replies Latest reply on Oct 27, 2008 11:01 AM by Jeremy Monnet

    Deployment in tmp directory

    Jeremy Monnet Newbie

      Hello,

      I am deploying war files to a jboss server, using a maven goal :

      http://truc-muche.com:8080/jmx-console/HtmlAdaptor?action=invokeOpByName&name=jboss.system:service%3DMainDeployer&methodName=deploy&argType=java.net.URL&arg0=http://bidule.com:8080/repository/wars/machin.war


      which works well as I get my war being exploded in "server/default/tmp/deploy/" and the webapp beign available.

      But if I restart jboss, the tmp directory is cleaned, and I have to re-deploy the war file.

      Is there any way to modify the target or configure jboss to put the war first in "server/default/deploy" ?

      I have read a part of this forum and didn't find a related question, but if I missed it, please point me to the right direction :-)

      Thanks for any help,

      Jeremy