Trouble with starting JIRA

AlexanderU September 13, 2016

I'm trying to clear up how to make a plugin.

I'm following instructions at https://developer.atlassian.com/jiradev/jira-platform/guides/other/tutorial-adding-menu-items-to-jira and stuck on step 3. I'm starting atlas and it starts ok, but when i'm opening JIRA home page (i.e http://atlas-laptop:2990/jira) in browser I recieve message "The requested source is not available". Also, when i'm trying to open Tomcat home page (http://atlas-laptop:2990) i recieve an empty screen without any message.

Can someone help me to clear what's problem about?

 

14 answers

1 vote
Ralf Kuhweide January 18, 2018

I'm having the same problem - but for Confluence, not JIRA. I'm also getting the console output:

[INFO] [talledLocalContainer] INFORMATION: Server startup in 12276 ms
[INFO] [talledLocalContainer] Tomcat 8.x started on port [2990]
[INFO] confluence started successfully in 727s at http://WKS25:2990/confluence
[INFO] Type Ctrl-D to shutdown gracefully
[INFO] Type Ctrl-C to exit

I'm already waiting for several minutes for something more to appear but it won't happen. Accessing the url mentioned above just gives me

HTTP Status 404 - /confluence/

type Status report

message /confluence/

description The requested resource is not available.

I've also tried using different ports and disabling the firewall. Since the message is coming from Tomcat 8.x I doubt that the firewall is a problem here.

Do you have any ideas?

1 vote
Josh July 13, 2017

This seems to be an issue where JIRA still needs to load further before navigating to the page.

To explain further:

If I were to go to the localhost address (port 2990) immediately when the program outputs

[INFO] jira started successfully in 332s at http://mycomputer:2990/jira

[INFO] Type Ctrl-D to shutdown gracefully

[INFO] Type Ctrl-C to exit

 

it would return this:

 

HTTP Status 404 - /jira/ 

type Status report

message /jira/

description The requested resource is not available.

 

For me, it runs successfully if I wait a few more minutes for the output below to also appear:

 

[INFO] jira started successfully in 332s at http://mycomputer:2990/jira

[INFO] Type Ctrl-D to shutdown gracefully

[INFO] Type Ctrl-C to exit

[INFO] [talledLocalContainer] 2017-07-13 09:37:15,390 Caesium-1-4 INFO ServiceRunner [c.a.j.p.h.service.ping.RefreshConnectionStatusJobHandler] Running RefreshConnectionStatusJobHandler...

[INFO] [talledLocalContainer] 2017-07-13 09:37:15,453 Caesium-1-2 INFO [c.a.j.p.h.service.connect.InstallGlancesJobHandler] Running InstallGlancesJobHandler...

[INFO] [talledLocalContainer] 2017-07-13 09:37:15,453 Caesium-1-2 INFO [c.a.j.p.h.service.connect.InstallGlancesJobHandler] There is no link to HipChat, no need to install glances.

[INFO] [talledLocalContainer] 2017-07-13 09:37:40,082 ForkJoinPool.commonPool-worker-1 INFO [c.a.j.cache.soy.SoyCacheWarmer] Warmed 41 soy module(s) in 36896 ms, 0 module(s) were not present or disabled, 0 failed.

[INFO] [talledLocalContainer] 2017-07-13 09:37:41,927 Caesium-1-3 WARN [c.a.a.c.hash.reader.RemoteHashingInstructionsReader] Unable to read remote instructions with key 'uid.onewayhash'.

[INFO] [talledLocalContainer] 2017-07-13 09:37:41,927 Caesium-1-3 WARN [c.a.a.client.hash.BcryptAnalyticsEmailHasher] No instructions for hashing could be found.

[INFO] [talledLocalContainer] 2017-07-13 09:37:44,443 Caesium-1-1 INFO [c.a.jira.i18n.I18nWarmer] Initialised i18n cache in 41257

[INFO] [talledLocalContainer] 2017-07-13 09:37:44,443 Caesium-1-1 INFO [c.a.jira.startup.CacheWarmerLauncher] Warmed cache(s) in 41257 ms.

[INFO] [talledLocalContainer] 2017-07-13 09:38:04,837 http-nio-2990-exec-3 WARN - [webresource] the dependency "arrive" doesn't look like the key of the web resource and will be ignored.

...

suha awartani December 27, 2017

Hey josh, 
I'm facing the exact same problem, and the last thing I see is 


[INFO] [talledLocalContainer] Tomcat 8.x started on port [6565]
[INFO] jira started successfully in 343s at http://suha:6565/jira
[INFO] Type Ctrl-D to shutdown gracefully
[INFO] Type Ctrl-C to exit

 

How long should I wait for the other output?

suha awartani December 27, 2017

plus, I usually see one of the outputs, it's either the one with (Jira started successfully ...) or the one with the ( [INFO] ) thing...

but never both.

1 vote
Mel Paisley
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
September 19, 2016

Hey Alexander, 


Alright, I gave this a go on my Windows 7 machine and it did work but I noticed a few things:

  • Windows firewall popped up and I had to tell it to allow java through.
  • The default IE version installed on my machine was not compatible with JIRA 7 so I used Chrome to view it.

So, I was wondering - are you using a browser other than Internet Explorer and have you checked your firewall to ensure it's not blocking java?

Let me know how you go. 

Thanks,
Mel 

1 vote
AlexanderU September 14, 2016

Threre are no errors in terminal.

[INFO] [talledLocalContainer] INFO: Server startup in 39001 ms

[INFO] [talledLocalContainer]Tomcat 8.x started on port [2990]

[INFO] JIRA started successfully in 123s at http://atlas-laptop:2990/jira

 

when i navigate to this page i get following message:

HTTP Status 404 - /jira/

type Status report

message /jira/

description The requested resource is not available.


Apache Tomcat/8.0.9

 

0 votes
Mel Paisley
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
September 19, 2016

Thanks Alexander, 

That all looks OK to me - I am going to give it a go on my windows 7 test machine just to make sure there's no bug. 

0 votes
AlexanderU September 19, 2016

 

ATLAS Version:    6.2.9

ATLAS Home:       C:\Applications\Atlassian\atlassian-plugin-sdk-6.2.9

ATLAS Scripts:    C:\Applications\Atlassian\atlassian-plugin-sdk-6.2.9\bin

ATLAS Maven Home: C:\Applications\Atlassian\atlassian-plugin-sdk-6.2.9\apache-maven-3.2.1

AMPS Version:     6.2.6

--------

Executing: "C:\Applications\Atlassian\atlassian-plugin-sdk-6.2.9\apache-maven-3.2.1\bin\mvn.bat" --version -gs C:\Applications\Atlassian\atlassian-plugin-sdk-6.2.9\apache-maven-3.2.1/conf/settings.xml

Apache Maven 3.2.1 (ea8b2b07643dbb1b84b6d16e1f08391b666bc1e9; 2014-02-14T21:37:52+03:00)

Maven home: C:\Applications\Atlassian\atlassian-plugin-sdk-6.2.9\apache-maven-3.2.1\bin\..

Java version: 1.8.0_101, vendor: Oracle Corporation

Java home: C:\Program Files\Java\jdk1.8.0_101\jre

Default locale: ru_RU, platform encoding: Cp1251

OS name: "windows 7", version: "6.1", arch: "x86", family: "dos"

0 votes
Mel Paisley
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
September 18, 2016

Empty? Strange - it seems like something isn't starting up properly. 

Can you tell me the output for atlas-version? 

0 votes
AlexanderU September 17, 2016

Hello, Melissa

When i try this command i can reach the home page, but it is empty.

 

0 votes
Mel Paisley
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
September 15, 2016

Thanks Alex, 

If you try the command atlas-run-standalone --product jira can you then access JIRA?

Cheers,

Melissa

0 votes
AlexanderU September 15, 2016

Hi, Melissa

No, i cannot reach it via localhost.

OS is Windows 7.

Thanks for your reply.

 

0 votes
Mel Paisley
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
September 14, 2016

Hey Alexander, 

Can you tell me whether you can reach it via http://localhost:2990/jira ?

If so, can you let me know what OS you are using?

Cheers,

Melissa

0 votes
Stefan Arnold
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
September 14, 2016

Any errors in terminal when entering http://atlas-laptop:2990/jira  ? atlas-run ended with

 [INFO] jira started successfully in 134s at http://atlas-laptop:2990/JIRA

?

0 votes
Robert Massaioli _Atlassian_
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
September 13, 2016

Also, navigating to http://atlas-laptop:2990/jira is the correct thing to do. Can you post more information about the error that you see when you navigate to that page?

0 votes
Robert Massaioli _Atlassian_
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
September 13, 2016

Are you trying to make an add-on for Cloud or Server? The labels on this question suggest both however, you seem to be using the Atlassian Plugin SDK which is only for Server add-ons.

If you wish to write Atlassian Cloud add-ons then you should go to: http://connect.atlassian.com/

Suggest an answer

Log in or Sign up to answer