You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@isis.apache.org by ah...@apache.org on 2018/10/16 22:39:45 UTC

[isis] branch v2 updated: ISIS-1895: fixes context parameters not picked up during bootstrapping (part 2/2)

This is an automated email from the ASF dual-hosted git repository.

ahuber pushed a commit to branch v2
in repository https://gitbox.apache.org/repos/asf/isis.git


The following commit(s) were added to refs/heads/v2 by this push:
     new f67a4a7  ISIS-1895: fixes context parameters not picked up during bootstrapping (part 2/2)
f67a4a7 is described below

commit f67a4a7db2a15d223420c8736808f0fc70b93b69
Author: Andi Huber <ah...@apache.org>
AuthorDate: Wed Oct 17 00:39:37 2018 +0200

    ISIS-1895: fixes context parameters not picked up during bootstrapping
    (part 2/2)
    
    Task-Url: https://issues.apache.org/jira/browse/ISIS-1895
---
 .../src/main/java/org/apache/isis/core/webserver/WebServer.java        | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/core/webserver/src/main/java/org/apache/isis/core/webserver/WebServer.java b/core/webserver/src/main/java/org/apache/isis/core/webserver/WebServer.java
index 3bfc767..ad14852 100644
--- a/core/webserver/src/main/java/org/apache/isis/core/webserver/WebServer.java
+++ b/core/webserver/src/main/java/org/apache/isis/core/webserver/WebServer.java
@@ -58,7 +58,6 @@ import org.apache.isis.core.runtime.runner.opts.OptionHandlerFixture;
 import org.apache.isis.core.runtime.runner.opts.OptionHandlerFixtureFromEnvironmentVariable;
 import org.apache.isis.core.runtime.runner.opts.OptionHandlerHelp;
 import org.apache.isis.core.runtime.runner.opts.OptionHandlerSystemProperties;
-import org.apache.isis.core.webapp.WebAppConstants;
 import org.apache.isis.core.webserver.internal.OptionHandlerPort;
 import org.apache.isis.core.webserver.internal.OptionHandlerStartupMode;
 
@@ -165,8 +164,6 @@ public class WebServer {
         final WebAppContext context = new WebAppContext(SRC_MAIN_WEBAPP, webappContextPath);
         jettyServer.setHandler(context);
 
-        context.setAttribute(WebAppConstants.CONFIGURATION_BUILDER_KEY, configurationBuilder);
-
         return jettyServer;
     }