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

Yasar Safkan (JIRA) jira-events at jboss.com
Thu Jul 13 22:40:11 EDT 2006


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


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