This should have worked, because when EJBContainer.start() is invoked, it's expected that the java:comp is setup correctly. Let me see what's wrong.
(If you have app which can reproduce this, please mail it to me or attach it here. That will help :) )