RAD 7, WebSphere 7.
Ibm web bnd.xml:
<resource-ref name="jdbc/devl" binding-name="jdbc/devl" />
web.xml:
<resource-ref> <res-ref-name>jdbc/devl</res-ref-name> <res-type>javax.sql.DataSource</res-type> <res-auth>Application</res-auth> <res-sharing-scope>Unshareable</res-sharing-scope> <mapped-name>jdbc/devl</mapped-name> </resource-ref>
This is consistent with the examples that I see on the Internet. This is because I convert this application to servlet 2.5. As far as I understand, res-ref-name in web.xml should match the name attribute in resource-ref. The binding name then corresponds to the data source defined in the admin console. To make it simple, I did everything to make them fit.
Is there another setting somewhere? Because this leads to the error described in the title of the question.
source share