Do you have logs saying a resource is adjusted? Le 2 nov. 2013 17:16, "asif.tmcp" <asif.t...@gmail.com> a écrit :
> Sorry the code got messed up. The java code is as follows:- > > InitialContext ic = new InitialContext(); > Context envCtx = (Context) ic.lookup("java:comp/env"); > DataSource ds = (DataSource)envCtx.lookup("jdbc/SentinelDB"); > > > > > -- > View this message in context: > http://openejb.979440.n4.nabble.com/MySQL-resource-in-Tomee-1-5-2-tp4665872p4665879.html > Sent from the OpenEJB User mailing list archive at Nabble.com. >