I have been following this guide to install jira. once installed i browsed to the web address and port but it times out. i tried
telnet localhost 8080 Trying 127.0.0.1... Connected to localhost. Escape character is '^]'. GET / Connection closed by foreign host.
but returns nothing?
My log dir
ll logs/ total 148 -rw-r--r--. 1 oiadmin users 812 Jun 30 13:02 access_log.2016-06-30 -rw-r--r--. 1 oiadmin users 34435 Jun 30 13:00 catalina.2016-06-30.log -rw-r--r--. 1 oiadmin users 105637 Jun 30 13:00 catalina.out -rw-r--r--. 1 oiadmin users 0 Jun 30 12:36 host-manager.2016-06-30.log -rw-r--r--. 1 oiadmin users 0 Jun 30 12:36 localhost.2016-06-30.log -rw-r--r--. 1 oiadmin users 0 Jun 30 12:36 manager.2016-06-30.log
catalina shows it started fine
ase is not yet configured. Enqueuing Post database-configuration launchers on post-database-activated queue 2016-06-30 12:59:59,171 JIRA-Bootstrap INFO [c.a.jira.startup.LauncherContextListener] Memory Usage: --------------------------------------------------------------------------------- Heap memory : Used: 154 MiB. Committed: 483 MiB. Max: 733 MiB Non-heap memory : Used: 63 MiB. Committed: 66 MiB. Max: 1264 MiB --------------------------------------------------------------------------------- TOTAL : Used: 217 MiB. Committed: 548 MiB. Max: 1997 MiB ---------------------------------------------------------------------------------
Telnet isn't the way to test it - try a wget or curl and check that you get some html back.
Although, the "connected" message alone tells you that it is running and listening. If it wasn't running, you wouldn't connect.
You should read the application log to see what it's doing - <jira home>/logs/atlassian-jira.log
`wget` returns html
wget http://localhost:8080 --2016-06-30 13:01:55-- http://localhost:8080/ Resolving localhost... 127.0.0.1 Connecting to localhost|127.0.0.1|:8080... connected. HTTP request sent, awaiting response... 302 Found Location: http://localhost:8080/secure/SetupMode!default.jspa [following] --2016-06-30 13:01:55-- http://localhost:8080/secure/SetupMode!default.jspa Reusing existing connection to localhost:8080. HTTP request sent, awaiting response... 200 OK Length: unspecified [text/html] Saving to: `index.html.1' [ <=> ] 8,182 --.-K/s in 0.005s 2016-06-30 13:01:55 (1.54 MB/s) - `index.html.1' saved [8182]
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
There you go, it's running fine.
In fact, it's responded with a setup page, so there's no need to look at the application log as that tells you it's working - your problem is with your browser not connecting. You'll need to fix that.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.