[teiid-issues] [JBoss JIRA] Commented: (TEIID-1420) Adminshell getTransactions() fails - exception = org.teiid.adminapi.AdminComponentException:

Steven Hawkins (JIRA) jira-events at lists.jboss.org
Tue Jan 4 16:43:17 EST 2011


    [ https://issues.jboss.org/browse/TEIID-1420?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12573316#comment-12573316 ] 

Steven Hawkins commented on TEIID-1420:
---------------------------------------

This appears to be a hold over from the conversion back to string based session identifiers.  The transaction metadata object is expecting the session to be a long.  I'm in favor of letting the fix break the contract of Transaction and changing the type of assicatedSession to string.  However if we want to let 7.2 "work", which would require a 7.2 server patch but would leave 7.2 without meaningful session information for a transaction, then we'd need to introduce a new field instead.

> Adminshell getTransactions() fails - exception = org.teiid.adminapi.AdminComponentException:
> --------------------------------------------------------------------------------------------
>
>                 Key: TEIID-1420
>                 URL: https://issues.jboss.org/browse/TEIID-1420
>             Project: Teiid
>          Issue Type: Bug
>          Components: AdminApi
>    Affects Versions: 7.1.1
>            Reporter: Len DiMaggio
>            Assignee: Steven Hawkins
>            Priority: Critical
>
> With no transaction active - the method returns:
> groovy:000> getTransactions() 
> ===> []
> With a transaction open:
> groovy:000> getTransactions() 
> ERROR org.teiid.adminapi.AdminComponentException:
> Failed to invoke method 'getTransactions' on component 'RuntimeEngineDeployer' with parameters [].
>         at org.teiid.client.util.ExceptionUtil.convertException (ExceptionUtil.java:72)
>         at org.teiid.net.socket.SocketServerInstanceImpl$RemoteInvocationHandler.invoke (SocketServerInstanceImpl.java:365)
>         at org.teiid.net.socket.SocketServerConnection$1.invoke (SocketServerConnection.java:216)
>         at $Proxy7.getTransactions (Unknown Source)
>         at org.teiid.adminapi.AdminFactory$AdminProxy.invoke (AdminFactory.java:75)
>         at $Proxy7.getTransactions (Unknown Source)
>         at org.teiid.adminshell.AdminShell.getTransactions (AdminShell.java:212)
>         at org.teiid.adminshell.AdminShell$getTransactions.callStatic (Unknown Source)
>         at groovysh_evaluate.run (groovysh_evaluate:3)

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the teiid-issues mailing list