[ 
http://issues.apache.org/jira/browse/GERONIMO-2113?page=comments#action_12428764
 ] 
            
Jason Dillon commented on GERONIMO-2113:
----------------------------------------

What is up with this issue?  Seems like lowhanging fruit...

Patch is complaining though:

{noformat}
***************
*** 404,409 ****
          infoFactory.addAttribute("bufferClassName", String.class, true);
          infoFactory.addAttribute("bufferSizeKBytes", Integer.TYPE, true);
          infoFactory.addAttribute("checksumEnabled", Boolean.TYPE, true);
          infoFactory.addAttribute("flushSleepTimeMilliseconds", Integer.TYPE, 
true);
          infoFactory.addAttribute("logFileDir", String.class, true);
          infoFactory.addAttribute("logFileExt", String.class, true);
--- 414,420 ----
          infoFactory.addAttribute("bufferClassName", String.class, true);
          infoFactory.addAttribute("bufferSizeKBytes", Integer.TYPE, true);
          infoFactory.addAttribute("checksumEnabled", Boolean.TYPE, true);
+         infoFactory.addAttribute("adler32Checksum", Boolean.TYPE, true);
          infoFactory.addAttribute("flushSleepTimeMilliseconds", Integer.TYPE, 
true);
          infoFactory.addAttribute("logFileDir", String.class, true);
          infoFactory.addAttribute("logFileExt", String.class, true);
***************
*** 423,428 ****
              "bufferClassName",
              "bufferSizeKBytes",
              "checksumEnabled",
              "flushSleepTimeMilliseconds",
              "logFileDir",
              "logFileExt",
--- 434,440 ----
              "bufferClassName",
              "bufferSizeKBytes",
              "checksumEnabled",
+             "adler32ChecksumEnabled",
              "flushSleepTimeMilliseconds",
              "logFileDir",
              "logFileExt",
{noformat}


> Geronimo doesn't start if restarted using another JDK
> -----------------------------------------------------
>
>                 Key: GERONIMO-2113
>                 URL: http://issues.apache.org/jira/browse/GERONIMO-2113
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: transaction manager
>    Affects Versions: 1.2, 1.1, 1.1.1
>            Reporter: Nellya Udovichenko
>         Assigned To: David Jencks
>             Fix For: 1.2, 1.1.2
>
>         Attachments: HOWLLog.patch, HOWLLog.patch
>
>
> 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'.
>  

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to