2

I have Tomcat in my system(Unzipped. Not as a service). And I installed JIRA and created an issue there using this link

I have a Java web application, which is used to get URI, Issue Key, username and password values of JIRA in JSP. In the servlet I need to connect to JIRA and get the issue. But the problem is, only one service works at a time. When I run the Java web application in tomcat, I have to stop JIRA. So the servlet won't connect to JIRA.

Is there any possibility to use both at a time?

4

1 回答 1

1

我认为您的 JIRA 的 Tomcat 端口需要更改以反映这一点:

  1. $JIRA_INSTALL/conf/server.xml
  2. 搜索<Server port="8005" shutdown="SHUTDOWN">将8005更改为另一个端口号(例如 8105)。
  3. 搜索<Connector port="8080"并将8080更改为另一个端口(例如,端口号 8180)。
  4. 重启 JIRA。

您可能需要更改 Java 应用程序以反映端口更改。

于 2013-07-03T06:23:42.627 回答