Set NUM_WORKLOADS=1 until you get appserver working. There's a known issue with the appserver scripts. As a temporary fix, on appserver download the attached zip file to /opt then:
cd /opt
rm -rf appvm_scripts
unzip appvm_scripts.zip
cd appvm_scripts
./makeme_appserver.sh
Lisa