Microsoft
Software
Hardware
Network
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='AdminServ
er' )
print 'stopping and undeploying ....'
stopApplication('Hello_Wor
ld')
print 'undeploying '
undeploy('Hello_World')
print 'deploying....'
deploy('Hello_World', '/opt/app/component/deploy
ments/Hell
o_World', targets='MS1')
print 'starting..'
startApplication('Hello_Wo
rld')
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
Script needed to close program and stop/start service
Include page headers when printing HTML pages with different headers on some of each page
iphone sees wifi network but password incorrect
Can someone please advise the best way to migrate a drupal CMS website to another server
urgent: how to change the nic speed from 100 half to 1000full in Solaris10
Help needed to choose create automated process for data feed FTP upload
Thoughts and comments on a backup solution
Can't obtain cell values from Selected Row of GridView programmatically
Exchange 2007 OWA causes 2 audit failures on failed login attempt
net share system error 5 acces denied