280e31bdf7f5ffd28f8b14565c1d93de4070bd0cJucaBlues#!/bin/sh
280e31bdf7f5ffd28f8b14565c1d93de4070bd0cJucaBlues#
280e31bdf7f5ffd28f8b14565c1d93de4070bd0cJucaBlues# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
280e31bdf7f5ffd28f8b14565c1d93de4070bd0cJucaBlues#
280e31bdf7f5ffd28f8b14565c1d93de4070bd0cJucaBlues# Copyright (c) 1997-2010 Oracle and/or its affiliates. All rights reserved.
280e31bdf7f5ffd28f8b14565c1d93de4070bd0cJucaBlues#
280e31bdf7f5ffd28f8b14565c1d93de4070bd0cJucaBlues# The contents of this file are subject to the terms of either the GNU
99c0082d40f9a2adf5108336c0d3dd087d1c7b66Johan B. C. Engelen# General Public License Version 2 only ("GPL") or the Common Development
280e31bdf7f5ffd28f8b14565c1d93de4070bd0cJucaBlues# and Distribution License("CDDL") (collectively, the "License"). You
280e31bdf7f5ffd28f8b14565c1d93de4070bd0cJucaBlues# may not use this file except in compliance with the License. You can
b9e7ae4e6bc84d770daddde98d486686bdb123c7Johan B. C. Engelen# obtain a copy of the License at
b9e7ae4e6bc84d770daddde98d486686bdb123c7Johan B. C. Engelen# https://glassfish.dev.java.net/public/CDDL+GPL_1_1.html
b9e7ae4e6bc84d770daddde98d486686bdb123c7Johan B. C. Engelen# or packager/legal/LICENSE.txt. See the License for the specific
b9e7ae4e6bc84d770daddde98d486686bdb123c7Johan B. C. Engelen# language governing permissions and limitations under the License.
b9e7ae4e6bc84d770daddde98d486686bdb123c7Johan B. C. Engelen#
280e31bdf7f5ffd28f8b14565c1d93de4070bd0cJucaBlues# When distributing the software, include this License Header Notice in each
280e31bdf7f5ffd28f8b14565c1d93de4070bd0cJucaBlues# file and include the License file at packager/legal/LICENSE.txt.
280e31bdf7f5ffd28f8b14565c1d93de4070bd0cJucaBlues#
9dc68827cbd515262ecb8d5ae8547d9e82c72e00Jon A. Cruz# GPL Classpath Exception:
9dc68827cbd515262ecb8d5ae8547d9e82c72e00Jon A. Cruz# Oracle designates this particular file as subject to the "Classpath"
99c0082d40f9a2adf5108336c0d3dd087d1c7b66Johan B. C. Engelen# exception as provided by Oracle in the GPL Version 2 section of the License
d6e289e892dd8c5f7c69425fe2722eb3fae4f48cKris# file that accompanied this code.
d6e289e892dd8c5f7c69425fe2722eb3fae4f48cKris#
d6e289e892dd8c5f7c69425fe2722eb3fae4f48cKris# Modifications:
d6e289e892dd8c5f7c69425fe2722eb3fae4f48cKris# If applicable, add the following below the License Header, with the fields
99c0082d40f9a2adf5108336c0d3dd087d1c7b66Johan B. C. Engelen# enclosed by brackets [] replaced by your own identifying information:
99c0082d40f9a2adf5108336c0d3dd087d1c7b66Johan B. C. Engelen# "Portions Copyright [year] [name of copyright owner]"
d6e289e892dd8c5f7c69425fe2722eb3fae4f48cKris#
d6e289e892dd8c5f7c69425fe2722eb3fae4f48cKris# Contributor(s):
d6e289e892dd8c5f7c69425fe2722eb3fae4f48cKris# If you wish your version of this file to be governed by only the CDDL or
d6e289e892dd8c5f7c69425fe2722eb3fae4f48cKris# only the GPL Version 2, indicate your decision by adding "[Contributor]
99c0082d40f9a2adf5108336c0d3dd087d1c7b66Johan B. C. Engelen# elects to include this software in this distribution under the [CDDL or GPL
99c0082d40f9a2adf5108336c0d3dd087d1c7b66Johan B. C. Engelen# Version 2] license." If you don't indicate a single choice of license, a
d6e289e892dd8c5f7c69425fe2722eb3fae4f48cKris# recipient has the option to distribute your version of this file under
d6e289e892dd8c5f7c69425fe2722eb3fae4f48cKris# either the CDDL, the GPL Version 2 or to extend the choice of license to
280e31bdf7f5ffd28f8b14565c1d93de4070bd0cJucaBlues# its licensees as provided above. However, if you add GPL Version 2 code
280e31bdf7f5ffd28f8b14565c1d93de4070bd0cJucaBlues# and therefore, elected the GPL Version 2 license, then the option applies
280e31bdf7f5ffd28f8b14565c1d93de4070bd0cJucaBlues# only if the new code is made subject to such option by the copyright
280e31bdf7f5ffd28f8b14565c1d93de4070bd0cJucaBlues# holder.
280e31bdf7f5ffd28f8b14565c1d93de4070bd0cJucaBlues#
280e31bdf7f5ffd28f8b14565c1d93de4070bd0cJucaBlues
280e31bdf7f5ffd28f8b14565c1d93de4070bd0cJucaBluesAS_INSTALL=`dirname "$0"`/..
280e31bdf7f5ffd28f8b14565c1d93de4070bd0cJucaBluesAS_INSTALL_LIB="$AS_INSTALL/modules"
280e31bdf7f5ffd28f8b14565c1d93de4070bd0cJucaBlues
280e31bdf7f5ffd28f8b14565c1d93de4070bd0cJucaBluesexec java -jar "$AS_INSTALL_LIB/admin-cli.jar" stop-domain "$@"
280e31bdf7f5ffd28f8b14565c1d93de4070bd0cJucaBlues
280e31bdf7f5ffd28f8b14565c1d93de4070bd0cJucaBlues
280e31bdf7f5ffd28f8b14565c1d93de4070bd0cJucaBlues