You are migrating from EJB2 to EJB3, yes? (witn JB4.0.2 there is no EJB3 deployer)
With EJB3 there is no necessity to use such lookups if you are local.
Add
@EJB PostManager myPostmanager;
to your code and remove the lookup, the container will do the work for you ;-)