且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

吉拉,Tomcat和JBoss的Apache的背后

更新时间:2023-01-25 23:30:28

我觉得你的安装程序创建的 CATALINA_HOME / CATALINA_BASE 将可能被罚款。

I think your installer-created CATALINA_HOME/CATALINA_BASE will probably be fine.

我也不会建议试图与其他应用程序之一Tomcat实例由于库版本之间的潜在冲突(也因为你将不能够关闭一个应用程序,而不必关闭其他)。

I would also not suggest trying to share one Tomcat instance with other applications due to potential conflicts between library versions (and also because you won't be able to shut down one application without shutting down the other).

眼前的问题很可能是你要使用两个Tomcat实例相同的关闭端口。在JIRA的的conf / server.xml中,你会发现这样一行:

The immediate problem is likely that you are trying to use the same shutdown port on both Tomcat instances. In JIRA's conf/server.xml, you will find a line like this:

<Server port="8004" shutdown="SHUTDOWN">

配置的端口必须为每个Tomcat实例唯一的,所以你需要选择一些不使用。 (这是除了具有独特的连接器端口声明&LT;连接器端口=8080... )。

如果您使用相同的关闭端口,你会发现,(比如)一个实例你关机脚本结束无意中关闭其他实例。

If you use the same shutdown port, you will find that (say) your shutdown script for one instance ends up accidentally shutting down the other instance.