JBoss Community

Re: Adding "resource-adapter" using CLI

created by Ramesh Reddy in JBoss AS 7 Development - View the full discussion

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

Start a new discussion in JBoss AS 7 Development at Community