-
Bug
-
Resolution: Done
-
Minor
-
JBossAS-5.1.0.GA
-
None
-
Workaround Exists
-
(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.
- is related to
-
JBAS-8243 org.jboss.test.profileservice.test.ConnectionFactoryUnitTestCase
- Closed