try to provide as jndi name:

openejb:Resource/jdbc/dbvms

if it is a resource local unit add in conf/system.properties:

openejb.autocreate.jta-datasource-from-non-jta-one = false

(will be useless with next 1.6.0)

*Romain Manni-Bucau*
*Twitter: @rmannibucau <https://twitter.com/rmannibucau>*
*Blog: **http://rmannibucau.wordpress.com/*<http://rmannibucau.wordpress.com/>
*LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
*Github: https://github.com/rmannibucau*



2013/3/7 Howard W. Smith, Jr. <[email protected]>

> On Wed, Mar 6, 2013 at 8:54 PM, Howard W. Smith, Jr. <
> [email protected]
> > wrote:
>
> > On Wed, Mar 6, 2013 at 6:53 PM, Romain Manni-Bucau <
> [email protected]>wrote:
> >
> >> The jndi name of your dataspurce is wrong IMO.
> >>
> >> What's your persistence.xml?
> >>
> >
> > And, please share your tomee.xml, too. After you login webapp via
> browser,
> > is user credentials passed to datasource to connect via user credentials
> > (user name and password)?
> >
> >
> >
> > Also, did you delete/remove your context.xml from your project, or did
> you
> just copy datasource definition in context.xml to tomee.xml, and both files
> exist in the project and deployed to TomEE?
>

Reply via email to