Guest User

Untitled

a guest
Nov 19th, 2018
111
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.46 KB | None | 0 0
  1. print('connecting to the url:')
  2.  
  3. try:
  4. connect(username, password, url)
  5. print('Successfully connected')
  6. except:
  7. print 'Unable to find admin server...'
  8. exit()
  9.  
  10. progress=deploy(filename,directory,targets='AdminServer')
  11.  
  12. print 'starting the script ....'
  13. username = 'weblogic'
  14. password = 'weblogic103'
  15. url='t3://172.27.49.161:9709'
  16. connectAdmin()
  17. edit()
  18. startEdit()
  19. deployApplication()
  20. activate()
  21. disconnect()
Add Comment
Please, Sign In to add comment