somehow portal-impl.jar was on the path - temporary replacement of constant