Ensure jetty.home set as Server attribute on defaultJettyServer instance
This commit is contained in:
parent
7e797d8eed
commit
82b0ae2c63
|
@ -168,6 +168,8 @@ public class DefaultJettyAtJettyHomeHelper
|
|||
Util.setProperty(properties, OSGiServerConstants.JETTY_PORT_SSL, System.getProperty(OSGiServerConstants.JETTY_PORT_SSL));
|
||||
|
||||
Server server = ServerInstanceWrapper.configure(null, configURLs, properties);
|
||||
//ensure jetty.home is set
|
||||
server.setAttribute(OSGiServerConstants.JETTY_HOME, properties.get(OSGiServerConstants.JETTY_HOME));
|
||||
|
||||
//Register the default Server instance as an OSGi service.
|
||||
//The JettyServerServiceTracker will notice it and set it up to deploy bundles as wars etc
|
||||
|
|
Loading…
Reference in New Issue