Prepare an application for Personalization
When using Personalization inside a portlet or web application, resource references must be added to an application so that Personalization can access the IBM Content Manager runtime edition database.
The following should be added to the web.xml file of the application, located in...
application_root/WEB-INF/:<resource-ref id="ResourceRef_1"> <res-ref-name>jdbc/JCRDSRC</res-ref-name> <res-type>javax.sql.DataSource</res-type> <res-auth>Application</res-auth> <res-sharing-scope>Shareable</res-sharing-scope> </resource-ref> <resource-ref id="ResourceRef_2"> <res-ref-name>jdbc/JCRDSRU</res-ref-name> <res-type>javax.sql.DataSource</res-type> <res-auth>Application</res-auth> <res-sharing-scope>Shareable</res-sharing-scope> </resource-ref>Add the following to the ibm-web-bnd.xmi file of the application, located in...
application_root/WEB-INF/:<resRefBindings xmi:id="ResourceRefBinding_1" jndiName="jdbc/JCRDS"> <bindingResourceRef href="WEB-INF/web.xml#ResourceRef_1"/> </resRefBindings> <resRefBindings xmi:id="ResourceRefBinding_2" jndiName="jdbc/JCRDS"> <bindingResourceRef href="WEB-INF/web.xml#ResourceRef_2"/> </resRefBindings>HomeIBM is a trademark of the IBM Corporation in the United States, other countries, or both.