-
Type:
Bug
-
Resolution: Fixed
-
Priority:
Low
-
Affects Version/s: 2.5.2
-
Component/s: None
-
Environment:
system.version: 2.5.2
build.number: 807Server Information:
Application Server: Sun Java System Web Server/7.0
Servlet Version: 2.4
Database Dialect: com.atlassian.hibernate.dialect.MySQLDialect
Database Driver Name: com.mysql.jdbc.Driver
Database Driver Version: 5.0System Information:
system.date: Monday, 04 Jun 2007
system.time: 16:35:50
system.favourite.colour: Myrtle
java.version: 1.5.0_09
java.vendor: Sun Microsystems Inc.
jvm.version: 1.0
jvm.vendor: Sun Microsystems Inc.
jvm.implementation.version: 1.5.0_09-b03
java.runtime: Java(TM) 2 Runtime Environment, Standard Edition
java.vm: Java HotSpot(TM) Server VM
user.timezone: US/Pacific
operating.system: SunOS 5.10
os.architecture: x86
fs.encoding: ISO646-USsystem.version: 2.5.2 build.number: 807 Server Information: Application Server: Sun Java System Web Server/7.0 Servlet Version: 2.4 Database Dialect: com.atlassian.hibernate.dialect.MySQLDialect Database Driver Name: com.mysql.jdbc.Driver Database Driver Version: 5.0 System Information: system.date: Monday, 04 Jun 2007 system.time: 16:35:50 system.favourite.colour: Myrtle java.version: 1.5.0_09 java.vendor: Sun Microsystems Inc. jvm.version: 1.0 jvm.vendor: Sun Microsystems Inc. jvm.implementation.version: 1.5.0_09-b03 java.runtime: Java(TM) 2 Runtime Environment, Standard Edition java.vm: Java HotSpot(TM) Server VM user.timezone: US/Pacific operating.system: SunOS 5.10 os.architecture: x86 fs.encoding: ISO646-US
Currently errors.jsp page returns HTTP status code 200 OK even when there are errors present on the page.
In order to use errors.jsp page for load balancer health checks it would be good if e.g. 500 Internal Server Error was returned in case that there are some errors preventing Confluence from running properly.
The fix is pretty easy as you can see in the attached patch file.