Hi,
While installing the Weblogic server it will ask for a domain name, by default it will take it as "mydomain" and all the Envinronment variable fits there, so when we start our operations to deploy, goto mydomain path using command prompt and use setEnv, after that u can package it...