[teiid-issues] [JBoss JIRA] Resolved: (TEIID-1356) EDS adminshell - changeVDBConnectionType - always fails

Ramesh Reddy (JIRA) jira-events at lists.jboss.org
Thu Nov 11 15:06:01 EST 2010


     [ https://jira.jboss.org/browse/TEIID-1356?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ramesh Reddy resolved TEIID-1356.
---------------------------------

    Resolution: Done


The ConnectionType is a Enum, and its wrapping was not provided by the code for managed object, thus the issue. It will work fine from "admin-console" with out this fix, but not through Admin API.

> EDS adminshell - changeVDBConnectionType - always fails
> -------------------------------------------------------
>
>                 Key: TEIID-1356
>                 URL: https://jira.jboss.org/browse/TEIID-1356
>             Project: Teiid
>          Issue Type: Bug
>          Components: AdminApi
>    Affects Versions: 7.1.1
>            Reporter: Len DiMaggio
>            Assignee: Ramesh Reddy
>             Fix For: 7.1.1
>
>
> To recreate:
> groovy:000> getVDB("Interoperability", 2)                                      
> ===> Interoperability.2[Weather[Weather/MessageWeather/java:WeatherDS]]
> groovy:000> changeVDBConnectionType("Interoperability", 2, "ANY")          
>     
> ERROR org.teiid.adminapi.AdminComponentException:
> Error Code:0 Message:Error Code:0 Message:Failed to convert from String value to java.lang.String type
>         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.changeVDBConnectionType (Unknown Source)
>         at org.teiid.adminapi.AdminFactory$AdminProxy.invoke (AdminFactory.java:76)
>         at $Proxy7.changeVDBConnectionType (Unknown Source)
>         at org.teiid.adminshell.AdminShell.changeVDBConnectionType (AdminShell.java:163)
>         at org.teiid.adminshell.AdminShell$changeVDBConnectionType.callStatic (Unknown Source)
>         at groovysh_evaluate.run (groovysh_evaluate:3)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the teiid-issues mailing list