[jboss-user] [JNDI and Naming] - Re: automate jboss jndi creation

PeterJ do-not-reply at jboss.com
Mon Nov 23 12:18:30 EST 2009

OK, now I see what you are saying. When using the admin console:

* if you create a new data source, it is places in server/xxx/deploy as jndiname-ds.xml 
* if you edit an existing data source (including one you just created a few seconds ago) then the modifications (or actually, a whole new set of config settings) is placed in server/xxx/data/attachment/datasourcename-ds.xml-randomid/org.jboss.resource.metadata.mcf.ManagedConnectionFactoryDeploymentGroup.attachment.xml

What you would like to do is merge the changes that appear in the org.jboss.resource.metadata.mcf.ManagedConnectionFactoryDeploymentGroup.attachment.xml file into the server/xxx/deploy/*-ds.xml file.

I would hate to tell you to write an XSLT to convert org.jboss.resource.metadata.mcf.ManagedConnectionFactoryDeploymentGroup.attachment.xml into *-ds.xml. Perhaps the embedded jopr developers would have a better idea, or you could suggest this functionality as a desired enhancement (who knows, they may already have something like this planned). You could ask in the embedded jopr forum: http://www.jboss.org/index.html?module=bb&op=viewforum&f=294

I suspect that Jopr and JON operate the same ways as they share this admin code.

View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4267087#4267087

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4267087

More information about the jboss-user mailing list