나는 conn.py
이라는 스크립트를 가지고 있으며 conn()
이라는 함수가 있습니다. connect(username,password,url)
을 사용하여 weblogic 도메인에 연결합니다. 그리고 스크립트 createServer.py
있습니다나는 독립적으로 wlst에 연결하여 다른 스크립트에이 함수를 사용할 수 있습니다.
__main__:
import conn
conn.conn()
cmo.createServer()
내가 createServer()
에 오류가 발생, 내가 아직이 방법에 의해 WLST 온라인 기능을 사용하는 방법, 자동 차단 기능() 내가 conn.conn()
를 실행 한 후 보인다?
--------------------- 내 콘솔 반환 -------------
starting the script ....
input your user name : weblogic
input your user password : weblogic456
Connecting to t3://localhost:7001 with userid weblogic ...
Successfully connected to Admin Server 'AdminServer' that belongs to domain 'demo'.
Warning: An insecure protocol was used to connect to the
server. To ensure on-the-wire security, the SSL port or
Admin port should be used instead.
connect OK.
You will need to be connected to a running server to execute this command
You will need to be connected to a running server to execute this command
Error: No domain or domain template has been read.
Problem invoking WLST - Traceback (innermost last):
File "/home/chopperlee/Program/Workspace/configWL/wlst/createServer.py", line 84, in ?
File "/home/chopperlee/Program/Workspace/configWL/wlst/createServer.py", line 37, in createServer
AttributeError: 'NoneType' object has no attribute 'createServer'
뭐가 잘못 됐어? – Nilesh
'이 명령을 실행하려면 실행중인 서버에 연결해야합니다. '및 AttributeError :'NoneType '객체에'createServer'속성이 없습니다. createServer()를 실행하기 전에 연결 해제됩니다. –
전체 트랙 트랙 ? – Nilesh