吉拉,Tomcat和JBoss的Apache的背后 [英] Jira, Tomcat and JBoss behind Apache

查看:139
本文介绍了吉拉,Tomcat和JBoss的Apache的背后的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要在同一台机器上安装这些环境。

I need to install these environment in the same machine.

吉拉:(安装程序,端口:8080,Tomcat的JIRA)结果
Tomcat的:(Tomcat的其他应用程序,端口:8084)结果
JBoss的:(端口:8086)结果
Apache2的:(作为代理,mod_proxy的,端口:80)

首先我倒是安装吉拉作为一种服务,用自己的安装程序,因此,才出现了tomcat的嵌入,端口8080。

First I´d install Jira as a service, with their installer, so, It came with a tomcat embed, port 8080.

然后我安装Apache作为代理服务器,它的工作,现在我可以存取权限像这样JIRA:debian.local / JIRA这一翻译debian.local的:8080

Then I installed apache as a proxy, It worked, I can now acces the jira like this: debian.local/jira intead of debian.local:8080.

但是,当我把tomcat的在同一个服务器中的问题开始:
我改变了对连接器和关闭Tomcat的端口,但是当我启动它,从吉拉Tomcat的下降,两者-方式。

But when I put tomcat in the same server the problems began: I changed the tomcat ports on connectors and shutdown, but when I start it, the Tomcat from Jira goes down, both-ways.


  • 现在的问题是,非推荐如何安装JIRA作为部署在tomcat的我一个WAR,这一翻译Tomcat的JIRA的?

  • What's配置此环境的最佳方法是什么?如何必须被宣布为这个CATALINA_HOME和CATALINA_BASE?

That's一切...谢谢!

That´s all... thanks!

推荐答案

我觉得你的安装程序创建的 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.

这篇关于吉拉,Tomcat和JBoss的Apache的背后的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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