Modified LexActionServlet to set System property java.awt.headless to true as recommended by the good Mr. David Chandler
This commit is contained in:
parent
15815f20c8
commit
26f03259cf
1 changed files with 1 additions and 0 deletions
|
@ -75,6 +75,7 @@ public class LexActionServlet extends HttpServlet
|
||||||
Global global = new Global( recentItems, refreshDelay );
|
Global global = new Global( recentItems, refreshDelay );
|
||||||
config.getServletContext().setAttribute( LexConstants.GLOBAL_CONTEXT_ATTR, global );
|
config.getServletContext().setAttribute( LexConstants.GLOBAL_CONTEXT_ATTR, global );
|
||||||
LexLogger.debugComponent( global );
|
LexLogger.debugComponent( global );
|
||||||
|
System.setProperty( "java.awt.headless", "true" );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue