if you war is called foo.war and your resource id is bar the jndi name
was openejb:Resource/foo/bar IIRC
Romain Manni-Bucau
Twitter: @rmannibucau
Blog: http://rmannibucau.wordpress.com/
LinkedIn: http://fr.linkedin.com/in/rmannibucau
Github: https://github.com/rmannibucau



2013/11/5 asif.tmcp <asif.t...@gmail.com>:
> So if I understand you correctly the resource id should be same as the war
> name ????
>
>
> Are you suggesting this ?
>
> <Resource id=&quot;jdbc/&lt;&lt;b>WAR-NAME*>" type="javax.sql.DataSource">
>         JdbcDriver com.mysql.jdbc.Driver
>                  JdbcUrl jdbc:mysql://localhost:3306/localdb
>                  MaxActive 100
>                  MaxIdle 30
>                  MaxWait 10000 </Resource>
>
>
> Could you please elaborate it a bit? I am new to this , and it is really not
> working if I put the resource xml in the WEB-INF folder
>
>
>
> --
> View this message in context: 
> http://openejb.979440.n4.nabble.com/MySQL-resource-in-Tomee-1-5-2-tp4665872p4665980.html
> Sent from the OpenEJB User mailing list archive at Nabble.com.

Reply via email to