在同一台机器上设置多个JBoss实例 [英] Setting up multiple instances of JBoss on the same machine

查看:115
本文介绍了在同一台机器上设置多个JBoss实例的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在JBoss社区找到了下一页 - http://www.jboss.org / community / wiki / ConfigurePorts

I've found next page in JBoss Community - http://www.jboss.org/community/wiki/ConfigurePorts

有下一个文字:

编辑服务器/默认/ conf / bootstrap / bindings.xml

Edit server/default/conf/bootstrap/bindings.xml

但是我看不到文件JBoss 5.1.0 GA中的bindings.xml。

But I do not see file bindings.xml in JBoss 5.1.0 GA.

有谁知道 - 应该更改哪些文件才能在同一台机器上启动多个JBoss 5.1实例?

Does anyone know - what files should be changed in order to hav ability to start several instances of JBoss 5.1 on the same machine?

推荐答案

尝试以下步骤:

1)复制具有新名称的默认文件夹:实例名称

1) Copy the default folder with new name: instance name

2)在jboss-service.xml中取消注释ServiceBindingManager mbean
并将ServerName更改为端口-01或02或03
例如:ports-01
和ports-01 / 02/03配置应该在sample-bindings.xml中(存在于docs / examples / binding-manager中)
并且make该在ports-01 / 02/03标签下提到的所有端口的变化,这样端口就不会发生冲突。请记住,服务器将在绑定端口上运行,如8080/8180/8182。

2) In jboss-service.xml Uncomment the ServiceBindingManager mbean and change the ServerName to ports-01 or 02 or 03 e.g:ports-01 and ports-01/02/03 configuration should be there in sample-bindings.xml(present in docs/examples/binding-manager) And make the changes in all the ports mentioned under ports-01/02/03 tags, So that ports will not get conflict. Remember the server will run on the binding port like 8080/8180/8182.

从cmd promt转到bin文件夹并使用cmd运行实例:

from cmd promt go to the bin folder and run the instances with cmd:

运行-c instancename

run -c instancename

谢谢

Ankit Adlakha

Ankit Adlakha

这篇关于在同一台机器上设置多个JBoss实例的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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