[jboss-user] [Installation, Configuration & DEPLOYMENT] - Exploded archive deployment through MainDeployer deploy(URL)

icebox13 do-not-reply at jboss.com
Mon Jan 19 18:22:58 EST 2009

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?

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4203066#4203066

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4203066

More information about the jboss-user mailing list