Uploaded image for project: 'Geronimo'
  1. Geronimo
  2. GERONIMO-2113

Geronimo doesn't start if restarted using another JDK

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.1, 1.1.1, 1.2
    • 1.2
    • transaction manager
    • Security Level: public (Regular issues)
    • None
    • Patch Available

    Description

      There is a bug in HOWL. At Geronimo launching time the file content control sum is calculated by the function
      java.nio.ByteBuffer.hashCode(). Therefore, if hash code algorithms of various JDKs differ Geronimo doesn't
      start.

      The bug is repaired in howl-1.0.1 by the introducing of the new parameter adler32Checksum. If the parameter
      value is false the control sum is calculated by the function java.nio.ByteBuffer.hashCode() otherwise it is calculated using
      ADLER-32 algorithm.

      Attached patch adds the parameter to configs/j2ee-server/src/plan/plan.xml and
      to org.apache.geronimo.transaction.log.HOWLLog gbean with default value 'true'.

      Attachments

        1. HOWLLog.patch
          5 kB
          Nellya Udovichenko
        2. HOWLLog.patch
          5 kB
          Donald Woods

        Issue Links

          Activity

            People

              djencks David Jencks
              nudovichenko Nellya Udovichenko
              Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: