JIRA Services stopped working Edited

JIRA ver: 7.1.2

Atlassian Universal Plugin Manager updating to 2.22.4

I was updating the atlassian plugin manager and the plugin updates didn't complete due to the fact that, JIRA might have struct in between and now the JIRA services stopped and not getting started even after the restart of server pc.

Below is the error showing when trying to restart the services.

"Windows could not start the Atlassian JIRA on local computer. For more information, review the System Event log. If this is non-Microsoft service, contact the service vendor, and refer to service-specific error code 4.

 Log from "atlassian-jira" file:

2017-08-01 13:53:57,693 http-nio-8080-exec-290 WARN anonymous 833x239689x149 - 10.70.6.56 / [c.a.g.renderer.internal.GadgetSpecFactoryImpl] Error occurred while retrieving gadget spec for rest/gadgets/1.0/g/com.atlassian.jira.gadgets:assigned-to-me-gadget/gadgets/assigned-to-me-gadget.xml
2017-08-01 13:53:57,693 http-nio-8080-exec-290 WARN anonymous 833x239689x149 - 10.70.6.56 / [c.a.g.embedded.internal.GadgetUrlBuilder] GadgetUrlBuilder: could not parse spec at rest/gadgets/1.0/g/com.atlassian.jira.gadgets:assigned-to-me-gadget/gadgets/assigned-to-me-gadget.xml
2017-08-01 13:53:57,724 http-nio-8080-exec-148 WARN anonymous 833x239566x27 - 10.70.6.56 / [c.a.g.renderer.internal.GadgetSpecFactoryImpl] Error occurred while retrieving gadget spec for
2017-08-01 13:53:57,740 http-nio-8080-exec-148 WARN anonymous 833x239566x27 - 10.70.6.56 / [c.a.g.embedded.internal.GadgetUrlBuilder] GadgetUrlBuilder: could not parse spec at

Kindly anybody faced this issue and got resolved? your early response would be greatly appriciated.

1 answer

1 vote

Those are not fatal stop-dead errors.  You'll need to find the errors that tell you what is stopping JIRA completely.  Check more of the log you've read for severe errors and have a look at the "catalina.out" log too.

Hi Nic,

I am not able to follow the log file. I am pasting the starting errors of the log file "atlassian-jia" file here. Please let me know any suggestions.

 

2017-08-01 14:02:31,659 http-nio-8080-exec-7 ERROR MasoudiF 972x215470x14 k1wh0r 93.168.140.221 /browse/AMD-1327 [500ErrorPage.1f42db68-d099-4326-88a9-6200bf1dcec9] Cannot render the 500 page
java.lang.IllegalStateException: Can't overwrite cause with java.lang.IllegalStateException: Illegal access: this web application instance has been stopped already. Could not load [com.atlassian.jira.i18n.BootstrapTranslationStore]. The following stack trace is thrown for debugging purposes as well as to attempt to terminate the thread which caused the illegal access.
at java.lang.Throwable.initCause(Throwable.java:457)
at org.apache.catalina.loader.WebappClassLoaderBase.checkStateForClassLoading(WebappClassLoaderBase.java:1316)
at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1196)
at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1157)
at com.atlassian.jira.i18n.BootstrapJiraAuthenticationContext.<init>(BootstrapJiraAuthenticationContext.java:26)
at java.util.Optional.orElseGet(Optional.java:267)
at com.atlassian.jira.web.servlet.InternalServerErrorHelper.<init>(InternalServerErrorHelper.java:75)
at com.atlassian.jira.web.servlet.InternalServerErrorHelper.render500ResponsePage(InternalServerErrorHelper.java:43)
... 30 filtered
at com.atlassian.jira.security.JiraSecurityFilter.doFilter(JiraSecurityFilter.java:70)
... 89 filtered
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.ClassNotFoundException
at org.apache.catalina.loader.WebappClassLoaderBase.checkStateForClassLoading(WebappClassLoaderBase.java:1315)
... 130 more
2017-08-01 14:02:31,659 http-nio-8080-exec-18 ERROR MasoudiF 978x215697x18 k1wh0r 78.95.105.76 /browse/AMD-1327 [500ErrorPage.0c283d12-2103-4c2a-8779-d96a21a45d79] Cannot render the 500 page
java.lang.IllegalStateException: Can't overwrite cause with java.lang.IllegalStateException: Illegal access: this web application instance has been stopped already. Could not load [com.atlassian.jira.i18n.BootstrapTranslationStore]. The following stack trace is thrown for debugging purposes as well as to attempt to terminate the thread which caused the illegal access.
at java.lang.Throwable.initCause(Throwable.java:457)
at org.apache.catalina.loader.WebappClassLoaderBase.checkStateForClassLoading(WebappClassLoaderBase.java:1316)
at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1196)
at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1157)
at com.atlassian.jira.i18n.BootstrapJiraAuthenticationContext.<init>(BootstrapJiraAuthenticationContext.java:26)
at java.util.Optional.orElseGet(Optional.java:267)
at com.atlassian.jira.web.servlet.InternalServerErrorHelper.<init>(InternalServerErrorHelper.java:75)
at com.atlassian.jira.web.servlet.InternalServerErrorHelper.render500ResponsePage(InternalServerErrorHelper.java:43)
... 30 filtered
at com.atlassian.jira.security.JiraSecurityFilter.doFilter(JiraSecurityFilter.java:70)
... 89 filtered
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.ClassNotFoundException
at org.apache.catalina.loader.WebappClassLoaderBase.checkStateForClassLoading(WebappClassLoaderBase.java:1315)
... 130 more
2017-08-01 14:02:31,659 http-nio-8080-exec-9 ERROR MasoudiF 964x214979x3 k1wh0r 93.168.140.221 /browse/AMD-1327 [500ErrorPage.113ab087-6ad5-4fc3-be0b-2266856343d8] Cannot render the 500 page
java.lang.IllegalStateException: Can't overwrite cause with java.lang.IllegalStateException: Illegal access: this web application instance has been stopped already. Could not load [com.atlassian.jira.i18n.BootstrapTranslationStore]. The following stack trace is thrown for debugging purposes as well as to attempt to terminate the thread which caused the illegal access.
at java.lang.Throwable.initCause(Throwable.java:457)
at org.apache.catalina.loader.WebappClassLoaderBase.checkStateForClassLoading(WebappClassLoaderBase.java:1316)
at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1196)
at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1157)
at com.atlassian.jira.i18n.BootstrapJiraAuthenticationContext.<init>(BootstrapJiraAuthenticationContext.java:26)
at java.util.Optional.orElseGet(Optional.java:267)
at com.atlassian.jira.web.servlet.InternalServerErrorHelper.<init>(InternalServerErrorHelper.java:75)
at com.atlassian.jira.web.servlet.InternalServerErrorHelper.render500ResponsePage(InternalServerErrorHelper.java:43)
... 30 filtered
at com.atlassian.jira.security.JiraSecurityFilter.doFilter(JiraSecurityFilter.java:70)
... 89 filtered
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.ClassNotFoundException
at org.apache.catalina.loader.WebappClassLoaderBase.checkStateForClassLoading(WebappClassLoaderBase.java:1315)
... 130 more
2017-08-01 14:02:31,659 http-nio-8080-exec-10 ERROR MasoudiF 967x214999x7 k1wh0r 93.168.140.221 /browse/AMD-1327 [500ErrorPage.fed5cb04-514a-401d-96c0-29fe6e2a39fb] Cannot render the 500 page
java.lang.IllegalStateException: Can't overwrite cause with java.lang.IllegalStateException: Illegal access: this web application instance has been stopped already. Could not load [com.atlassian.jira.i18n.BootstrapTranslationStore]. The following stack trace is thrown for debugging purposes as well as to attempt to terminate the thread which caused the illegal access.
at java.lang.Throwable.initCause(Throwable.java:457)
at org.apache.catalina.loader.WebappClassLoaderBase.checkStateForClassLoading(WebappClassLoaderBase.java:1316)
at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1196)
at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1157)
at com.atlassian.jira.i18n.BootstrapJiraAuthenticationContext.<init>(BootstrapJiraAuthenticationContext.java:26)
at java.util.Optional.orElseGet(Optional.java:267)
at com.atlassian.jira.web.servlet.InternalServerErrorHelper.<init>(InternalServerErrorHelper.java:75)
at com.atlassian.jira.web.servlet.InternalServerErrorHelper.render500ResponsePage(InternalServerErrorHelper.java:43)
... 30 filtered
at com.atlassian.jira.security.JiraSecurityFilter.doFilter(JiraSecurityFilter.java:70)
... 89 filtered
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.ClassNotFoundException
at org.apache.catalina.loader.WebappClassLoaderBase.checkStateForClassLoading(WebappClassLoaderBase.java:1315)
... 130 more

Hi Nic,

The below is the log information of the atlassian-jira file at the starting point when JIRA failed.

 

2017-08-01 14:02:31,659 http-nio-8080-exec-10 ERROR MasoudiF 967x214999x7 k1wh0r 93.168.140.221 /browse/AMD-1327 [500ErrorPage.fed5cb04-514a-401d-96c0-29fe6e2a39fb] Cannot render the 500 page
java.lang.IllegalStateException: Can't overwrite cause with java.lang.IllegalStateException: Illegal access: this web application instance has been stopped already. Could not load [com.atlassian.jira.i18n.BootstrapTranslationStore]. The following stack trace is thrown for debugging purposes as well as to attempt to terminate the thread which caused the illegal access.
at java.lang.Throwable.initCause(Throwable.java:457)
at org.apache.catalina.loader.WebappClassLoaderBase.checkStateForClassLoading(WebappClassLoaderBase.java:1316)
at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1196)
at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1157)
at com.atlassian.jira.i18n.BootstrapJiraAuthenticationContext.<init>(BootstrapJiraAuthenticationContext.java:26)
at java.util.Optional.orElseGet(Optional.java:267)
at com.atlassian.jira.web.servlet.InternalServerErrorHelper.<init>(InternalServerErrorHelper.java:75)
at com.atlassian.jira.web.servlet.InternalServerErrorHelper.render500ResponsePage(InternalServerErrorHelper.java:43)
... 30 filtered
at com.atlassian.jira.security.JiraSecurityFilter.doFilter(JiraSecurityFilter.java:70)
... 89 filtered
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.ClassNotFoundException
at org.apache.catalina.loader.WebappClassLoaderBase.checkStateForClassLoading(WebappClassLoaderBase.java:1315)
... 130 more

These look like shutdown warnings rather than start up errors.

Could you stop JIRA completely, move (or delete) the existing logs, then restart it.  That will give you a clean run to see where it's failing.

Hi Nic,

I just restarted the JIRA with below mentioned command and it got started. 

> runas /env /user:<DOMAIN>\<jira> start-jira.bat 

After this there was an issue with Services which was not responding and stopped completely. When trying to start, was giving an error. Then I removed the Services and reinstalled again as per below steps and Its working fine now.

> runas /env /user:<DOMAIN>\<jira> stop-jira.bat
service.bat remove JIRA
service.bat install JIRA712

After this, it looks JIRA is running without any issues and I am watching to know whether it is stable or not.

Thank you so much for your suggestions

However I couldn't understand what is the issue with UPM update? because I have updated all other add-ons and there was no issue. Only during updation of UPM, JIRA got hang and stopped working.

Hi Nic,

Our JIRA stopped working suddenly this morning. When checked services, it was Stopped. When tried to turn ON the services, its Running but JIRA web page is not working and giving an error message as shown in attached screenshot.

Kindly support us to resolve the issue and bring JIRA UP.

Please let me know if any other information is required.JIRA-Service-Stopped.jpg

That message means your browser can't reach Jira, or that it can but Jira is not listening.  Check your network and check what Jira is saying it is doing in the log file.

Hi Nic,

Thanks a lot for the quick reply.

After some trials, thought to put the backup data on existed one, it worked well and JIRA became UP. So it looks like issue got resolved.

I will update after time observation if any changes.

Thanks a lot again for your kind support.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Oct 16, 2018 in Jira

Looking for anyone who made the switch to Data Center

The Jira Marketing team is putting together an ebook on migrating to Data Center. We're looking for pro tips on how you staffed your project team and organized your Proof of Concept. Share yo...

1,072 views 11 10
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you