[JBoss JIRA] Created: (JBTM-234) setRollbackOnly consistency
by Mark Little (JIRA)
setRollbackOnly consistency
---------------------------
Key: JBTM-234
URL: http://jira.jboss.com/jira/browse/JBTM-234
Project: JBoss Transaction Manager
Issue Type: Task
Security Level: Public (Everyone can see)
Components: JTA Implementation
Affects Versions: 4.2.3.SP4
Reporter: Mark Little
Assigned To: Mark Little
Priority: Optional
OTS does not let you call rollback-only if the state of the transaction is not active. JTA doesn't make it clear whether or not that is an error. That makes it implementation dependent. At the moment both of our JTA implementations mask this issue. AS appears to not expect an exception from setRollbackOnly either, but that's may cause an issue if someone uses a different JTA.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
14 years, 5 months
[JBoss JIRA] Created: (JBTM-592) Add fallback for Utility::hostInetAddr()
by Jesper Pedersen (JIRA)
Add fallback for Utility::hostInetAddr()
----------------------------------------
Key: JBTM-592
URL: https://jira.jboss.org/jira/browse/JBTM-592
Project: JBoss Transaction Manager
Issue Type: Feature Request
Security Level: Public (Everyone can see)
Components: Common
Affects Versions: 4.6.1
Reporter: Jesper Pedersen
Priority: Minor
If a host has a misconfigured hostname Utility::hostInetAddr() fails with an UnknownHostException.
An extra try could be made after logging a warning about the failed InetAddress.getLocalHost() using InetAddress.getByName(null) - e.g.
try {
addr = InetAddress.getLocalHost();
} catch (UnknownHostException uhe) {
log.warn("Unable to use InetAddress.getLocalHost() to resolve address");
addr = InetAddress.getByName(null);
}
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
14 years, 5 months