I am using the Chapter.10.JCA.doc and the hsqldb-service.xml example to try and figure out how to create a cloudscape-service.xml.
Here is my fist question. If I choose to comment out the , can I also comment out the <application-policy/> element? This is confusing for me because the doc implies that the <application-policy/> element has to be there and the example shows one commented out and one not commented out.
Suppose I changed all the examples to say, instead of
Include a login module configuration named InformixDbRealm.
Update your login-conf.xml, here is an example for a
Update your login-conf.xml by including a login module configuration named InformixDbRealm for this DataSource. Here is an example configuration of a ConfiguredIdentityLoginModule for this ManagedConnectionFactory.
Can you figure out what to do now?
Your suggested change clears up my confusion about the <application-policy/> element being in the login-conf.xml file, not service xml file. But the other part of my question is still open, as to the relationship, if any, between the 2 xml elements. If I comment out the , do I still need the <application-policy/> element?