同时运行JBoss AS 5和JBoss AS 4

编程入门 行业动态 更新时间:2024-10-25 05:22:58
本文介绍了同时运行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):

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

更多推荐

同时运行JBoss AS 5和JBoss AS 4

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

发布评论

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

>www.elefans.com

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