set user wpsadmin
set pwd wpsadmin
$Portal login $user $pwd
Then you can execute your jacl script using this command
wpscript.sh -port port_number -profile mylogin.jacl -username wasadmin -password wasadmin -f testme.jacl
As you can see your passing name of your mylogin.jacl as value for -profile command line parameter. So the mylogin.jacl script will get executed before testme.jacl and as a result you dont have to include login command in each of your JACL scripts
Thanks for info
ReplyDeleteWeb Design Company in Bangalore