tomee-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Robert van Loenhout <>
Subject Unable to find [jdbc]
Date Mon, 29 Aug 2016 08:56:58 GMT

I've declared a datasource resource in tomee.xml. During startup I can see my jdbc/ds being
configured in the catalina log. However I receive an error in the container log file (localhost*.log)
The web application is unable to find the datasource.
nested exception is javax.naming.NameNotFoundException: Name [jdbc/ds] is not bound in this
Context. Unable to find [jdbc].

I have added a resource link in the context.xml file

    <ResourceLink global="jdbc/ds" name="jdbc/ds" type="javax.sql.DataSource"/>

But this doesn't seem to do the trick. So what's the correct way to make a datasource resource
defined in tomee.xml accessible by the web application?

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message