Question : Dought on Python Script

Hi
All,I had a dought on below python script
print 'connecting to admin server....'
connect( 'weblogic', 'weblogic', 't3://localhost:10117', adminServerName='AdminServer' )
print 'stopping and undeploying ....'
stopApplication('Hello_World')
print 'undeploying '
undeploy('Hello_World')
print 'deploying....'
deploy('Hello_World', '/opt/app/component/deployments/Hello_World', targets='MS1')
print 'starting..'
startApplication('Hello_World')
disconnect()
exit()

I executed the above script with execfile() command in wlst.The scripts works fine without any issues.My dought is without
edit()
startEdit()
save()
activate()
 comands before undeploy and deploy application..How come the script works fine...we need to activate changes right..and application is running fine..PLZ solve this .....

Thanks

Answer : Dought on Python Script

the deploy/undeploy commands execute these commands for you. No need to execute them before deploying the application
Random Solutions  
 
programming4us programming4us