Weblogic start script doesn't execute


I have been trying to automate weblogic and ATG installation, but I cannot start weblogic server through chef.

I’m calling startWeblogic.sh script through ‘execute’ but it seems like chef executes the command but doesn’t execute shell script and start the server instead running handlers are exiting.

My code –
execute ‘weblogic’ do
command './u02/oracle/user-projects/domains/abc/bin/startWeblogic.sh’
user 'abcd’