Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
496 views
in Technique[技术] by (71.8m points)

weblogic api and curl

I'm just wondering if there's a restful api or curl commands for 12c versions below to managed the servers in weblogic like doing stop, start of the specific server.

I have tried the below api link for version 12.1.3.0.0 (12c) and managed to get what i wanted.

https://[Host]:[Port]/management/wls/latest/servers/id/[Servername]/shutdown?force=true

However, in the previous versions like 10.3.6.0. (11g) it doesn't seems to work even if use some curl commands. my reason for this is i just want to automate some actions in weblogic.

can anyone help me with this.

question from:https://stackoverflow.com/questions/65838376/weblogic-api-and-curl

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)

The REST Management API has been introduced in WebLogic Server 12c. This feature does not exist in previous version. WLST is the recommanded way to automate your actions. Note that a simple shell script is enough to start/stop a server instance.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...