Hey, fedora folks.
Working on upgrading to Fedora 3.8 (as a stepping stone to 4), and ran into a problem where our 500 error pages are completely empty - no stack trace to indicate what kind of error occurred. As far as we can tell this is something to do with fedora and not tomcat (e.g., I still see stack traces on the risearch for bad queries). We¹ve looked up information about tomcat 500 error configuration, but the things we¹ve found don¹t seem immediately relevant and nothing we¹ve tried has made any difference. I don¹t see any differences in the error configuration or the error jsp files between 3.8 and our older version of fedora (3.4), and I have looked and can¹t find any jira tickets that seem relevant. I can see why showing the stack trace could be a security issue, but still think (hope) there should be a way to display it if you need to.
Our software relies on the stack traces to differentiate what kind of error occurred (some errors are more ok than others). If we have to work around it we can, but it will take some work, so it would be by far preferable if there is a configuration we can turn on to get those 500 error messages back.
Hoping someone else has run into this and knows the answer. I would at least appreciate hearing if other folks are getting empty or non-empty 500 errors in fedora 3.8.
Thanks.
--
You received this message because you are subscribed to the Google Groups "Fedora Tech" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fedora-tech...@googlegroups.com.
To post to this group, send email to fedor...@googlegroups.com.
Visit this group at http://groups.google.com/group/fedora-tech.
For more options, visit https://groups.google.com/d/optout.
I don't remember any work done with the intention of suppressing the entity on a 500 response, but I'm also fairly certain that the test suite only verifies status codes (and a lot has changed over the last 4 minor releases). I think, for example, that in 3.5 a whole category of 500 errors was changed to return 400. How could we reproduce the 500s you're interested in?
WebApplicationException has been caught, status: 500, message: Checksum Mismatch
... If that's too little information, I think you could write a implementation and wire it in there with little trouble. But I'm hopeful that simple entity would be sufficient?
- Ben
--