This is wat I did:
wlsh.sh -f sample.wlsh -v a=<machine_name_port> -v b=<user_name> -v
c=<passwd> -v d=<ear_file_name>
Inside the script:
--------------------
connect $a $b $c ####I am able to connect to the server. No issues
with this.
cd /Application
cd $d #####Here seems to be the issue. I am not able to get into
this dir. I even tried printing $d after connect. It's taking only
null value.
........
.........
disconnect
exit
Am i overlooking anything.
Any help is appreciated.
Thanks,
Shiva.