关键是这两句:
Unable to deploy EJB: PublicSesEJB from DepartmentStaff.jar:
Unable to bind EJB Home Interface to the JNDI name: PublicSesEJB.
也就是说你不能绑定jndi的名称为PublicSesEJB 的bean,你可以检查一下你的bean的jndi的名称是否设置为PublicSesEJB 。