Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- print('connecting to the url:')
- try:
- connect(username, password, url)
- print('Successfully connected')
- except:
- print 'Unable to find admin server...'
- exit()
- progress=deploy(filename,directory,targets='AdminServer')
- print 'starting the script ....'
- username = 'weblogic'
- password = 'weblogic103'
- url='t3://172.27.49.161:9709'
- connectAdmin()
- edit()
- startEdit()
- deployApplication()
- activate()
- disconnect()
Add Comment
Please, Sign In to add comment