temp, try to remove jetty's special case in portal context listener