-
1. Re: Adding "resource-adapter" using CLI
heiko.braun Sep 22, 2011 3:27 AM (in response to rareddy)I think it related to https://issues.jboss.org/browse/AS7-1381. The same problem exist for other "sub-resources" too.
Fell free to coment on this issue.
-
2. Re: Adding "resource-adapter" using CLI
maeste Sep 22, 2011 8:38 AM (in response to heiko.braun)Yup Heiko is right.
Watch that issue to know when it will be solved (I'm working on that one right now)
S.
-
3. Re: Adding "resource-adapter" using CLI
rareddy Jan 11, 2012 6:29 PM (in response to maeste)I am trying to use CLI feature to automatically generate the resource adapter configurations in Teiid. Once the script is done, the "process-state" says "reload-requied". Can somebody explain what "reload-requires" means? restart of the server?
Using Teiid Designer, we connect to live AS server and create ad-hoc data sources and resource-adapters and issue queries against them. If user has to stop and start server each time, huge inconvenience and time killer. Why do one need to restart the server for creating resource-adapter?
Thanks.
Ramesh..
-
4. Re: Adding "resource-adapter" using CLI
jesper.pedersen Jan 12, 2012 9:15 AM (in response to rareddy)Watch AS7-3249
-
5. Re: Adding "resource-adapter" using CLI
rareddy Jan 12, 2012 11:02 AM (in response to jesper.pedersen)Thank you, Jesper.
Also while trying to create XA data source using CLI
/subsystem=datasources/xa-data-source=PartsSourceC:add(jndi-name=java:/PartsSourceC, driver-name=ojdbc6.jar, xa-datasource-class=oracle.jdbc.xa.client.OracleXADataSource, user-name=partssupplier, password=mm) /subsystem=datasources/xa-data-source=PartsSourceC/xa-datasource-properties=URL:add(value=jdbc:oracle:thin:@{host}:1521:orcl) /subsystem=datasources/xa-data-source=PartsSourceC:enable
This showed
{ "outcome" => "success", "response-headers" => {"process-state" => "reload-required"} }
However it seems like just message is wrong, I did see the data source created without reload. If you want me to log JIRA let me know.
PS: I *like* that in CR1 version, there are no more "add" datasource/queue duplicate convenience methods. Less confusion, once you know how to use the CLI.