#!/bin/sh
# 
# $Header: APPLSYS_ux.env 120.29.12010000.3 2009/01/11 17:35:23 mmanku ship $
#
# ###############################################################
# 
# This file is automatically generated by AutoConfig.  It will be read and
# overwritten.  If you were instructed to edit this file, or if you are not
# able to use the settings created by AutoConfig, refer to Metalink Note
# 387859.1 for assistance.
# 
# ###############################################################

# 

############################
# Set the variables required
############################

AFJSMARG="-server -Xmx384m -XX:NewRatio=2 -XX:+UseSerialGC -Doracle.apps.fnd.common.Pool.leak.mode=stderr:off -verbose:gc"
export AFJSMARG

AFJCPARG="-client"
export AFJCPARG

APPLRGF="/u01/oracle/VIS/inst/apps/VIS_visserver/logs/appl/rgf"
export APPLRGF

CNTL_BREAK="ON"
export CNTL_BREAK

ORACLE_TERM="vt220"
export ORACLE_TERM

EVENT_10932="8"
export EVENT_10932

DE_DISABLE_PLS_512="1" 
export DE_DISABLE_PLS_512

######################
# Define APPS_JDBC_URL
######################

APPS_JDBC_URL="jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS_LIST=(LOAD_BALANCE=YES)(FAILOVER=YES)(ADDRESS=(PROTOCOL=tcp)(HOST=visserver.myserver)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=VIS)))"
export APPS_JDBC_URL

##########################################
# Define AD_APPS_JDBC_URL for AD Utilities
##########################################

TEMP_APPS_JDBC_URL="jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS_LIST=(LOAD_BALANCE=YES)(FAILOVER=YES)(ADDRESS=(PROTOCOL=tcp)(HOST=visserver.myserver)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=VIS)))"
AD_APPS_JDBC_URL=`echo $TEMP_APPS_JDBC_URL | cut -d "@" -f2`
export AD_APPS_JDBC_URL

####################################################################
# The CONTEXT_FILE variable stores the location of the context file.
####################################################################

CONTEXT_FILE="/u01/oracle/VIS/inst/apps/VIS_visserver/appl/admin/VIS_visserver.xml"
export CONTEXT_FILE

####################################################################
# The CONTEXT_NAME variable stores the value for the current context
####################################################################

CONTEXT_NAME="VIS_visserver"
export CONTEXT_NAME

########################################################
# The APPLFENV variable is the filename of this file.
# If you rename this file, you should change this value.
########################################################

APPLFENV="VIS_visserver.env"
export APPLFENV

#############################################################
# The PLATFORM variable is the Oracle name for this platform.
# The value below should match the value in adpltfrm.txt.
#############################################################

PLATFORM="LINUX"
export PLATFORM

########################################
# FNDNAM is the name of your AOL schema.
########################################

FNDNAM="APPS"
export FNDNAM

################################################################
# GWYUID is the schema name and password for your public schema.
################################################################

GWYUID="APPLSYSPUB/PUB"
export GWYUID

###################################################
# The APPCPNAM determines how files are named by cm
# Possible values are USER and REQID.
###################################################

APPCPNAM="REQID"
export APPCPNAM

####################################################
# The APPLMAIL variable is needed for relinking.
# You may edit its definition, but do not remove it.
# APPLMAIL={NONE | ORACLE_INTEROFFICE}
####################################################

APPLMAIL="NONE"
export APPLMAIL

##############################################################
# APPL_TOP is the top-level directory for Oracle Applications.
##############################################################

APPL_TOP="/u01/oracle/VIS/apps/apps_st/appl"
export APPL_TOP

###################################
# Applications COMMON_TOP directory
###################################

COMMON_TOP="/u01/oracle/VIS/apps/apps_st/comn"
export COMMON_TOP

########################################
# Top-level directories for all products
########################################

if test -f $CONTEXT_FILE; then
  allprods=`grep 'oa_type="PROD_TOP"' $CONTEXT_FILE |
     sed 's/^.*<\([A-Z_a-z0-9]*\).*oa_var[^>]*>[ ]*\([^<]*\)<.*$/\1=\2; export \1;/g'`

  # set IFS to a NEWLINE - "; needs to be at the beginning of the line
  oIFS="$IFS"
  IFS="
";
  for prod in $allprods
  do
       eval $prod
  done

  # reset the IFS to space (default)
  IFS="$oIFS" 
  unset allprods #Needed for bug 3947329. This frees up space needed on AIX 4.3
else

  # This is for the corner case where somebody removed the
  # context file and needs to rebuild the context file.

  AD_TOP="/u01/oracle/VIS/apps/apps_st/appl/ad/12.0.0"
  export AD_TOP

  FND_TOP="/u01/oracle/VIS/apps/apps_st/appl/fnd/12.0.0"
  export FND_TOP
fi                                                                                

###################################################
# Get environment variable settings from fndenv.env
###################################################

. /u01/oracle/VIS/apps/apps_st/appl/fnd/12.0.0/fndenv.env

############
# Reset PATH
############

forpath=''

for pathseg in `echo $PATH | sed "s/:/ /g"`
do
  if test -f "$pathseg/aiap"    -o -f "$pathseg/aiap60"  -o \
          -f "$pathseg/FNDLIBR" -o -f "$pathseg/f60webmx" -o \
          -f "$pathseg/adaimgr"; then
    if test -f "$pathseg/oracle"; then
      forpath="$forpath:$pathseg"
    fi
  else
    forpath="$forpath:$pathseg"
  fi
done

unzippath="/u01/oracle/VIS/apps/apps_st/comn/util/unzip/unzip";
if test "Linux" = "HP-UX" -a \
        -x "/u01/oracle/VIS/apps/apps_st/comn/util/unzip/unzip/unzip/unzip-RUN/opt/unzip/bin/unzip" ; then
   unzippath="/u01/oracle/VIS/apps/apps_st/comn/util/unzip/unzip/unzip/unzip-RUN/opt/unzip/bin"; 
fi

if test "Linux" = "HPUX_IA64" -a \
        -x "/u01/oracle/VIS/apps/apps_st/comn/util/unzip/unzip/unzip/unzip-RUN/opt/unzip/bin/unzip" ; then
   unzippath="/u01/oracle/VIS/apps/apps_st/comn/util/unzip/unzip/unzip/unzip-RUN/opt/unzip/bin"; 
fi

if test "Linux" = "Linux" -a \
        -x "/u01/oracle/VIS/apps/apps_st/comn/util/unzip/unzip/unzip-5.50/unzip" ; then
   unzippath="/u01/oracle/VIS/apps/apps_st/comn/util/unzip/unzip/unzip-5.50"; 
fi

if test "Linux" = "LINUX_X86-64" -a \
        -x "/u01/oracle/VIS/apps/apps_st/comn/util/unzip/unzip/unzip-5.50/unzip" ; then
   unzippath="/u01/oracle/VIS/apps/apps_st/comn/util/unzip/unzip/unzip-5.50"; 
fi

PATH="/u01/oracle/VIS/apps/apps_st/appl/fnd/12.0.0/bin:/u01/oracle/VIS/apps/apps_st/appl/ad/12.0.0/bin:/u01/oracle/VIS/apps/tech_st/10.1.3/appsutil/jdk/jre/bin:${unzippath}:$forpath:/u01/oracle/VIS/apps/tech_st/10.1.3/appsutil/jdk/bin"
export PATH

unset forpath
unset unzippath

############################################################
# APPLDCP tells the Concurrent Manager whether you are using
# the Distributed Concurrent Processing feature.
############################################################

APPLDCP="OFF"
export APPLDCP

####################################################################
# APPLCSF is the top-level directory in which the Concurrent Manager
# puts log and output files.
####################################################################

APPLCSF="/u01/oracle/VIS/inst/apps/VIS_visserver/logs/appl/conc"
if test "$APPLCSF" != ""
then
  export APPLCSF
fi

############################
# AFSYSCSI is the CSI number
############################

AFSYSCSI="N/A"

#####################################################
# APPLLOG and APPLOUT are the subdirectories in which
# the Concurrent Manager puts log and output files.
#####################################################

APPLLOG="log"
export APPLLOG

APPLOUT="out"
export APPLOUT

#######################################################
# APPLTMP is the directory in which Oracle Applications
# temporary files are created.
#######################################################

APPLTMP="/u01/oracle/VIS/inst/apps/VIS_visserver/appltmp"
export APPLTMP

#####################################################################
# APPLPTMP is the directory in which PL/SQL output files are created.
#####################################################################

APPLPTMP="/usr/tmp"
export APPLPTMP

##########################################################################
# Env variable that will be to set the LD_LIBRARY_PATH for Java concurrent
# programs
##########################################################################

AF_LD_LIBRARY_PATH=/u01/oracle/VIS/apps/tech_st/10.1.3/lib32:/u01/oracle/VIS/apps/tech_st/10.1.3/lib:/u01/oracle/VIS/apps/tech_st/10.1.2/jdk/jre/lib/i386:/u01/oracle/VIS/apps/tech_st/10.1.2/jdk/jre/lib/i386/server:/u01/oracle/VIS/apps/tech_st/10.1.2/jdk/jre/lib/i386/native_threads:/u01/oracle/VIS/apps/apps_st/appl/cz/12.0.0/bin:${LD_LIBRARY_PATH:=}:/u01/oracle/VIS/apps/apps_st/appl/pon/12.0.0/bin 
export AF_LD_LIBRARY_PATH

#################################################
# National Language Support environment variables
#################################################

NLS_LANG="American_America.AL32UTF8"
export NLS_LANG

NLS_DATE_FORMAT="DD-MON-RR"
export NLS_DATE_FORMAT

NLS_NUMERIC_CHARACTERS=".,"
export NLS_NUMERIC_CHARACTERS

NLS_SORT="BINARY"
export NLS_SORT

NLS_DATE_LANGUAGE=""
export NLS_DATE_LANGUAGE

######################################
# Oracle Reports environment variables
######################################

PATH=$ORACLE_HOME/bin:${PATH}
export PATH

REPORTS_TMP="/u01/oracle/VIS/inst/apps/VIS_visserver/temp"
export REPORTS_TMP

REPORTS_PATH="/u01/oracle/VIS/apps/apps_st/appl/au/12.0.0/plsql:/u01/oracle/VIS/apps/apps_st/appl/fnd/12.0.0/reports:/u01/oracle/VIS/apps/apps_st/appl/au/12.0.0/reports:/u01/oracle/VIS/apps/apps_st/appl/au/12.0.0/graphs"
export REPORTS_PATH

REPORTS_PRE="&5555"
export REPORTS_PRE

REPORTS_POST="&5556"
export REPORTS_POST

REPORTS_NO_DUMMY_PRINTER="TRUE"
export REPORTS_NO_DUMMY_PRINTER

RW="/u01/oracle/VIS/apps/tech_st/10.1.2/reports"
export RW

REPORTS_TAGLIB_URI="/WEB-INF/lib/reports_tld.jar"
export REPORTS_TAGLIB_URI

REPORTS_CLASSPATH="/u01/oracle/VIS/apps/tech_st/10.1.2/reports/jlib/rwbuilder.jar:/u01/oracle/VIS/apps/tech_st/10.1.2/reports/jlib/rwrun.jar:/u01/oracle/VIS/apps/tech_st/10.1.2/jlib/zrclient.jar:/u01/oracle/VIS/apps/tech_st/10.1.2/j2ee/home/oc4j.jar:/u01/oracle/VIS/apps/tech_st/10.1.2/j2ee/home/lib/ojsp.jar"
export REPORTS_CLASSPATH

REPORTS_USEREXITS="/u01/oracle/VIS/apps/apps_st/appl/fnd/12.0.0/bin/fndrwxit.so"
export REPORTS_USEREXITS

if [ "`uname -rs`" = "SunOS 5.9" ]
then
	REPORTS_SOLARIS_9="YES";
	export REPORTS_SOLARIS_9
fi

TK_ICON="/u01/oracle/VIS/apps/tech_st/10.1.2/reports/plugins/resource"
export TK_ICON

TK_PRINTER="noprint"
export TK_PRINTER

TK_PRINT_STATUS="echo %n is valid"
export TK_PRINT_STATUS

# Set XENVIRONMENT variable in a UTF8 and AL32UTF8 env

if test "UTF8" = "AL32UTF8"; then
   XENVIRONMENT="/u01/oracle/VIS/apps/tech_st/10.1.2/guicommon/tk/admin/Tk2Motif_UTF8.rgb"
   export XENVIRONMENT
fi

if test "AL32UTF8" = "AL32UTF8"; then
   XENVIRONMENT="/u01/oracle/VIS/inst/apps/VIS_visserver/ora/10.1.2/reports/Tk2Motif_AL32UTF8.rgb"
   export XENVIRONMENT
fi

####################################
# Oracle Forms environment variables
####################################

FORMS_DISABLE_UNPAD_LOV="TRUE"
export FORMS_DISABLE_UNPAD_LOV

FORMS_MESSAGE_ENCRYPTION="TRUE"
export FORMS_MESSAGE_ENCRYPTION

FORMS_SESSION="TRUE"
export FORMS_SESSION

FORMS_OAM_FRD="OFF"
export FORMS_OAM_FRD

FORMS_APPSLIBS="APPCORE FNDSQF APPDAYPK APPFLDR GLCORE HR_GEN HR_SPEC ARXCOVER"
export FORMS_APPSLIBS

FORMS_FORCE_MENU_MNEMONICS="0"
export FORMS_FORCE_MENU_MNEMONICS

FORMS_TRACE_DIR=/u01/oracle/VIS/inst/apps/VIS_visserver/logs/ora/10.1.2/forms
export FORMS_TRACE_DIR

FORMS_PATH="/u01/oracle/VIS/apps/apps_st/appl/au/12.0.0/resource:/u01/oracle/VIS/apps/apps_st/appl/au/12.0.0/resource/stub"
export FORMS_PATH

FORMS_FLAG_DIFFERENT_SUBORD="1";
export FORMS_FLAG_DIFFERENT_SUBORD

FORMS_WEB_CONFIG_FILE="/u01/oracle/VIS/inst/apps/VIS_visserver/ora/10.1.2/forms/server/appsweb.cfg"
export FORMS_WEB_CONFIG_FILE

FORMS_BLOCKING_LONGLIST="FALSE"
export FORMS_BLOCKING_LONGLIST

FORMS_LOV_INITIAL="5000"
export FORMS_LOV_INITIAL

FORMS_TIMEOUT="5"
export FORMS_TIMEOUT

FORMS_RESTRICT_ENTER_QUERY="TRUE"
export FORMS_RESTRICT_ENTER_QUERY

FORMS_CATCHTERM="1" 
export FORMS_CATCHTERM 

FORMS_RTI_DIR="/u01/oracle/VIS/inst/apps/VIS_visserver/logs/ora/10.1.2/forms"
export FORMS_RTI_DIR

FORMS_REJECT_GO_DISABLED_ITEM="0"
export FORMS_REJECT_GO_DISABLED_ITEM

FORMS_OVERRIDE_ENV="NLS_LANG,NLS_NUMERIC_CHARACTERS,NLS_SORT,NLS_DATE_LANGUAGE,NLS_DATE_FORMAT,FORMS_USER_DATE_FORMAT,FORMS_USER_DATETIME_FORMAT,FORMS_OUTPUT_DATE_FORMAT,FORMS_OUTPUT_DATETIME_FORMAT,FORMS_ERROR_DATE_FORMAT,FORMS_ERROR_DATETIME_FORMAT,FORMS_TZFILE,FORMS_DATETIME_SERVER_TZ,FORMS_DATETIME_LOCAL_TZ,FORMS_USER_CALENDAR"
export FORMS_OVERRIDE_ENV

FORMS_MODULE_PATH="/u01/oracle/VIS/apps/apps_st/appl/fnd/12.0.0/forms"
export FORMS_MODULE_PATH

#################################################
# Define the Full path of the Reviver Process PID
#################################################

FNDREVIVERPID="/u01/oracle/VIS/inst/apps/VIS_visserver/pids/appl/reviver.sh_VIS_visserver.pid"
export FNDREVIVERPID

#############################
# Define the variable AFCPDNR
#############################

TEMP_APPS_VERSION="12.1.1"
APPS_VERSION=`echo $TEMP_APPS_VERSION | grep 11.5 | awk -F. '{ print $1 }'`
if [ "x${APPS_VERSION}" = "x11" ]; then
  AFCPDNR="enabled"
  export AFCPDNR
fi

###########################
# For integration with ILOG
###########################

APPL_CPLEX_LICDIR="/u01/oracle/VIS/apps/apps_st/appl/admin/cplex"
export APPL_CPLEX_LICDIR

###################################
# Add perl location to the PATH and
# set PERL5LIB for Perl
###################################

PERLBIN=`dirname /u01/oracle/VIS/apps/tech_st/10.1.3/perl/bin/perl`

PATH=${PERLBIN}:${PATH}
export PATH

PERL5LIB=/u01/oracle/VIS/apps/tech_st/10.1.3/perl/lib/5.8.3:/u01/oracle/VIS/apps/tech_st/10.1.3/perl/lib/site_perl/5.8.3:/u01/oracle/VIS/apps/apps_st/appl/au/12.0.0/perl:/u01/oracle/VIS/apps/tech_st/10.1.3/Apache/Apache/mod_perl/lib/site_perl/5.8.3/i686-linux-thread-multi
export PERL5LIB

ADPERLPRG=/u01/oracle/VIS/apps/tech_st/10.1.3/perl/bin/perl
export ADPERLPRG

####################################################
# Get customer-defined environment variable settings
####################################################

. /u01/oracle/VIS/inst/apps/VIS_visserver/appl/admin/adovars_VIS_visserver.env 

###########################
# iAS ORACLE_HOME directory
###########################

IAS_ORACLE_HOME="/u01/oracle/VIS/apps/tech_st/10.1.3"
export IAS_ORACLE_HOME

######################################
# Define the DBC file storage location
######################################

FND_SECURE="/u01/oracle/VIS/inst/apps/VIS_visserver/appl/fnd/12.0.0/secure"
export FND_SECURE

########################################################################
# Setting APPLORB & APPLORC env variables to override the value of these
# variables set from /u01/oracle/VIS/apps/apps_st/appl/fnd/12.0.0/fndenv.env
########################################################################

APPLORB="/u01/oracle/VIS/inst/apps/VIS_visserver/ora/10.1.2/bin/appsrwrun.sh"
export APPLORB

APPLORC="/u01/oracle/VIS/inst/apps/VIS_visserver/ora/10.1.2/bin/appsrwrun.sh"
export APPLORC

####################################################
# Env variables for shared file system configuration
####################################################

# INST_TOP is the top level location for all the instance specific conf,
# logs, pids, certs etc.

INST_TOP="/u01/oracle/VIS/inst/apps/VIS_visserver"
export INST_TOP

# APPL_CONFIG_HOME is the top level location for all the instance specific
# APPL_TOP related config files.

APPL_CONFIG_HOME="/u01/oracle/VIS/apps/apps_st/appl"
export APPL_CONFIG_HOME 

# ORA_CONFIG_HOME is the top level location for all the instance specific
# Oracle home related config files.

ORA_CONFIG_HOME="/u01/oracle/VIS/inst/apps/VIS_visserver/ora"
export ORA_CONFIG_HOME 

# LOG_HOME is the top level location for all the instance specific logs.

LOG_HOME="/u01/oracle/VIS/inst/apps/VIS_visserver/logs"
export LOG_HOME

# ADMIN_SCRIPTS_HOME is the location for all the administation scripts for
# application tier.

ADMIN_SCRIPTS_HOME="/u01/oracle/VIS/inst/apps/VIS_visserver/admin/scripts"
export ADMIN_SCRIPTS_HOME

# Set java program used by FND

AFJVAPRG="/u01/oracle/VIS/inst/apps/VIS_visserver/admin/scripts/java.sh"
export AFJVAPRG

##############################################
# Release information to patch the environment
##############################################

APPS_VERSION="12.1.1"
export APPS_VERSION

####################################################
# Env variables for running ANT scripts
####################################################

ANT_HOME="${IAS_ORACLE_HOME}/ant"
export ANT_HOME

PATH="${PATH}:${ANT_HOME}/bin"
export PATH
