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