0 Replies Latest reply on Jan 19, 2009 6:22 PM by Jody Box

    Exploded archive deployment through MainDeployer deploy(URL)

    Jody Box Newbie

      I have an application that deploys other apps through the MainDeployer's deploy(URL) method. It works fine for archives that are file-based, but it fails to deploy an ear or sar that is a directory.

      I've verified that I can deploy them under the deploy directory, as well as by adding a new location for the URLScanner to pick up.

      If I try to deploy them via the deploy(URL) call they fail with:


      org.jboss.deployment.DeploymentException: No META-INF/application.xml found

      org.jboss.deployment.DeploymentException: No META-INF/jboss-service.xml found

      Expanded WARs seem to deploy just fine. I've searched through the forums (and the web) extensively the past few days and have found this same question asked, but not answered conclusively. Does anyone know if exploded archives can be deployed by calling the MainDeployer directly, or if it has to be via the URLScanner? Is this a bug in the MainDeployer?