stopserv revision ada1678a4262b208a7b87391f520a7767d25287c
ac4e70ff8955669341f435bc0a734a17c01af124Mark Andrews#!/bin/sh
205c10066a0acfeac52d1a135671f41d207b8557Automatic Updater#
205c10066a0acfeac52d1a135671f41d207b8557Automatic Updater# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
1167fc7904c5f0a472f8df207ac46dd52c7f1ec8Automatic Updater#
0c39b3ed9409ecb277d5e32fa763a4e4d6598df8Automatic Updater# Copyright (c) 1997-2010 Oracle and/or its affiliates. All rights reserved.
46da3117812814a29432a8d9a9ccf8acdbfdadceAutomatic Updater#
2bb3422dc683c013db7042f5736240de6b86f182Automatic Updater# The contents of this file are subject to the terms of either the GNU
cd0aa2d941d1438fabb5337f1f38c49478edf71dAutomatic Updater# General Public License Version 2 only ("GPL") or the Common Development
90ff38a0d8deaf5f9c2aa5916d99b2e572d28738Automatic Updater# and Distribution License("CDDL") (collectively, the "License"). You
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington# may not use this file except in compliance with the License. You can
ac4e70ff8955669341f435bc0a734a17c01af124Mark Andrews# obtain a copy of the License at
6c6a121295b30772cbf3dd75a51fb9d883051a0eAutomatic Updater# https://glassfish.dev.java.net/public/CDDL+GPL_1_1.html
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington# or packager/legal/LICENSE.txt. See the License for the specific
9cd5eb6fe0f26d65724b99216cb31dcdd12e4afdAutomatic Updater# language governing permissions and limitations under the License.
e171a4137c6ba348957e61b7c4c3541493c0da02Automatic Updater#
e171a4137c6ba348957e61b7c4c3541493c0da02Automatic Updater# When distributing the software, include this License Header Notice in each
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews# file and include the License file at packager/legal/LICENSE.txt.
58be84825d7f5de30e50eb7206b37227ecd8055bAutomatic Updater#
3cc98b8ecedcbc8465f1cf2740b966b315662430Automatic Updater# GPL Classpath Exception:
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews# Oracle designates this particular file as subject to the "Classpath"
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews# exception as provided by Oracle in the GPL Version 2 section of the License
e171a4137c6ba348957e61b7c4c3541493c0da02Automatic Updater# file that accompanied this code.
831f79c4310a7d38fc3475ccfff531b2b2535641Automatic Updater#
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews# Modifications:
f2770f6b39a9b2a98afb7a11ed105f73f1570c1eAutomatic Updater# If applicable, add the following below the License Header, with the fields
efb0e886f18894a1d2489f1ad74ad14b579e11c7Mark Andrews# enclosed by brackets [] replaced by your own identifying information:
f2770f6b39a9b2a98afb7a11ed105f73f1570c1eAutomatic Updater# "Portions Copyright [year] [name of copyright owner]"
91216cff91b34c9ff6e846dc23f248219cafe660Andreas Gustafsson#
f2770f6b39a9b2a98afb7a11ed105f73f1570c1eAutomatic Updater# Contributor(s):
f2770f6b39a9b2a98afb7a11ed105f73f1570c1eAutomatic Updater# If you wish your version of this file to be governed by only the CDDL or
91216cff91b34c9ff6e846dc23f248219cafe660Andreas Gustafsson# only the GPL Version 2, indicate your decision by adding "[Contributor]
f2770f6b39a9b2a98afb7a11ed105f73f1570c1eAutomatic Updater# elects to include this software in this distribution under the [CDDL or GPL
9513a2a6670951f5cf5477fcfec9f933fcaff628Automatic Updater# Version 2] license." If you don't indicate a single choice of license, a
9513a2a6670951f5cf5477fcfec9f933fcaff628Automatic Updater# recipient has the option to distribute your version of this file under
aa9c561961e9d877946ebaa8795fa2be054ab7bfEvan Hunt# either the CDDL, the GPL Version 2 or to extend the choice of license to
9513a2a6670951f5cf5477fcfec9f933fcaff628Automatic Updater# its licensees as provided above. However, if you add GPL Version 2 code
9513a2a6670951f5cf5477fcfec9f933fcaff628Automatic Updater# and therefore, elected the GPL Version 2 license, then the option applies
aa9c561961e9d877946ebaa8795fa2be054ab7bfEvan Hunt# only if the new code is made subject to such option by the copyright
9513a2a6670951f5cf5477fcfec9f933fcaff628Automatic Updater# holder.
9513a2a6670951f5cf5477fcfec9f933fcaff628Automatic Updater#
9513a2a6670951f5cf5477fcfec9f933fcaff628Automatic Updater
aa9c561961e9d877946ebaa8795fa2be054ab7bfEvan HuntAS_INSTALL=`dirname "$0"`/..
2d2dc37599979c83495510f8af8d1756753aa2c5Automatic UpdaterAS_INSTALL_LIB="$AS_INSTALL/modules"
2d2dc37599979c83495510f8af8d1756753aa2c5Automatic Updater
aa9c561961e9d877946ebaa8795fa2be054ab7bfEvan Huntexec java -jar "$AS_INSTALL_LIB/admin-cli.jar" stop-domain "$@"
9513a2a6670951f5cf5477fcfec9f933fcaff628Automatic Updater
9513a2a6670951f5cf5477fcfec9f933fcaff628Automatic Updater
9513a2a6670951f5cf5477fcfec9f933fcaff628Automatic Updater