Index: core/kernel/src/main/java/com/sun/enterprise/v3/admin/AdminConsoleConfigUpgrade.java =================================================================== --- core/kernel/src/main/java/com/sun/enterprise/v3/admin/AdminConsoleConfigUpgrade.java (revision 44597) +++ core/kernel/src/main/java/com/sun/enterprise/v3/admin/AdminConsoleConfigUpgrade.java (working copy) @@ -1,7 +1,7 @@ /* * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. * - * Copyright (c) 2010 Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2010-2011 Oracle and/or its affiliates. All rights reserved. * * The contents of this file are subject to the terms of either the GNU * General Public License Version 2 only ("GPL") or the Common Development @@ -84,6 +84,11 @@ @Inject Configs configs; + // This will force the Grizzly upgrade code to run before + // AdminConsoleConfigUpgrade runs. Issue GLASSFISH-15599 + @Inject(name="grizzlyconfigupgrade", optional=true) + ConfigurationUpgrade precondition = null; + @Override public void postConstruct() { Config config = configs.getConfigByName("server-config");