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
Install crashes Office 2007 Pro on Windows 2003 SP2 server
CSS Template
How do I run a stored procedure and ignore the returned output in Management Studio?
Remotely Install Application to VPN users with certain IP
Question about patch definitions in vCenter update manager
How do I silently uninstall vSphere Client?
Microsoft SQL Server Reporting Services send E-mail in plain text
SharePoint - single user can't access Rich Text Editor
asp.net SQL Filestream access is denied
Java validation for radio button list