2013-03-20 182 views

回答

1

是的,你可以。
在7.x之前的JbossAS版本中有PropertiesService。它使用起来很简单。我正在使用它与JBoss 5.1.0.GA,它就像一个魅力。
不幸的是PropertiesService mbean在JBossAS 7.x中不存在,但还有其他方法,如official admin guide中所述。

Here是另一种解决方案。帖子的作者声称它可以列出在命令行中你的属性文件,同时启动服务器实例:

./standalone.sh --properties=1.properties --properties=2.properties 

和他们的内容应该添加到系统属性。

相关问题