[jbossts-issues] [JBoss JIRA] (JBTM-1880) opname: shouldMerge cannot process request, because object doesn't exist
Tom Ross (JIRA)
jira-events at lists.jboss.org
Mon Aug 12 06:39:26 EDT 2013
Tom Ross created JBTM-1880:
------------------------------
Summary: opname: shouldMerge cannot process request, because object doesn't exist
Key: JBTM-1880
URL: https://issues.jboss.org/browse/JBTM-1880
Project: JBoss Transaction Manager
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: JTA
Reporter: Tom Ross
Assignee: Tom Jenkinson
When dealing with some situations we choose to ignore certain exceptions [1]
{noformat}
if (rec != null)
{
try
{
result = resHandle.shouldMerge(rec);
}
catch (OBJECT_NOT_EXIST ex)
{
// This is expected to happen whenever a resource has gone away, for example during a crash or if it has exited the 2PC process early by returning XA_RDONLY out of prepare
}
catch (Exception e) {
_endpointFailed = true;
jtsLogger.i18NLogger.warn_resources_errgenerr("ExtendedResourceRecord.shouldMerge", e);
}
rec = null;
}
{noformat}
{noformat}
Unfortunately jacorb does log and the result is a log file full warnings
[jacorb.poa.controller] (RequestController-1) rid: 42 opname: shouldMerge cannot process request, because object doesn't exist
{noformat}
If we have decided to ignore this warning then JACORB should the same and not log it at WARN level.
[1] https://github.com/tomjenkinson/narayana/blob/4.17/ArjunaJTS/jts/classes/com/arjuna/ats/internal/jts/resources/ExtendedResourceRecord.java#L1042
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jbossts-issues
mailing list