jboss context path fix refactored!