When using JBoss with CocoBase, what are the confDataSource and jndiurl parameters used for?

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:


Both the confDataSource and jndiurl will also be used in the generated jboss.xml file as follows:

<resource-manager res-class="org.jboss.ejb.deployment.JDBCResource">