[
https://issues.jboss.org/browse/TEIID-2483?page=com.atlassian.jira.plugin...
]
Ramesh Reddy resolved TEIID-2483.
---------------------------------
Resolution: Done
Two issues involved in this
1) If "teiid" subsystem is installed in any other profile than
"default" profile, teiid admin calls were not recognized to use them, as it
always issued queries against the default. Added couple more "createAdmin"
methods on AdminFactory, where user can set the profile of their choice.
2) Also defaulted to use "ha" profile by default, as the domain script installs
the Teiid in the "ha" profile.
3) The result JSON result structure has been changed in latest AS7 version for domain mode
queries, modifications are done to accomadate these changes.
Error trying to connect to Teiid using 8.3 code in Designer against
an 8.4 server
---------------------------------------------------------------------------------
Key: TEIID-2483
URL:
https://issues.jboss.org/browse/TEIID-2483
Project: Teiid
Issue Type: Bug
Components: AdminApi
Affects Versions: 8.4
Reporter: Van Halbert
Assignee: Ramesh Reddy
Fix For: 8.4
This is the stacktrace I got when testing the connection to Van's new cluster at
redhat-stl-eng3.usersys.redhat.com.
org.teiid.adminapi.AdminProcessingException: TEIID70036
java.lang.IllegalArgumentException
at org.teiid.adminapi.AdminFactory$AdminImpl.getVDBs(AdminFactory.java:1433)
at org.teiid.adminapi.AdminFactory$AdminImpl.getVDBs(AdminFactory.java:1)
at org.teiid83.runtime.ExecutionAdmin.refreshVDBs(ExecutionAdmin.java:658)
at org.teiid83.runtime.ExecutionAdmin.init(ExecutionAdmin.java:575)
at org.teiid83.runtime.ExecutionAdmin.<init>(ExecutionAdmin.java:136)
at
org.teiid83.runtime.ExecutionAdminFactory.createExecutionAdmin(ExecutionAdminFactory.java:29)
at
org.teiid.designer.runtime.registry.TeiidRuntimeRegistry.getExecutionAdmin(TeiidRuntimeRegistry.java:102)
at org.teiid.designer.runtime.TeiidServer.connect(TeiidServer.java:212)
at org.teiid.designer.runtime.TeiidServer.reconnect(TeiidServer.java:232)
at
org.teiid.designer.runtime.ui.server.RefreshServerAction$1.run(RefreshServerAction.java:58)
<snip>
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:629)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:584)
at org.eclipse.equinox.launcher.Main.run(Main.java:1438)
at org.eclipse.equinox.launcher.Main.main(Main.java:1414)
Caused by: java.lang.IllegalArgumentException
at org.jboss.dmr.ModelValue.getKeys(ModelValue.java:124)
at org.jboss.dmr.ModelNode.keys(ModelNode.java:1194)
at
org.teiid.adminapi.AdminFactory$AdminImpl.getDomainAwareList(AdminFactory.java:1349)
at org.teiid.adminapi.AdminFactory$AdminImpl.getVDBs(AdminFactory.java:1430)
... 48 more
--
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