fixing error where the wrong context was started in the app server