Deployment 如何使用weblogic命令行引用获取引用库的应用程序列表?
因为在weblogic服务器中取消部署库之前,我需要强制停止所有应用程序引用 如何使用weblogic命令行参考在weblogic服务器的库设置中的“引用此库中的应用程序”选项卡中获取应用程序列表Deployment 如何使用weblogic命令行引用获取引用库的应用程序列表?,deployment,weblogic,Deployment,Weblogic,因为在weblogic服务器中取消部署库之前,我需要强制停止所有应用程序引用 如何使用weblogic命令行参考在weblogic服务器的库设置中的“引用此库中的应用程序”选项卡中获取应用程序列表 因此,我可以停止这些应用程序,而不是停止所有应用程序。此信息可从LibraryRuntimeMBean.ReferenceGruntimes获得 请查看此此信息可从LibraryRuntimeMBean.ReferenceGruntimes获得 在WLST中查看一下,您可以迭代库并获取应用程序名称 s
因此,我可以停止这些应用程序,而不是停止所有应用程序。此信息可从LibraryRuntimeMBean.ReferenceGruntimes获得
请查看此此信息可从LibraryRuntimeMBean.ReferenceGruntimes获得
在WLST中查看一下,您可以迭代库并获取应用程序名称
serverRuntime()
listLibraries=cmo.getLibraryRuntimes()
for library in listLibraries :
for referencingRuntime in library.getReferencingRuntimes() :
print referencingRuntime.getName()
在WLST中,您可以迭代库并获取应用程序名称
serverRuntime()
listLibraries=cmo.getLibraryRuntimes()
for library in listLibraries :
for referencingRuntime in library.getReferencingRuntimes() :
print referencingRuntime.getName()
实际上,您需要在serverRuntime().LibraryRuntimes和applicationRuntimes/{name}/LibraryRuntimes/{name}/referencegrunti之间进行交叉引用。实际上,您需要在serverRuntime().LibraryRuntimes和applicationRuntimes/{name}/LibraryRuntimes/{name}/referencegruntimes之间进行交叉引用