JBoss 7.1如何将ear / war部署到外部目录 [英] JBoss 7.1 how to deploy ear/war to an external directory

查看:165
本文介绍了JBoss 7.1如何将ear / war部署到外部目录的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在JBoss 7.1中,默认的部署目录是独立/部署。

in JBoss 7.1, the default deploy directory is standalone/deployment.

我想将此默认值更改为外部目录。我知道在JBoss 5中,我可以在profile-repository.xml中指定。

I want to change this default to an external directory. I know in JBoss 5, I can specify this in profile-repository.xml.

如何在JBoss 7.1中执行此操作?

How to do this in JBoss 7.1?

谢谢

推荐答案

看看部署扫描器配置。您可以将路径更改为任何或所需的路径。另一个选择是使用默认的,但为其他目录添加一个附加的部署扫描器。

Have a look at the deployment scanner configuration. You can change the path to whatever or you want. Another option would be to use the default one, but add an additional deployment scanner for your other directory.

这篇关于JBoss 7.1如何将ear / war部署到外部目录的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆