[jboss-jira] [JBoss JIRA] Updated: (JBCACHE-693) TreeCache configuration bombs with InvocationTargetException when JVM locale is set to Turkish.

Elias Ross (JIRA) jira-events at jboss.com
Wed Jan 31 03:18:21 EST 2007


     [ http://jira.jboss.com/jira/browse/JBCACHE-693?page=all ]

Elias Ross updated JBCACHE-693:
-------------------------------

    Attachment: locale.diff

uses Locale.ENGLISH to change case - should fix running on Turkish computers

> TreeCache configuration bombs with InvocationTargetException when JVM locale is set to Turkish.
> -----------------------------------------------------------------------------------------------
>
>                 Key: JBCACHE-693
>                 URL: http://jira.jboss.com/jira/browse/JBCACHE-693
>             Project: JBoss Cache
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>         Environment: Tested on Linux, using Resin 3.0.14 with Hibernate 3.
>            Reporter: Yasar Safkan
>         Assigned To: Manik Surtani
>         Attachments: locale.diff
>
>
> When the parameters:
>  -Duser.language=tr -Duser.country=TR
> are passed to the JVM, the AppServer startup bombs when it tires to configure TreeCache using treecache.xml. Seems that it reads the value fine, but thinks the value is invalid for some reason.
> My best guess is this stems from the way the letters i and I are handled in Turkish. If there is any upper/lowercase conversion code within JBossCache, these letters are handled funny, thus string constants like READ_COMMITED are not recognized.
> The fix will probably be to use upper/lowercase conversion by specifying a character set in the JBossCache code, and not relying on the JVM defaults.
> The JVM itself had a similar bug, which prevented encrytion from working under these same conditions.

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

        



More information about the jboss-jira mailing list