|
Mantis - Resin
|
|||||
| Viewing Issue Advanced Details | |||||
|
|
|||||
| ID: | Category: | Severity: | Reproducibility: | Date Submitted: | Last Update: |
| 5283 | minor | always | 11-20-12 14:08 | 12-28-12 17:19 | |
|
|
|||||
| Reporter: | alex | Platform: | |||
| Assigned To: | cowan | OS: | |||
| Priority: | normal | OS Version: | |||
| Status: | closed | Product Version: | 4.0.32 | ||
| Product Build: | Resolution: | fixed | |||
| Projection: | none | ||||
| ETA: | none | Fixed in Version: | 4.0.34 | ||
|
|
|||||
| Summary: | 0005283: HttpStatusHealthCheck with Predicates does not match | ||||
| Description: |
HealthService._lastResultMap has an entry keyed by HttpStatusHealthCheckImpl not HttpStatusHealthCheck, and getLastResult(HealthCheck) returns null, i.e. different object and equals / hashcode aren't implemented. _lastResultMap entry: HttpStatusHealthCheckImpl[http://localhost:8084/test.jsp, [^] http://localhost:8084/test.jsp]=HealthCheckResult[CRITICAL:ping [^] http://localhost:8084/test.jsp [^] failed, status: HTTP/1.0 404 Not Found Server: Resin/4.0.32 Set-Cookie: JSESSIONID=aaaIbctkLAWtXhzwsWFSt; path=/ Content-Type: text/html; charset=utf-8 Content-Length: 192 Date: Tue, 20 Nov 2012 21:37:30 GMT ] Please see configuration below. |
||||
| Steps To Reproduce: | |||||
| Additional Information: |
<health:CallJmxOperation> <objectName>resin:type=IfMBeanEnabled,Host=default,WebApp=/,name=ss-proxy-dispatch</objectName> <operation>disable</operation> <health:IfHealthCritical healthCheck="${mycheck}"/> </health:CallJmxOperation> <health:HttpStatusHealthCheck ee:Named="mycheck"> <url-list>http://localhost:8084/test.jsp</url-list> [^] </health:HttpStatusHealthCheck> |
||||
| Relationships | |||||
| Attached Files: | |||||
| Notes | |||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||