WebSphere Application Server & Liberty

WebSphere Application Server & Liberty

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.

 View Only

Error "Resource reference with name 'jdbc/example' not found"

  • 1.  Error "Resource reference with name 'jdbc/example' not found"

    Posted Thu September 22, 2022 12:56 PM
    I'm getting the error "Resource reference with name 'jdbc/example' not found" in ibm-web-bnd.xml
    -I checked org.eclipse.wst.common.project.facet.core.xml and the version <installed facet="jst.web" version="3.0"/>
    matches version in web.xml
    -I'm using <resource-ref> tag in web.xml and in ibm-web-bnd.xml
    -The name in ibm-web-bnd.xml: <resource-ref name="jdbc/example" binding-name="jdbc/exampleT"/>
    matches <res-ref-name>jdbc/example</res-ref-name> in web.xml
    -The binding-name in ibm-web-bnd.xml: <resource-ref name="jdbc/example" binding-name="jdbc/exampleT"/>
    matches jndiName in <dataSource> tag in server.xml
    What else could I check?

    ------------------------------
    Luize Casaretti
    ------------------------------