2 Replies Latest reply on Jun 26, 2009 6:41 AM by lkrejci

    unable to programatically deploy a war from outside $SERVER_

    lkrejci

      When trying to programatically deploy a war file to JBoss AS5 I have to make sure that the URL of the war being deployed passed to

      DeploymentManager.distribute(String, URL, DeploymentOption[])
      points to a place inside $SERVER_HOME. If it does not, several things happen:

      1) A correct file is created in the deployment directory of the server but it has 0 size.
      2) The deployment never completes.
      3) The server is still functioning properly but it is not possible to shut it down gracefully (possibly because of the stuck deployment thread?)

      Is this a bug or a (security) feature?