javax.servlet.error.status_code: 500
Asked by Puranam Rajendra:

Request Unique ID : 75dbbe5e-1de1-4662-a9b4-c091b73c7a85  
--------------------------  
JVM Stats  
--------------------------  
allocatedHeap = 4275568640  
usedMemory = 1083358280  
availablePermGen = 195247320  
totalMemory = 4275568640  
freeMemory = 3192210360  
maxPermGen = 402653184  
usedPermGen = 207405864  
freeMemoryInMegabytes = 3044  
freeAllocatedHeap = 3192210360  
availableHeap = 3192210360  
usedMemoryInMegabytes = 1033  
maxHeap = 4275568640  
usedHeap = 1083358280  
totalMemoryInMegabytes = 4077  
--------------------------  
Request Information  
--------------------------  
URL: <http://cawiki.ca.com/500page.jsp>  
Scheme: http  
Server: [cawiki.ca.com](http://cawiki.ca.com)  
Port: 80  
URI: /500page.jsp  
Context Path:   
Servlet Path: /500page.jsp  
Path Info: null  
Query String: null  
--------------------------  
Attributes  
--------------------------  
javax.servlet.forward.request_uri: /rest/mywork/latest/status/notification/count  
javax.servlet.forward.context_path:   
javax.servlet.forward.servlet_path: /rest  
javax.servlet.forward.path_info: /500page.jsp  
os_securityfilter_already_filtered: true  
atlassian.core.seraph.original.url: /500page.jsp  
javax.servlet.error.status_code: 500  
javax.servlet.error.servlet_name: noop  
com.opensymphony.sitemesh.USINGSTREAM: false  
com.atlassian.gzipfilter.GzipFilter_already_filtered: true  
loginfilter.already.filtered: true  
javax.servlet.error.message: Internal Server Error  
com.opensymphony.sitemesh.APPLIED_ONCE: true  
com.atlassian.core.filters.HeaderSanitisingFilter_already_filtered: true  
__cleanup_recursion_counter: 0  
com.atlassian.confluence.web.filter.validateparam.RequestParamValidationFilter_already_filtered: true  
javax.servlet.error.request_uri: /rest/mywork/latest/status/notification/count  
--------------------------  
Parameters  
--------------------------


Answers:
author: Giuliano C.
body: Hi Puranam,

generally, when we face issues related to a 500 error in Confluence without any recent modification, we could be facing it regarding the following points:

1. Check if \<CONFLUENCE-HOME\> is not writable (check the permission of the directory and sub-directories)
2. Confluence database is not available - check the connection parameters in \<CONFLUENCE-HOME\>/confluence.cfg.xml and verify if the database user has access to all confluence tables and if the password is the same.

If that doesn't work, as Nic mentioned, can you please let us know what's displayed in the latest atlassian-confluence.log file which is inside \<Confluence Home/logs\> directory when Confluence is starting?

Cheers,

Giuliano


author: rrudnicki
body: Hi Puranam,

It's a error message pretty generic and Nic said, more information will help us to help you :).

However, In a quick search I've found some similar errors:

<https://answers.atlassian.com/questions/279477/help-with-error-http-500-on-confluence>

<https://answers.atlassian.com/questions/201441/confluence-unusable-after-restart>

Regards,

Renato Rudnicki


author: Nic Brough -Adaptavist-
body: Yes, something is broken. What does the log file say is going wrong, and what are you doing that makes it happen?