Monday, December 29, 2008

Steps to Create and Register a Custom Concurrent Program

Steps to Create & Register a Custom Concurrent Program

Eg: Apache Bouncing Script.


Procedure:
~~~~~~~~~~~~
$cd <$CUST_COMMON_TOP>/bin
$ln -s $FND_TOP/bin/fndcpesr .

Create a shell script under $CUST_COMMON_TOP/bin .

vi adapcctl
***************************
#!/bin/ksh
#i2 Apache bounce script

ORA_USER_PASS=$1
USERID=$2
USERNAME=$3
REQUESTID=$4
export ORA_USER_PASS USERID USERNAME REQUESTID
action=`echo $ORA_USER_PASS |sed -e 's/.* //'|sed -e 's/\"//g'`
echo
echo "User selected action: $action"
echo

$COMMON_TOP/admin/scripts/$CONTEXT_NAME/adapcctl.sh $action
exit $?
***********************************************
chmod 755 the shell script.

Next you have to make into system administrator responsibly follow 3 steps from these menu

I. * sysadmin -> concurrent-> program -> executable

Executable: I2Apache
Short Name: I2APACHE
Application: i2 Custom COMMON
Description: I2 APACHE BOUNCE
Execution Method: Host
Execution File Name: adapcctl

II. * sysadmin -> concurrent-> program -> define

Program Name: i2 Apache
Short Name: I2APACHE
Application: i2 Custom COMMON
Description: I2 APACHE BOUNCE

=> Also add a parameter


III. * sysadmin ->security -> responsibility -> request => add it the responsibility.

Group: i2 Sysadmin
Application: i2 Custom COMMON
Code: I2_SYSADMIN


IV. Bounce the Concurrent Manager.

V. Verify your custom concurrent program.


Reference:

Metalink note numbers :266268.1 & 156636.1

No comments: