We've got an app that makes several queries. Intermittantly, it will fail with an error like:
Unable to obtain lock in 60 seconds: org.jboss.resource.adapter.jdbc.local.LocalManagedConnection@1478101
Further update: First, this is for jboss-5.0.1.GA.
This seems to be an incompatibility in a configuration attribute type. In initializing the datasource, the class LocalManagedConnectionFactory is being used. This extends BaseWrapperManagedConnectionFactory, which has a method
public void setUseTryLock(int useTryLock)
@ManagementProperty(name="use-try-lock", description="The internal lock timeout", includeInTemplate=true) public long getUseTryLock()
|Retrieving data ...|