PIA domain installed with old method now nee dto make use of psadmin utility to start and stop webserver :-
Make change in .bash_profile
it should be like below :-
if [ -f /oracle/psoft_scripts/eigenpshrenv ]
then
. /oracle/psoft_scripts/eigenpshrenv
fi
export ORACLE_HOME=/oracle/middleware/Oracle_WT1
export ORACLE_INSTANCE=/oracle/middleware/Oracle_WT1/instances/instance1
export COMPONENT_TYPE=OHS
export COMPONENT_NAME=ohs1
export PATH=$ORACLE_INSTANCE/bin:$PATH
and add eigenpshrenv file and you can create folder like I did to separate it, its your wish you create or not. My file is as it is :-
#
#
# Environment variables specific for PeopleSoft HR
#
#
if [ -f /oracle/tuxedo/tuxedo12.1.3.0.0/tux.env ]
then
. /oracle/tuxedo/tuxedo12.1.3.0.0/tux.env
fi
if [ -f /oracle/peopletools/8.55/psconfig.sh ]
then
. /oracle/peopletools/8.55/psconfig.sh
else
echo "/oracle/peopletools/8.55/psconfig.sh DOES NOT EXIST"
fi
#
export PS_HOME=/oracle/peopletools/8.55
PATH=$PATH:$PS_HOME/bin:$PS_HOME/cblbin:/oracle/psoft_scripts:.;export PATH
#
# NLS_LANG op UTF8
#
export NLS_LANG=AMERICAN_AMERICA.UTF8
#
# Toegevoegde variabelen voor AE
export PS_PRCS_BASE=$PS_HOME/psft/pt/8.55/appserv/prcs
export PS_BIN=$PS_HOME/bin
export PS_AE_BINARY=$PS_BIN/psae
#
# Working directory in het path zetten
#
export PATH=$PATH:.
#
# Aanpassing Oracle 9i $ORACLE_HOME/lib32 vooraan in SHLIB_PATH
#
SHLIB_PATH=$ORACLE_HOME/lib32:$SHLIB_PATH;export SHLIB_PATH
#
# Adds for integration PeopleSoft MQ
#
LD_LIBRARY_PATH=/opt/mqm/java/lib64:$PS_HOME/colrlib:$LD_LIBRARY_PATH:$PS_HOME/bin;export LD_LIBRARY_PATH
MQ_JAVA_PATH=/opt/mqm/java/lib64
CLASSPATH=/opt/mqm/lib64:/opt/mqm/java/lib64:$PS_HOME/colrlib:$CLASSPATH;export CLASSPATH
PS_CLASSPATH=/opt/mqm/lib64:/opt/mqm/java/lib64:$PS_HOME/colrlib:$CLASSPATH;export PS_CLASSPATH
#
#export PS_APP_HOME=/oracle/application/hcm92
#export PS_CUST_HOME=/oracle/pscustom
export PS_CFG_HOME=/oracle/pia_855
close the session and reopen new session and you can make use of psadmin utility to start and stop webserver.
No comments:
Post a Comment