I new in Weblogic and WLST I write script connect WLST to Admin Server by Jython but I revecied error when connect.
WLSTException: Error occured while performing connect : Error getting the initial context. There is no server running at t3://localhost:7001
My Jython code:
print '--------------------------------------------------------------------'
print '-- START NODE MANAGER --'
print '--------------------------------------------------------------------'
startNodeManager(verbose='true', NodeManagerHome='C:/Oracle/Middleware/wlserver_10.3/common/nodemanager', ListenPort='5556', ListenAddress='localhost')
print '--------------------------------------------------------------------'
print '-- CONNECT WLST TO NODE MANAGER --'
print '--------------------------------------------------------------------'
nmConnect('weblogic', 'abcd123-', 'localhost', '5556', 'base_domain', 'C:/Oracle/Middleware/user_projects/domains/base_domain','ssl')
print '--------------------------------------------------------------------'
print '-- START ADMIN SERVER --'
print '--------------------------------------------------------------------'
nmStart('AdminServer')
nmServerStatus('AdminServer')
print '--------------------------------------------------------------------'
print '-- CONNECT WLST TO ADMIN SERVER --'
print '--------------------------------------------------------------------'
connect('weblogic', 'abcd123-')
# connect('weblogic', 'abcd123-', 't3://localhost:7001') I aloso try this but not work