Check the Jira server application to make sure it is running

Still need help?

The Atlassian Community is here for you.

Ask the community

Platform notice: Server and Data Center only. This article only applies to Atlassian products on the Server and Data Center platforms.

Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.

*Except Fisheye and Crucible

Purpose

The purpose of this article is to list down some simple tests/checks that can be done to verify if Jira is running. This article can be used when Jira is inaccessible via web browser.

For this example, let's say

  • Jira base URL: http://jira.atlassian.com
  • Jira's internal IP Address: 192.168.1.100
  • Jira is configured to use HTTP port 8080
  • Jira is configured with proxy

Solution

The following tests will try to narrow down the where is the problem:

Bypass proxy and SSL.

  1. Access Jira with the following URL:  http://192.168.1.100:8080
  2. If Jira is accessible with the URL above, then the problem is with the configured proxy.
  3. In order to do this, you will need a non-proxy connector configured in server.xml. Please refer to Bypass a proxy or SSL to test network connectivity for Jira server to achieve this.

ping <BASE URL>

  1. If this ping test fails, then it's network related. Please check if your client machine can resolve jira.com

  2. The hosts file is located in different directory. Please refer to Modify your hosts file for more information on how to edit the hosts file.

  3. OR  local DNS server. You may refer to 10 tips for troubleshooting DNS problems for assistance.

telnet <internal IP> <HTTP port> or nc -vnz -w 1 <internal IP> <HTTP port>

  1. Replace < internal IP > and <HTTP port> with the respective values. then run telnet <internal IP> < HTTP Port> or nc -vnz -w 1 <internal IP> <HTTP port>


    • If this telnet or netcat(recommended) test fails, then these are the possible causes:

      • No network connectivity.

      • Firewall is blocking the HTTP port.

      • Jira service is not running.

      • Jira HTTP port was changed. Please verify the port in server.xml file.

  1. If it's possible to access Jira machine with GUI, try to access Jira locally via this URL: http:// localhost:8080.

    Make sure the Jira machine's local firewall is disabled (IPtables, Windows Firewall, etc).


    • If you can access Jira now, then it's network related, you may need to check this with your Network Administrator.

    • If you can't access Jira, then the issue is no longer a network related problem.  

  2. If it's not possible to access The Jira machine with GUI, then you can run the following command for verification:

    • wget http://<INTERNAL IP>:<HTTP PORT> (eg. http://localhost:8704/j704)

      Example of JIRA is running
      apac@10:~$ wget http://localhost:8704/j704 --2015-12-31 16:44:06-- http://localhost:8704/j704 Resolving localhost (localhost)... 127.0.0.1 Connecting to localhost (localhost)|127.0.0.1|:8704... connected. HTTP request sent, awaiting response... 302 Found Location: http://localhost:8704/j704/ [following] --2015-12-31 16:44:06-- http://localhost:8704/j704/ Reusing existing connection to localhost:8704. HTTP request sent, awaiting response... 302 Found Location: http://localhost:8704/j704/secure/MyJiraHome.jspa [following] --2015-12-31 16:44:06-- http://localhost:8704/j704/secure/MyJiraHome.jspa Reusing existing connection to localhost:8704. HTTP request sent, awaiting response... 302 Found Location: http://localhost:8704/j704/secure/Dashboard.jspa [following] --2015-12-31 16:44:06-- http://localhost:8704/j704/secure/Dashboard.jspa Reusing existing connection to localhost:8704. HTTP request sent, awaiting response... 200 OK Length: unspecified [text/html] Saving to: ‘j704.1’ [ <=> ] 34,744 --.-K/s in 0.06s 2015-12-31 16:44:07 (587 KB/s) - ‘j704.1’ saved [34744]
      Example of there is no JIRA is running
      apac@10:~$ wget http://localhost:6412/j6412 --2015-12-31 16:45:46-- http://localhost:6412/j6412 Resolving localhost (localhost)... 127.0.0.1 Connecting to localhost (localhost)|127.0.0.1|:6412... failed: Connection refused.

Is Jira running


  1. Check to see that Jira is running on the server
    1. If Jira is installed as Service:
      1. Linux; run the following command: ps -ef | grep jira OR ps -ef | grep '[j]ira' (to exclude grep from ps outputs):
      Example of JIRA is running
      osboxes@osboxes:/opt/atlassian/jira702/conf$ ps -ef | grep jira
      root      9096  8286  0 10:29 pts/10   00:00:00 su - jira
      jira      9097  9096  0 10:29 pts/10   00:00:00 -su
      jira     11349  2859 99 11:32 ?        00:00:03 /opt/atlassian/jira/jre//bin/java -Djava.util.logging.config.file=/opt/atlassian/jira/conf/logging.properties -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -Xms384m -Xmx768m -Djava.awt.headless=true -Datlassian.standalone=JIRA -Dorg.apache.jasper.runtime.BodyContentImpl.LIMIT_BUFFER=true -Dmail.mime.decodeparameters=true -Dorg.dom4j.factory=com.atlassian.core.xml.InterningDocumentFactory -XX:+PrintGCDateStamps -XX:-OmitStackTraceInFastThrow -Djava.endorsed.dirs=/opt/atlassian/jira/endorsed -classpath /opt/atlassian/jira/bin/bootstrap.jar:/opt/atlassian/jira/bin/tomcat-juli.jar -Dcatalina.base=/opt/atlassian/jira -Dcatalina.home=/opt/atlassian/jira -Djava.io.tmpdir=/opt/atlassian/jira/temp org.apache.catalina.startup.Bootstrap start
      osboxes  11367 27426  0 11:32 pts/4    00:00:00 grep --color=auto jira
      Example of there is no JIRA is running
      osboxes@osboxes:/opt/atlassian/jira702/conf$ ps -ef | grep jira
      root      9096  8286  0 10:29 pts/10   00:00:00 su - jira
      jira      9097  9096  0 10:29 pts/10   00:00:00 -su
      osboxes  11478 27426  0 11:35 pts/4    00:00:00 grep --color=auto jira


      1. Windows; navigate to  Control Panel > Administrative Tools > Services. Find for Jira Service (the name varies depending on the specified name during the Service creation) and check for it's Status.
    2. If Jira is not installed as Service and Jira is started using Understand startup and shutdown scripts in Jira server:
      1. Linux; run the following command: ps -ef | grep jira
      Example of JIRA is running
      osboxes@osboxes:/opt/atlassian/jira702/conf$ ps -ef | grep jira
      root      9096  8286  0 10:29 pts/10   00:00:00 su - jira
      jira      9097  9096  0 10:29 pts/10   00:00:00 -su
      jira     11349  2859 99 11:32 ?        00:00:03 /opt/atlassian/jira/jre//bin/java -Djava.util.logging.config.file=/opt/atlassian/jira/conf/logging.properties -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -Xms384m -Xmx768m -Djava.awt.headless=true -Datlassian.standalone=JIRA -Dorg.apache.jasper.runtime.BodyContentImpl.LIMIT_BUFFER=true -Dmail.mime.decodeparameters=true -Dorg.dom4j.factory=com.atlassian.core.xml.InterningDocumentFactory -XX:+PrintGCDateStamps -XX:-OmitStackTraceInFastThrow -Djava.endorsed.dirs=/opt/atlassian/jira/endorsed -classpath /opt/atlassian/jira/bin/bootstrap.jar:/opt/atlassian/jira/bin/tomcat-juli.jar -Dcatalina.base=/opt/atlassian/jira -Dcatalina.home=/opt/atlassian/jira -Djava.io.tmpdir=/opt/atlassian/jira/temp org.apache.catalina.startup.Bootstrap start
      osboxes  11367 27426  0 11:32 pts/4    00:00:00 grep --color=auto jira
      Example of there is no JIRA is running
      osboxes@osboxes:/opt/atlassian/jira702/conf$ ps -ef | grep jira
      root      9096  8286  0 10:29 pts/10   00:00:00 su - jira
      jira      9097  9096  0 10:29 pts/10   00:00:00 -su
      osboxes  11478 27426  0 11:35 pts/4    00:00:00 grep --color=auto jira
    3. Windows; run the following command: tasklist|findstr java

      Example of JIRA is running
      C:\Users\IT>tasklist | findstr java
      java.exe                      6224 Console                    1    371,212 K

       If you have multiple Jiras running, you can use the following command to differentiate. Please replace <pid> the result from tasklist command.

      wmic.exe path Win32_Process where handle='<pid>' get name, commandline  /format:list
      Example of there is no JIRA is running
      C:\Users\IT>tasklist | findstr jav
  2. Check in atlassian-jira.log to see if Jira is started successfully:

    1. At the end of Jira's core startup, there will be:

          *****************************************************************************************************************************
          Jira 8.12.0 build: 812001 started. You can now access Jira through your web browser. Plugins and caches are being initialised.
          *****************************************************************************************************************************
    2. At this point Jira will display the landing page in a browser while it intialises plugins and caches.

    3. Once Jira has finished initialising plugins and caches, you will see:

      localhost-startStop-1 INFO      [c.a.jira.startup.LauncherContextListener] Startup is complete. Jira is ready to serve.
    4. Jira is now fully initialised and accessible.

  3. If Jira is not accessible at this point, or there are errors and startup did not complete successfully, please get in touch with Atlassian Support by opening a ticket and upload the logs and configuration of your environment. If using Linux, you can upload a generated support zip file via command line with the Command Line Support Tool, if using Windows please compress and upload the contents of the following directories/files:


DescriptionThe purpose of this article is to list down some simple tests/checks that can be done to verify if Jira is running. This article can be used when Jira is inaccessible via web browser.
ProductJira
PlatformServer
Last modified on Mar 10, 2024

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.