如何通过Weblogic Java API检索Weblogic的部署测试点 [英] How to retrieve Weblogic's Deployment test points through Weblogic Java API
问题描述
我正在开发一个基于JMX的Weblogic运行状况监控代码库。我正在尝试获取所有部署测试点的列表( http
地址,如下面的快照所示),并查看该Web地址是否可访问。
有没有办法在Weblogic的Java API中访问这些测试点的列表?它们在 [server_name]
- > 部署
(左侧菜单) - > [应用程序名称]
- > 在
窗格。部署测试
表下测试
没有直接的方法调用来生成测试URL。但是从wlst或mbeans,您可以收集有关服务器URL端口和应用程序上下文的信息。并生成网址。
你可以检查
这里测试网址在weblogic中的显示方式管理员
I'm working on a Weblogic health monitoring code base, which is based on JMX. I am trying to get the list of all deployment test points (the http
addresses, as shown in the following snapshot), and see if that web address is reachable or not.
Is there a way to access the list of these test points in Weblogic's Java API? They are under [server_name]
--> deployment
(left menu) --> [app name]
--> Testing
pane, under "Deployment Tests
" table.
There is no direct method call to generate test urls. but from wlst or mbeans you can gather information about server url port and application context. and generate the url.
you can check Retrieve current server's provider URL at runtime on weblogic (non-deprecated way)
and for wlst you can check https://docs.oracle.com/cd/E24329_01/web.1211/e24490/reference.htm#WLSTC119
here is example from my local. how to find out context path here how test url looks in weblogic admin
这篇关于如何通过Weblogic Java API检索Weblogic的部署测试点的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!