Use configured path outside servlet context