[英]JBOSS 5: Multiple instances but jvmRoute not modified
I have JBoss 5 running in my machine with two configurations named default
and myjboss
. 我的机器上运行的JBoss 5具有两个配置,分别为default
和myjboss
。 default configuration running with port-default
and myjboss
running with port01
. 使用port-default
运行的默认配置和使用myjboss
运行的port01
。
While copying default to myjboss I didnt change jvmRoute at line 将默认复制到myjboss时,我没有在行更改jvmRoute
<Engine name="jboss.web" defaultHost="localhost">
in file /home/virt01/jboss/jboss-5.1.0.GA/server/myjboss/deploy/jbossweb.sar/server.xml
在文件/home/virt01/jboss/jboss-5.1.0.GA/server/myjboss/deploy/jbossweb.sar/server.xml
Could somebody please explain the behavior of new instance myjboss
as jvmRoute not mentioned to jvmRoute=myjboss
. 有人可以将新实例myjboss
的行为解释为jvmRoute=myjboss
未提及的jvmRoute=myjboss
。
Thank you. 谢谢。
The jvmRoute is used for load balancing purposes. jvmRoute用于负载平衡。
If you're using mod_cluster as your load balancer then you will not have a problem, because the mod_cluster will generate a UUID for each node that does not define a jvmRoute name. 如果将mod_cluster用作负载均衡器,则不会有问题,因为mod_cluster会为每个未定义jvmRoute名称的节点生成一个UUID。 Source (Section 6.1.5) 来源(第6.1.5节)
If you use mod_jk instead then you must define them, because the worker nodes are defined manually and their names must match the server's jvmRoute. 如果改为使用mod_jk,则必须定义它们,因为辅助节点是手动定义的,并且它们的名称必须与服务器的jvmRoute匹配。 Source 资源
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.