Jira will not start. getting these errors:
2017-07-25 10:42:13,120 JIRA-Bootstrap ERROR [c.a.jira.startup.ComponentContainerLauncher] An Error occurred during ComponentContainerLauncher servlet context initialisation - Truncated class file.
2017-07-25 10:42:13,120 JIRA-Bootstrap ERROR [c.a.jira.startup.LauncherContextListener] Unable to start JIRA.
That error usually means that a file (specifically a class file) is corrupted. You may have more than one.
You could try things like attaching debuggers to the Tomcat to trace down which one, but I've only really got two fixes for corrupted class files are:
1. Stop JIRA, clear the Tomcat cache, and restart
2. Re-install it
Yes, a clean install will drop all the data. But, I assume you've got backups, so you could do a clean install and then import your data?
Have a look in <jira-data>/exports - if you have not disabled the regular backups, then you can take the latest export in there and import it after you've built a clean ssytem.
They have nearly everything, it depends a bit on the config.
If you are using external user management (LDAP, Crowd etc), then those backups will only contain bits of the user data - you will want to reconnect the external directory after restoring. But the backups will contain the directory connection settings, so it should be done as part of restoring.
The one thing that is not in the backup is the attachments. That's just a matter of keeping a copy of <jira home>/attachments - there's no import/export, you can just copy it.
I made a copy of "c:\program files\atlassian\" which inside of that folder is "JIRA" and "Application Data". When I orginally installed it I didn't change any folder destination details so I asume this is the default directory. I can't find any other folders anywhere else.
Actually it's fixed now. I don't know if it was the right way to do it or not, but I re-ran the "atlassian-jira-core-7.3.8-x64.exe" install file and chose the upgrade option. I guess it backed up the files and reinstalled them. When it finished and it started the service again it worked and all of the data was still there.
Thanks so much for your help Nic!
Sorry I should have been more descriptive. This is an existing install of JIRA and we have been using it for a couple of months now. I came to work this morrninig and I was getting a 503 error when I tried to access our JIRA thats installed on a Windows 2012 server. I stopped and started the service and I'm getting these errors all the time now.
This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.Read more
Can a new-to-agile team survive and thrive in a non-agile culture? If so, what advice would you give to those trying to be agile in a non-agile culture? What's the key(s) to success? Share your thoug...
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!
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