You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
valwebContext=newWebAppContext(
null, //the parent handler"/", //the context pathnull, // SessionHandler for this web appnull, // SecurityHandler for this web appnull, // ServletHandler for this web appnull, //ErrorHandler for this web appServletContextHandler.NO_SESSIONS|ServletContextHandler.NO_SECURITY
)
webContext.setWar(config.webDir)
It throws NPE, because MetaData tried to merge default web.xml with session-config (which set 30 min), even if my own web.xml do not contain session-config section.
So it looks there is no way to create WebAppContext without sessions.
The text was updated successfully, but these errors were encountered:
If i create WebAppContext this way:
It throws NPE, because MetaData tried to merge default web.xml with session-config (which set 30 min), even if my own web.xml do not contain session-config section.
So it looks there is no way to create WebAppContext without sessions.
The text was updated successfully, but these errors were encountered: