Wednesday 12 June 2013


Apache Bounce Script For R12

echo "status of the adapcctl : "
$ADMIN_SCRIPTS_HOME/adapcctl.sh status apps/apps
echo "status of the adoacorectl : "
$ADMIN_SCRIPTS_HOME/adoacorectl.sh status apps/apps
answer="$1"
echo $answer
if [ $answer ]
then
echo "Compiling the jsp : "
$COMMON_TOP/_pages
rm *$answer
cd $FND_TOP/patch/115/bin
perl ojspCompile.pl --compile -s $answer
echo "jsp compilation is done"
$ADMIN_SCRIPTS_HOME/adapcctl.sh stop apps/apps
echo "adapcctl is stopped successfully"
$ADMIN_SCRIPTS_HOME/adoacorectl.sh stop apps/apps
echo "adoacorectl is stopped successfully"
$ADMIN_SCRIPTS_HOME/adapcctl.sh start apps/apps
echo "adapcctl.sh is started successfully"
$ADMIN_SCRIPTS_HOME/adoacorectl.sh start apps/apps
echo "adoacorectl is started successfully"
else
echo "Cache not cleared and null value should not be the input for Apache_bounce"
fi

No comments:

Post a Comment