[jboss-dev-forums] [Design of Management Features on JBoss] - unable to programatically deploy a war from outside $SERVER_
lkrejci
do-not-reply at jboss.com
Mon Jun 22 11:48:21 EDT 2009
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?
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4239140#4239140
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4239140
More information about the jboss-dev-forums
mailing list