If you want to run awexe calls from the command line you will need to make sure to invoke the $AW_HOME/site/sosite file before you attempt to run these awexe calls. If you are created a custom script to make awexe calls, you will need to set it up so that it runs sosite file before it attempts to make these calls.