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:
EAR:
org.jboss.deployment.DeploymentException: No META-INF/application.xml found
SAR:
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#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...