roller-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Morton Thule (JIRA)" <>
Subject [jira] Created: (ROL-1823) denied.jsp is broken (on session timeout)
Date Thu, 09 Jul 2009 08:46:14 GMT
denied.jsp is broken (on session timeout)

                 Key: ROL-1823
             Project: Roller
          Issue Type: Bug
    Affects Versions: 4.0.1
         Environment: Ubuntu 8.10; Rackspace Cloud
            Reporter: Morton Thule
            Assignee: Roller Unassigned
            Priority: Minor

When session is inactive for several minutes, the denied.jsp is presented. However, the messages
are not decoded. Specifically:


    * ???error.permissionDenied.reason0???
    * ???error.permissionDenied.reason1???
    * ???error.permissionDenied.reason2???
    * ???error.permissionDenied.reason3??? 

I was able to fix this issue by enhancing denied.jsp in my installation. I appears that this
.jsp lacks the structure needed to render correctly. My fix: I modified /roller/roller-ui/errors/denied.jsp,
using /roller/roller-ui/errors/404.jsp as a basis. Here's what worked for me:

  Licensed to the Apache Software Foundation (ASF) under one or more
   contributor license agreements.  The ASF licenses this file to You
  under the Apache License, Version 2.0 (the "License"); you may not
  use this file except in compliance with the License.
  You may obtain a copy of the License at

  Unless required by applicable law or agreed to in writing, software
  distributed under the License is distributed on an "AS IS" BASIS,
  See the License for the specific language governing permissions and
  limitations under the License.  For additional information regarding
  copyright in this work, please see the NOTICE file in the top level
  directory of this distribution.
<%@ taglib uri="" prefix="c" %>
<%@ taglib uri=""  prefix="fmt" %>
<%@ page isErrorPage="true" %>
<fmt:setBundle basename="ApplicationResources" />
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "">
<html xmlns="">
        <title><fmt:message key="error.permissionDenied.title" /></title>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        <link rel="stylesheet" type="text/css" media="all" href='<c:url value="/roller-ui/styles/roller.css"/>'
        <h2><fmt:message key="error.permissionDenied.title" /></h2>

        <fmt:message key="error.permissionDenied.prompt" />

            <li><fmt:message key="error.permissionDenied.reason0" /></li>
            <li><fmt:message key="error.permissionDenied.reason1" /></li>
            <li><fmt:message key="error.permissionDenied.reason2" /></li>
            <li><fmt:message key="error.permissionDenied.reason3" /></li>
            <li><fmt:message key="error.permissionDenied.reason4" /></li>
        <br />
        <br />


Please note -- I added a .reason4. I also tweaked /roller/WEB-INF/classes/,
error.permissionDenied.reason4=Your session has timed out. \
To resolve this problem and continue working, click your browser's refresh button.


Note: This issue is somewhat similar to:

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message