Uploaded image for project: 'Apache Roller'
  1. Apache Roller
  2. ROL-665

Broken themes on Tomcat 5.5.7

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.0RC2, 1.0.0, 1.0.1
    • 1.1
    • None
    • None
    • Win2K MySQL 4.1.7 Tomcat 5.5.7
    • Firefox ,
    • MySQL
    • Java 5.0
    • win2K

    Description

      Strange results with Tomcat 5.5.7 (stable)

      I tried the 1.0 release with Tomcat 5.5.7 and got the same set of
      themes displaying the same CSS code as in the 1.0.1 release - partial
      double html head body tags with css in the head with no <style> tags.

      Even stranger is the result with 1.0RC2 code on Toncat 5.5.7.

      The main page seems to load over and over (as in infinite loop).
      I ended up with " Main | Login | Register " on the screen 100 times
      before I stopped it.

      Tomcat 5.5.7 on Win2K MySql 4.1.7
      mysql-connector-java-3.0.16-ga-bin.jar

      Here is some of the repeating code that is generated
      for the main page in 1.0RC2:

      ===============
      <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
      <html xmlns="http://www.w3.org/1999/xhtml">
      <head>
      <title>Roller-based Site</title>

      <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
      <script type="text/javascript"
      src="/roller/theme/scripts/roller.js"></script>
      <script type="text/javascript"
      src="/roller/tags/CalendarPopup.js"></script>
      <link rel="stylesheet" type="text/css" media="all"
      href="/roller/theme/layout.css" />
      <link rel="stylesheet" type="text/css" media="all"
      href="/roller/theme/roller.css" />

      <link rel="stylesheet" type="text/css" media="all"
      href="/roller/theme/menu.css" />
      <link rel="stylesheet" type="text/css" media="all"
      href="/roller/theme/calendar.css" />
      <script type="text/javascript"
      src="/roller/tags/calendar.js"></script>
      <script type="text/javascript"
      src="/roller/theme/scripts/overlib.js"
      ><!-- overLIB (c) Erik Bosrup --></script>
      </head>
      <body>
      <div id="overDiv" style="position:absolute; visibility:hidden; z-index:1000;"></div>
      <div id="header">
      <div class="rNavigationBar">

      <a href="/roller?rmk=tabbedmenu.main&rmik=tabbedmenu.main">Main</a>

      <a href="/roller/login-redirect.jsp">Login</a>

      <a href="/roller/user.do?method=registerUser">Register</a> </div >

      <div style="clear:both">

      <table class="tmTabTable" cellspacing="0" >

      <tr>
      <td class="tmSelectedSepLeft"></td>
      <td class="tmSelectedMenu">

      <a href="/roller/main.do?rmik=tabbedmenu.main&rmk=tabbedmenu.main">Main</a>

      </td>
      <td class="tmSelectedSepRight"></td>
      </tr>
      </table>

      <table class="tmItemTable" cellspacing="0">
      <tr>

      <td class="tmItemLeft"></td>
      <td class="tmItemCell">

      <a class="tmItemLinkSelected" href="/roller/main.do?rmik=tabbedmenu.main">Main</a>

      </td>
      <td class="tmItemRight"></td>
      </tr>
      </table>

      <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
      "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

      <html xmlns="http://www.w3.org/1999/xhtml">
      <head>

      <title>Roller :: Editor</title>
      <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
      <script type="text/javascript"
      src="/roller/theme/scripts/roller.js"></script>
      <link rel="stylesheet" type="text/css" title="The Original"
      href="/roller/theme/roller.css" />
      </head>
      <body>

      <div id="page">

      <div class="rNavigationBar">

      <a href="/roller?rmk=tabbedmenu.main&rmik=tabbedmenu.main">Main</a>

      <a href="/roller/login-redirect.jsp">Login</a>

      <a href="/roller/user.do?method=registerUser">Register</a> </div >

      <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
      "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

      <html xmlns="http://www.w3.org/1999/xhtml">
      <head>
      <title>Roller :: Editor</title>

      <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
      <script type="text/javascript"
      src="/roller/theme/scripts/roller.js"></script>
      <link rel="stylesheet" type="text/css" title="The Original"
      href="/roller/theme/roller.css" />
      </head>
      <body>

      <div id="page">

      <div class="rNavigationBar">

      <a href="/roller?rmk=tabbedmenu.main&rmik=tabbedmenu.main">Main</a>

      <a href="/roller/login-redirect.jsp">Login</a>

      <a href="/roller/user.do?method=registerUser">Register</a> </div >

      <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
      "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

      <html xmlns="http://www.w3.org/1999/xhtml">
      <head>
      <title>Roller :: Editor</title>
      <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
      <script type="text/javascript"
      src="/roller/theme/scripts/roller.js"></script>

      <link rel="stylesheet" type="text/css" title="The Original"
      href="/roller/theme/roller.css" />
      </head>
      <body>

      <div id="page">

      <div class="rNavigationBar">

      <a href="/roller?rmk=tabbedmenu.main&rmik=tabbedmenu.main">Main</a>

      <a href="/roller/login-redirect.jsp">Login</a>

      <a href="/roller/user.do?method=registerUser">Register</a> </div >

      <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
      "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

      <html xmlns="http://www.w3.org/1999/xhtml">
      <head>
      <title>Roller :: Editor</title>
      <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
      <script type="text/javascript"
      src="/roller/theme/scripts/roller.js"></script>
      <link rel="stylesheet" type="text/css" title="The Original"
      href="/roller/theme/roller.css" />
      </head>

      <body>

      <div id="page">

      <div class="rNavigationBar">

      <a href="/roller?rmk=tabbedmenu.main&rmik=tabbedmenu.main">Main</a>

      <a href="/roller/login-redirect.jsp">Login</a>

      <a href="/roller/user.do?method=registerUser">Register</a> </div >

      <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
      "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

      <html xmlns="http://www.w3.org/1999/xhtml">
      <head>
      <title>Roller :: Editor</title>
      <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
      <script type="text/javascript"
      src="/roller/theme/scripts/roller.js"></script>
      <link rel="stylesheet" type="text/css" title="The Original"
      href="/roller/theme/roller.css" />
      </head>

      <body>

      <div id="page">

      <div class="rNavigationBar">

      <a href="/roller?rmk=tabbedmenu.main&rmik=tabbedmenu.main">Main</a>

      <a href="/roller/login-redirect.jsp">Login</a>

      <a href="/roller/user.do?method=registerUser">Register</a> </div >

      <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
      "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

      <html xmlns="http://www.w3.org/1999/xhtml">
      <head>
      <title>Roller :: Editor</title>
      <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
      <script type="text/javascript"
      src="/roller/theme/scripts/roller.js"></script>
      <link rel="stylesheet" type="text/css" title="The Original"
      href="/roller/theme/roller.css" />
      </head>

      <body>

      <div id="page">

      <div class="rNavigationBar">

      <a href="/roller?rmk=tabbedmenu.main&rmik=tabbedmenu.main">Main</a>

      <a href="/roller/login-redirect.jsp">Login</a>

      <a href="/roller/user.do?method=registerUser">Register</a> </div >

      <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
      "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

      <html xmlns="http://www.w3.org/1999/xhtml">
      <head>
      <title>Roller :: Editor</title>
      <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
      <script type="text/javascript"
      src="/roller/theme/scripts/roller.js"></script>
      <link rel="stylesheet" type="text/css" title="The Original"
      href="/roller/theme/roller.css" />
      </head>

      <body>

      <div id="page">

      <div class="rNavigationBar">

      <a href="/roller?rmk=tabbedmenu.main&rmik=tabbedmenu.main">Main</a>

      <a href="/roller/login-redirect.jsp">Login</a>

      <a href="/roller/user.do?method=registerUser">Register</a> </div >

      <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
      "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

      <html xmlns="http://www.w3.org/1999/xhtml">
      <head>
      <title>Roller :: Editor</title>
      <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
      <script type="text/javascript"
      src="/roller/theme/scripts/roller.js"></script>
      <link rel="stylesheet" type="text/css" title="The Original"
      href="/roller/theme/roller.css" />
      </head>

      <body>

      <div id="page">

      <div class="rNavigationBar">

      <a href="/roller?rmk=tabbedmenu.main&rmik=tabbedmenu.main">Main</a>

      <a href="/roller/login-redirect.jsp">Login</a>

      <a href="/roller/user.do?method=registerUser">Register</a> </div >

      <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
      "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

      ===============

      Attachments

        Activity

          People

            agangolli Anil Gangolli
            roller_dloren Dave Lindsey
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: