如何通过Weblogic Java API检索Weblogic的部署测试点 [英] How to retrieve Weblogic's Deployment test points through Weblogic Java API

查看:205
本文介绍了如何通过Weblogic Java API检索Weblogic的部署测试点的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在开发一个基于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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆