Bug 780421 (SOA-2852) - EDS adminshell - terminateTransaction() does not work
Summary: EDS adminshell - terminateTransaction() does not work
Keywords:
Status: CLOSED NEXTRELEASE
Alias: SOA-2852
Product: JBoss Enterprise SOA Platform 5
Classification: JBoss
Component: EDS
Version: 5.1.0.ER8
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: 5.1.0 GA
Assignee: Van Halbert
QA Contact:
URL: http://jira.jboss.org/jira/browse/SOA...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-01-28 18:12 UTC by Len DiMaggio
Modified: 2011-07-21 02:56 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-07-21 02:56:46 UTC
Type: Bug


Attachments (Terms of Use)
server.log (275.25 KB, text/x-log)
2011-01-28 19:13 UTC, Len DiMaggio
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 780332 0 urgent CLOSED EDS adminshell getTransactions() fails - exception = org.teiid.adminapi.AdminComponentException: 2021-02-22 00:41:40 UTC
Red Hat Issue Tracker SOA-2852 0 None None None Never

Internal Links: 780332

Description Len DiMaggio 2011-01-28 18:12:48 UTC
Workaround Description: The use of terminateTransaction() is when Teiid is participating in a global transaction (started by someone else).   For transactions started by Teiid, use cancelQuery() or use admin console and execute operation to cancel query.
project_key: SOA

No error is returned or exception raised.

==============

adminhelp terminateTransaction
/*
  Terminate a transaction
 */
void terminateTransaction(
    String /* transaction id */)
  throws AdminException

==============

groovy:000> getTransactions()
===> [Associated Session:GbZ2QWO5N+uBScope:LOCALId:TransactionImple < ac, BasicAction: 7f000001:cf35:4d42f839:4a4 status: ActionStatus.RUNNING >CreatedTime:Fri Jan 28 12:43:44 EST 2011]

groovy:000> terminateTransaction("TransactionImple < ac, BasicAction: 7f000001:cf35:4d42f839:3e3 status: ActionStatus.RUNNING >")
===> null

groovy:000> getTransactions()                                                                                       
===> [Associated Session:GbZ2QWO5N+uBScope:LOCALId:TransactionImple < ac, BasicAction: 7f000001:cf35:4d42f839:4a4 status: ActionStatus.RUNNING >CreatedTime:Fri Jan 28 12:43:44 EST 2011]

Comment 2 Len DiMaggio 2011-01-28 18:13:58 UTC
Link: Added: This issue is related to SOA-2740


Comment 4 Len DiMaggio 2011-01-28 19:13:27 UTC
Attachment: Added: server.log


Comment 5 Van Halbert 2011-01-28 20:51:55 UTC
Workaround Description: Added: The use of terminateTransaction() is when Teiid is participating in a global transaction (started by someone else).   For transactions started by Teiid, use cancelQuery() or use admin console and execute operation to cancel query.


Comment 7 Len DiMaggio 2011-07-21 02:56:46 UTC
Verified with the 5.1 GA bits


Note You need to log in before you can comment on or make changes to this bug.