[jboss-jira] [JBoss JIRA] Assigned: (JBAS-7071) use-try-lock option in data source configuration files is ignored

Jean-Frederic Clere (JIRA) jira-events at lists.jboss.org
Mon Jun 7 10:38:38 EDT 2010


     [ https://jira.jboss.org/browse/JBAS-7071?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jean-Frederic Clere reassigned JBAS-7071:
-----------------------------------------

    Assignee: Jesper Pedersen  (was: Jean-Frederic Clere)


> use-try-lock option in data source configuration files is ignored
> -----------------------------------------------------------------
>
>                 Key: JBAS-7071
>                 URL: https://jira.jboss.org/browse/JBAS-7071
>             Project: JBoss Application Server
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: JCA service
>    Affects Versions: JBossAS-5.1.0.GA
>         Environment: Windows XP Professional V2002, service pack 3
>            Reporter: Mike Conner
>            Assignee: Jesper Pedersen
>            Priority: Minor
>             Fix For: 6.0.0.M4
>
>
> (FYI  your "READ THIS BEFORE ENTERING NEW REPORTS" points to a  "You caught us doing a little maintenance..." page, so pardon me if I missed something in procedure. )
> The data source configuration property "use-try-lock" is effectively ignored.
> This is because the value is defined in configuration as a long, but the object that is actually set on  an
> org.jboss.resource.adapter.jdbc.local.LocalManagedConnectionFactory  extends 
>    org.jboss.resource.adapter.jdbc.BaseWrapperManagedConnectionFactory
> This class defines it as taking an int, not a long:
>    public void setUseTryLock(int useTryLock)
> As such, reflection in ManagedConnectionFactoryDeployment.setManagedConnectionFactoryAttribute() does not find the method and simply logs it at a trace level, so the value never gets set.

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

        


More information about the jboss-jira mailing list