misses root tag so likely not readable:

<?xml version="1.0" encoding="UTF-8"?>

<resources>

<Resource id="myDatasource" type="DataSource">
JdbcDriver com.mysql.jdbc.Driver
JdbcUrl jdbc:mysql://localhost:3306/notes_eleves
UserName root
</Resource>

</resources>



Romain Manni-Bucau
@rmannibucau <https://twitter.com/rmannibucau> |  Blog
<https://blog-rmannibucau.rhcloud.com> | Old Wordpress Blog
<http://rmannibucau.wordpress.com> | Github <https://github.com/rmannibucau> |
LinkedIn <https://www.linkedin.com/in/rmannibucau> | Tomitriber
<http://www.tomitribe.com> | JavaEE Factory
<https://javaeefactory-rmannibucau.rhcloud.com>

2016-06-23 17:27 GMT+02:00 eclideria <[email protected]>:

> If I remove my datasource configuration (resource) from tomee.xml and if I
> put it in a WEB-INF/resources.xml I face the same issue as the first I had:
> user lacks privilege or object not found: ELEVE
>
> I tried on 1.7 and 7, with the file in WEB-INF and META-INF.
>
> resources.xml is ignore but I don't know why.
>
> I have updated the project on git if you want to take a quick look
>
>
>
>
>
>
>
> --
> View this message in context:
> http://tomee-openejb.979440.n4.nabble.com/JavaEE-eclipseLink-TomEE-gives-java-sql-SQLSyntaxErrorException-user-lacks-privilege-or-object-not-fd-tp4679015p4679034.html
> Sent from the TomEE Users mailing list archive at Nabble.com.
>

Reply via email to