문제

Does CloudBees allow you to define custom error pages beyond what you can to with a traditional Java web app (via web.xml)?

For instance, if a CloudBees app-cell instance goes down due to infrastructure issues, is there a type of exception it will throw that can be caught and handled by the application backend? Or a special exception/error page that can be defined if the app runs out of memory/PermGen? Thanks in advance!

도움이 되었습니까?

해결책

error page in web.xml are used to render application errors, and suppose the application server is up-and-running. Container errors / maintenance / shutdown can't benefit from application resources by nature.

If an app-cell instance goes down, your application has no chance to throw any exception as it will have been killed with the app-cell. An OOM error will automatically trigger an application restart. Generally speaking, the platform will ensure you always have one instance running.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top