-
Type:
Enhancement
-
Status: Closed (View Workflow)
-
Priority:
Major
-
Resolution: Done
-
Affects Version/s: EAP_EWP 5.1.2
-
Fix Version/s: EAP_EWP 5.2.0
-
Component/s: JCA
-
Labels:None
-
Affects:Release Notes
-
Release Notes Text:
-
Release Notes Docs Status:Documented as Resolved Issue
-
Docs QE Status:NEW
Currently when a thread's interrupted status is "true" and it calls java.sql.DataSource.getConnection() for a JCA datasource it receives this somewhat cryptic error message:
javax.resource.ResourceException: Interrupted while requesting permit! Waited 0 ms
We should improve this error message (or create a new one) so that the root cause can be more easily determined.
Note: we should not change the current behavior (i.e. throwing an exception) as it isn't technically a bug and it's possible that clients rely on this behavior. However, it could be changed in the next major release.
- relates to
-
JBJCA-721 Handle thread's interrupted status differently for call to java.sql.DataSource.getConnection()
-
- Closed
-