When using JBoss with CocoBase, what are the confDataSource and jndiurl parameters used for?
Created May 4, 2012
Robert Castaneda The jndiurl value is placed in the ejb-jar.xml file, inside the CocoBase environment entry and will be used by CocoBase to lookup the datasource. It will be added to the end of java:comp/env lookup as follows:
java:comp/env/%jndiurl%
Both the confDataSource and jndiurl will also be used in the generated jboss.xml file as follows:
<jboss>
<resource-managers>
<resource-manager res-class="org.jboss.ejb.deployment.JDBCResource">
<res-name>%jndiurl%</res-name>
<res-jndi-name>%confDataSource%</res-jndi-name>
</resource-manager>
</resource-managers>
</jboss>