Opened 6 years ago

Closed 6 years ago

#1642 closed defect (fixed)

Petascope writes the exception text to client even when it cannot start

Reported by: Bang Pham Huu Owned by: Bang Pham Huu
Priority: major Milestone: 9.5
Component: petascope Version: development
Keywords: Cc: Dimitar Misev, Vlad Merticariu
Complexity: Medium

Description

For example petascope in version 9.5 and it cannot start with old petascopedb version 9.4 and it cannot start then all the request to this petascope (e.g: localhost:8080/rasdaman/ows will just return error 404 not found and user need to check in petascope log file or catalina.out)

it should somehow stores the exception text and still can serve any request to localhost:8080/rasdaman/ows with the error text.

e.g: in the above case, it should say "please migrate petascopedb version 9.4 to 9.5 then restart tomcat".

Change History (2)

comment:1 by Dimitar Misev, 6 years ago

Yes, it should catch whatever exception happens that prevents it from starting.

comment:2 by Bang Pham Huu, 6 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.