A data source is backed by several MBeans. Unless you also create the MBeans, it probably
will not work. The best way to dynamically create a datasource is to have your code write
out the contents of a *-ds.xml file into a temp directory, and once it is finished, move
the file to the server/xxx/deploy directory, and then wait for it to be deployed. An
alternative is: once your code writes the *-ds.xml file to a temp directory, call the
deploy() operation on the MainDeployer MBean.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4229736#...
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&a...