同时运行JBoss AS 5和JBoss AS 4 [英] Running JBoss AS 5 and JBoss AS 4 simultaneously

查看:63
本文介绍了同时运行JBoss AS 5和JBoss AS 4的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我以为这将是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):

http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4213775#4213775

这篇关于同时运行JBoss AS 5和JBoss AS 4的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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