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
I'm sorry but where would I find the Tomcat cache? It's Installed on a windows 2012 server.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
It's usually in <jira install>work/Catalina/localhost
To clear it, you should delete all the files in there. Make sure you do NOT delete the directory though, that will make it fall over again.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
There is one folder in there called "ROOT" with nothing inside of it.
I stop JIRA, delete that "ROOT" folder, start JIRA, it recreates that empty "ROOT" folder again but I'm still getting that error.
If I Re-install it would I lose all the data that was entered?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yeah there is one there from yesterday. So do these files have all the issues, users, settings, etc.?
Is there any documentation that you can direct me towards on how to do this? I've never done it before.
Thanks so much for your help by the way.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I made a copy of the entire Atlassian folder in program files just to be safe. So should I just uninstall JIRA and then reinstall it?
We haven't used any attachments so I'm not worried about that.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
When you say "atlassian folder" - do you mean the installation of JIRA and the data? They are separate directories (albeit you might have them under /somewhere/atlassian)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Perfect, yes, those are the windows defaults. You have a copy of everything :-)
So, yes, uninstall and re-install is the next step.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hey Jeff - what are you doing? Is this a freshly installed JIRA? Did you change something? Have you tried reinstalling JIRA if it is a fresh installation? Looks like some sources are broken...
Cheers
Christoph
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.