在同一台机器上设置多个JBoss实例

编程入门 行业动态 更新时间:2024-10-28 18:25:19
本文介绍了在同一台机器上设置多个JBoss实例的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

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

I've found next page in JBoss Community - www.jboss/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实例

本文发布于:2023-10-20 03:49:38,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1509752.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:多个   实例   在同一   机器上   JBoss

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!