[jboss-dev-forums] [JBoss AS 7 Development] - Re: Adding "resource-adapter" using CLI

Ramesh Reddy do-not-reply at jboss.com
Thu Jan 12 11:02:44 EST 2012


Ramesh Reddy [https://community.jboss.org/people/rareddy] created the discussion

"Re: Adding "resource-adapter" using CLI"

To view the discussion, visit: https://community.jboss.org/message/646505#646505

--------------------------------------------------------------
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.
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/646505#646505]

Start a new discussion in JBoss AS 7 Development at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2225]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-dev-forums/attachments/20120112/d863be59/attachment.html 


More information about the jboss-dev-forums mailing list