Hi Romain,

If I understand you correctly, you are saying that id and resource name do
not match

Here :-
<Resource id=&quot;&lt;b>jdbc/localDB*" type="javax.sql.DataSource">
       JdbcDriver com.mysql.jdbc.Driver
                JdbcUrl jdbc:mysql://localhost:3306/localdb
                MaxActive 100
                MaxIdle 30
                MaxWait 10000 

and 
<resource-ref>
                <description>MySQL Connection</description>
                <res-ref-name>*jdbc/localDB*</res-ref-name>
                <res-type>javax.sql.DataSource</res-type>
                <res-auth>Container</res-auth>
        </resource-ref>

isn't resourcename = jdbc/localDB same as id="jdbc/localDB"

What exactly is the prefix that you are mentioning to be added in
resources.xml?  




--
View this message in context: 
http://openejb.979440.n4.nabble.com/MySQL-resource-in-Tomee-1-5-2-tp4665872p4665891.html
Sent from the OpenEJB User mailing list archive at Nabble.com.

Reply via email to