brokenContext.jsp 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. <jsp:directive.include file="default/ui/includes/top.jsp" />
  2. <div id="welcome">
  3. <h2>CAS is Unavailable</h2>
  4. <p>
  5. There was a fatal error initializing the CAS application context. This is almost always because of an error in the Spring bean configuration files.
  6. Are the files valid XML? Do the beans they refer to all exist?<br /><br />
  7. Before placing CAS in production, you should change this page to present a UI appropriate for the case where the CAS
  8. web application is fundamentally broken. Perhaps "Sorry, CAS is currently unavailable." with some links to your user support information.
  9. </p>
  10. <c:if test="${not empty applicationScope.exceptionCaughtByServlet and empty applicationScope.exceptionCaughtByListener}">
  11. <p>
  12. The Throwable representing the fatal error has been logged by the <em>SafeDispatcherServlet</em>
  13. via Commons Logging, via ServletContext logging, and to System.err.
  14. </p>
  15. </c:if>
  16. <c:if test="${empty applicationScope.exceptionCaughtByServlet and not empty applicationScope.exceptionCaughtByListener}">
  17. <p>
  18. The Throwable representing the fatal error has been logged by the SafeContextLoaderListener
  19. via Commons Logging, via ServletContext logging, and to System.err.
  20. </p>
  21. </c:if>
  22. <!-- Render information about the throwables themselves -->
  23. <c:if test="${not empty applicationScope.exceptionCaughtByListener}">
  24. <p>
  25. The Throwable encountered at context listener initialization was: <br/> <br/>
  26. <c:out value="${applicationScope.exceptionCaughtByListener}"/>
  27. </p>
  28. </c:if>
  29. <c:if test="${not empty applicationScope.exceptionCaughtByServlet}">
  30. <p>
  31. The Throwable encountered at dispatcher servlet initialization was: <br/> <br/>
  32. <c:out value="${applicationScope.exceptionCaughtByServlet}"/>
  33. </p>
  34. </c:if>
  35. </div>
  36. <jsp:directive.include file="default/ui/includes/bottom.jsp" />