This content has been marked as final. Show 2 replies
The startwlevs.sh script calls (sources) the ./setDomainEnv.sh file using a relative path that expects setDomainEnv.sh to be in the current directory. So the startwlevs.sh script itself needs to be run with a current working directory of /u01/user_projects/domains/ocep_domain/defaultserver or it won't be able to find the setDomainEnv.sh script. If you're launching your higher level script from some other directory, the current working directory will typically be set to whatever directory your terminal shell is currently in.
You can try explicitly changing directory in your script, e.g.
nohup sh $DOMAIN_HOME/ocep_domain/defaultserver/startwlevs.sh &> ocep1.out &