javax.naming.NameNotFoundException: Name jdbc is not bound in this Context
Your problem is that you need to prefix your jndi string with java:/comp/env
So in your case try:
DataSource ds = (DataSource)envContext.lookup("java:/comp/env/jdbc/myoracle");
That should solve the problem.