Uploaded image for project: 'JBoss Enterprise Application Platform 4 and 5'
  1. JBoss Enterprise Application Platform 4 and 5
  2. JBPAPP-6141

AccessLogValve reports incorrect offset following Spring DST transition.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • EAP_EWP 5.1.2 ER2
    • EAP_EWP 5.1.0
    • Web
    • None
    • Hide

      "Spring forward" to active daylight savings time while JBoss is running.

      Show
      "Spring forward" to active daylight savings time while JBoss is running.
    • Low
    • Because of an issue in Tomcat, the time offset when Daylight Savings Time came into effect was wrong. This has since been fixed and the offset calculations are now correct.
    • Documented as Resolved Issue

    Description

      This was a Tomcat issue [1].

      It is fixed in JBossWeb 2.1.x branch [2].

      An excerpt from the Tomcat Bugzilla:

      With the system clock on my linux machine (Ubuntu in my case) to just before
      the US time change on March 8, I started Tomcat 5.5 and see the following
      messages in my Tomcat access log after accessing Tomcat JSP example pages at
      the time of DST transition:

      -: - [08/Mar/2009:01:56:20 -0700] GET /jsp-examples/jsp2/simpletag/book.jsp
      HTTP/1.1 200 1738 1 -

      {http-8080-Processor24}

      -: - [08/Mar/2009:03:01:22 -0700] GET /jsp-examples/jsp2/tagfiles/hello.jsp
      HTTP/1.1 200 2213 68 -

      {http-8080-Processor25}

      Note the offset of "-0700" both before and after DST transition. Following a
      Tomcat restart the offset is correct:

      -: - [08/Mar/2009:03:19:42 -0600] GET /jsp-examples/jsp2/jspx/basic.jspx
      HTTP/1.1 200 1919 780 - {http-8080-Processor25}

      -: - [08/Mar/2009:03:19:59 -0600] GET /jsp-examples/jsp2/jspx/svgexample.html
      HTTP/1.1 200 2239 4 -

      {http-8080-Processor25}
      -: - [08/Mar/2009:03:19:59 -0600] GET /jsp-examples/jsp2/jspx/textRotate.jpg
      HTTP/1.1 200 26729 3 - {http-8080-Processor25}

      [1] https://issues.apache.org/bugzilla/show_bug.cgi?id=46982
      [2] http://anonsvn.jboss.org/repos/jbossweb/branches/2.1.x/java/org/apache/catalina/valves/AccessLogValve.java -r1682

      Attachments

        Activity

          People

            rh-ee-klape Kyle Lape
            rh-ee-klape Kyle Lape
            Russell Dickenson Russell Dickenson (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: