我以为这将是JBoss常见问题解答,但我找不到它.
I thought this would be a JBoss FAQ, but I can't find it.
我想同时运行JBoss 4和JBoss 5.我通过将端口的前导数字更改为9来手动更改了JBoss 5服务器/默认实例上的所有端口,它似乎可以正常工作.我可以在没有端口冲突的情况下启动JBoss 4和JBoss 5.
I'd like to run JBoss 4 and JBoss 5 at the same time. I manually changed all the ports on the JBoss 5 server/default instance by changing the port's leading digit to a 9, and it seems to work. I can start JBoss 4 and JBoss 5 with no port conflicts.
我的一位同事说,他以为自己已经听说有一种方法可以重新配置" JBoss 5,以将所有端口号移动指定的数量.与手动编辑端口设置相比,这将是一种更干净的解决方案.
One of my colleagues said that he thought he had heard that there was a way to "rebase" JBoss 5 to move all the port numbers by a specified amount. That would be a cleaner solution than manually editing the port settings.
是否有一种简单的方法可以更改JBoss 5中的端口设置,使其可以与JBoss 4同时运行?
Is there a simple way to change the port settings in JBoss 5 so it can run simultaneously with JBoss 4?
推荐答案两个好的答案. IP别名很聪明.
Two good answers. The IP alias is clever.
我还在JBoss论坛上问了这个问题,结果发现您可以调用其他端口绑定("rebase"选项).像这样启动JBoss:
I also asked this question on the JBoss forums and it turns out that there are alternate port bindings that you can invoke (the "rebase" option). Start JBoss like this:
run -Djboss.service.binding.set=ports-01这是JBoss论坛上该线程的链接(对此线程的交叉引用):
Here's the link to the thread on the JBoss forums (cross-referenced to this thread):
www.jboss/index.html?module=bb&op=viewtopic&p=4213775#4213775更多推荐
同时运行JBoss AS 5和JBoss AS 4
发布评论