Fix creation of app context
This commit is contained in:
parent
0165e7c80e
commit
304ea4e456
1 changed files with 4 additions and 1 deletions
|
@ -501,7 +501,10 @@ public class ApplicationManager implements XmlRpcHandler {
|
|||
staticContext.start();
|
||||
}
|
||||
|
||||
appContext = new ServletContextHandler(context, pathPattern, true, true);
|
||||
appContext = new ServletContextHandler(ServletContextHandler.SESSIONS);
|
||||
appContext.setContextPath(pathPattern);
|
||||
context.addHandler(appContext);
|
||||
|
||||
Class servletClass = servletClassName == null ?
|
||||
EmbeddedServletClient.class : Class.forName(servletClassName);
|
||||
ServletHolder holder = new ServletHolder(servletClass);
|
||||
|
|
Loading…
Add table
Reference in a new issue