Coder
Coder

Reputation: 7076

Use Tomcat and JIRA same time

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?

Upvotes: 2

Views: 1824

Answers (1)

jusuchin85
jusuchin85

Reputation: 124

I reckon your JIRA's Tomcat ports would need to be changed to reflect this:

  1. Go to $JIRA_INSTALL/conf/server.xml
  2. Search for <Server port="8005" shutdown="SHUTDOWN">. Change 8005 to another port number (say, 8105).
  3. Search for <Connector port="8080" and change 8080 to another port (say, port number 8180).
  4. Restart JIRA.

You might need to change your Java application to reflect the port changes.

Upvotes: 1

Related Questions