302N/A#!/bin/sh
302N/A
302N/A# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
302N/A#
302N/A# Copyright (c) 2006 Sun Microsystems Inc. All Rights Reserved
302N/A#
302N/A# The contents of this file are subject to the terms
302N/A# of the Common Development and Distribution License
302N/A# (the License). You may not use this file except in
302N/A# compliance with the License.
302N/A#
302N/A# You can obtain a copy of the License at
302N/A# https://opensso.dev.java.net/public/CDDLv1.0.html or
302N/A# opensso/legal/CDDLv1.0.txt
302N/A# See the License for the specific language governing
302N/A# permission and limitations under the License.
302N/A#
302N/A# When distributing Covered Code, include this CDDL
302N/A# Header Notice in each file and include the License file
302N/A# at opensso/legal/CDDLv1.0.txt.
302N/A# If applicable, add the following below the CDDL Header,
302N/A# with the fields enclosed by brackets [] replaced by
302N/A# your own identifying information:
302N/A# "Portions Copyrighted [year] [name of copyright owner]"
302N/A#
302N/A# $Id: amverifyarchive,v 1.11 2009/07/06 22:00:08 hvijay Exp $
302N/A#
302N/A
302N/A# Portions Copyrighted 2011-2015 ForgeRock AS.
302N/A
302N/ATOOLS_HOME="@TOOLS_HOME@"
302N/AJAVA_HOME="@JAVA_HOME@"
302N/A
302N/ACLASSPATH="@CONFIG_DIR@"
302N/ACLASSPATH="$CLASSPATH:${unix.setup.classpath}"
302N/ACLASSPATH="$CLASSPATH:$TOOLS_HOME/resources"
# Setup proper LD_LIBRARY_PATH if not already set
$JAVA_HOME/bin/java -Xms64m -Xmx256m \
-classpath $CLASSPATH \
-D"bootstrap.dir=@CONFIG_DIR@" \
-D"java.version.current=java.vm.version" \
-D"java.version.expected=1.4+" \
-D"am.version.current=com.iplanet.am.version" \
-D"am.version.expected=@AM_VERSION@" \
-D"max_conn_pool=10" \
-D"min_conn_pool=1" \
-D"s1is.java.util.logging.config.class=com.sun.identity.log.s1is.LogConfigReader" \
-D"com.iplanet.services.configpath=@CONFIG_DIR@" \
-D"com.sun.identity.configFilePath=@CONFIG_DIR@" \
-D"com.iplanet.coreservices.configpath=@CONFIG_DIR@" \
-D"LOG_COMPATMODE=Off" \
-D"com.iplanet.am.logstatus=INACTIVE" \
-D"com.iplanet.am.serverMode=false" \
com.sun.identity.log.cli.ISArchiveVerify "$@"