Bug 1080359

Summary: ConfigurationTest.testTableProperties fails constantly on all environments with JDK6
Product: [JBoss] JBoss Data Grid 6 Reporter: Vitalii Chepeliuk <vchepeli>
Component: InfinispanAssignee: Tristan Tarrant <ttarrant>
Status: CLOSED CURRENTRELEASE QA Contact: Martin Gencur <mgencur>
Severity: high Docs Contact:
Priority: unspecified    
Version: 6.3.0CC: gsheldon, jdg-bugs, mhusnain, tsykora, vjuranek
Target Milestone: CR1   
Target Release: 6.3.1   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Previously in Red Hat JBoss Data Grid, users were unable to use the <methodname>.withProperties()</methodname> method to configure JDBC cache store when running JDK 1.6. This was caused by the fact that the JDK could not find the correct property editor for the DatabaseType class. This problem does not occur with JDK 1.7 because com.sun.beans.editors.EnumEditor is used by default. However, this class is not present in JDK 1.6 so a specific property editor was added for deployments on JDK 1.6. This issue is now fixed in JBoss Data Grid 6.3.1.
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-01-26 14:04:32 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Vitalii Chepeliuk 2014-03-25 09:04:45 UTC
See description linked JIRA ISPN-4150

Comment 2 Tomas Sykora 2014-09-09 11:00:33 UTC
Setting target to 6.3.1

Comment 3 Martin Gencur 2014-09-09 15:26:10 UTC
This is caused by the fact that JDK can't find the right "Editor". On JDK 1.7, there's com.sun.beans.editors.EnumEditor chosen by default when it comes to setting DatabaseType on TableManipulationConfigurationBuilder. However, this class is not available in JDK 1.6 so an explicit Editor has to be created and registered. I'm working on the fix.

Comment 4 Martin Gencur 2014-09-09 15:51:09 UTC
PR for both jdg-6.3.x and jdg-6.4.x branches: https://github.com/infinispan/jdg/pull/234

Comment 5 JBoss JIRA Server 2016-09-23 15:48:05 UTC
Dan Berindei <dberinde> updated the status of jira ISPN-4150 to Resolved