What does my Windows Server 2008 restart produce /secure/errors.jsp message every time?

I just installed JIRA Agile on my Windows Server 2008.  I have been successful at installing and then converting the DB to use MySQL.  Everything works great except when I restart the machine.  Every time I do this. I get this message:  http://localhost:8080/secure/errors.jspa

The solution I found on the Internet was this...

  • Shutdown JIRA.
  • Clear the contents of <jira-install>/work directory.
  • Start JIRA.

When I do this, everything is working perfectly again.  But, this is extremely annoying. Are there any permanent fixes for this as it happens every time I do a simple reboot? Thanks.

Todd

 

p.s., reference solution https://confluence.atlassian.com/display/JIRAKB/JIRA+missing+class+exception+org.apache.jsp.secure.views.browser.contentonly_jsp

 

p.s.s., I see the documentation says the app server supported is Apache Tomcat.  I also have just Apache installed and it also works great. Do I have to use Tomcat? Can I just use my own Apache install?

1 answer

0 vote

What does the log file say the error is on startup?  It's definitely the working cache being damaged somehow, which could be a number of things (I'd check the user running the service has full read, write, execute and delete access to all the directories) 

For your p.s.s - Apache is a web server, Tomcat is an application server.  You need an application server to run JIRA, not a web server.  You can run JIRA in other application servers, but Tomcat is the only supported one, and JIRA comes with one bundled into it, it's easiest to stick with it.

Hi Nic,

Your suggestion of looking into the log files helped me resolve this. Here is what I did. I noticed in the log file there was an error when attempting to connect to MySQL database. It turns out that I did NOT have the MySQL service starting until after JIRA started.  That is, I have WAMP installed and setup a "Task Schedule" job to start up WAMP whenever Windows starts. Well, I believe this "Task" didn't happen until JIRA was already up and running which, by that time, cause JIRA to have this error.

The solution was to click on the tray option for WAMP and indicate to install MySQL as a service and then automatically start this service. Now, when Windows starts up, it will start both JIRA and MySQL services together (to be honest I'm not sure if one still goes before the other but it works now). I've had two successful reboots just now and JIRA Agile was working fine without any intervention from me. I'll post a follow up if I find any different behavior. Thanks again.

Todd

Well spotted! That's one I always forget to check, and the one that taught me to start with "read the log" when an atlassian app fails to start!

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published May 21, 2018 in Jira Software

How large do you think Jira Software can grow?

Hi Atlassian Community! My name is Shana, and I’m on the Jira Software team. One of the many reasons this Community exists is to connect you to others on similar product journeys or with comparabl...

1,229 views 10 18
Read article

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