开发者

tomcat and jre settiings

开发者 https://www.devze.com 2023-03-20 03:04 出处:网络
I am configuring 2 tomcat to use JRE as shown below Server1 - tomcat1 - jre1 Server2 - tomcat2 - jre2 开发者_如何学运维

I am configuring 2 tomcat to use JRE as shown below

Server1

 - tomcat1
 - jre1

Server2

 - tomcat2
 - jre2
开发者_如何学运维

tomcat1 will use jre 1 and tomcat2 will use jre2

This is working fine.

But if i make tomcat1 and tomcat2 to use one jre , a common one. is this setting will make a difference from previous one ?


if the 2 JREs have the same version and your tomcats can run on the same JRE then No it shouldn't make any difference. The issue is like you are trying to run two diffrent java apps or multiple instances of the same app at the same time.

So what is the problem? For sure there is no problem at all.

But make sure that the tomcats doesn't have the same binding address to not get in an address binding exception.

0

精彩评论

暂无评论...
验证码 换一张
取 消