【WebLogic管理】通过weblogic.Admin工具查看Application属性及运行状态

教程发布:风哥 教程分类:ITPUX技术网 更新日期:2022-02-12 浏览学习:662

通过weblogic.Admin工具查看Application属性及运行状态

查看Application:

ash-3.00# /usr/java5/bin/java -cp /bea/bea92/weblogic92/server/lib/weblogic.jar weblogic.Deployer -adminurl t3://192.168.3.245:9202 -user weblogic -password weblogic -listapps
weblogic.Deployer invoked with options: -adminurl t3://192.168.3.245:9202 -user weblogic -listapps
---------------------------
DownloadFileJSP.war
Number of Applications Found : 1

bash-3.00# /usr/java5/bin/java -cp /bea/bea92/weblogic92/server/lib/weblogic.jar weblogic.Admin -url t3://192.168.3.245:9202 -username weblogic -password weblogic GET -pretty -type Application -property FullPath -property Name -property Parent -property Path -property Type
---------------------------
MBeanName: "9202domain:Name=DownloadFileJSP.war,Type=Application"
FullPath: /bea/bea92/user_projects/domains/9202domain/servers/AdminServer/upload/DownloadFileJSP.war/app/DownloadFileJSP.war
Name: DownloadFileJSP.war
Parent: 9202domain
Path: ./servers/AdminServer/upload/DownloadFileJSP.war/app/DownloadFileJSP.war
Type: Application

bash-3.00# /usr/java5/bin/java -cp /bea/bea92/weblogic92/server/lib/weblogic.jar weblogic.Admin -url t3://192.168.3.245:9202 -username weblogic -password weblogic GET -pretty -type WebAppComponent -property Targets -property Application -property ServletReloadCheckSecs -property WebServers -property URI
---------------------------
MBeanName: "9202domain:Name=DownloadFileJSP,Type=WebAppComponent,Application=DownloadFileJSP.war"
Application: DownloadFileJSP.war
Targets: AdminServer,Server-1
URI: DownloadFileJSP.war
WebServers:

bash-3.00# /usr/java5/bin/java -cp /bea/bea92/weblogic92/server/lib/weblogic.jar weblogic.Admin -url t3://192.168.3.245:9202 -username weblogic -password weblogic GET -pretty -type WebAppComponentRuntime -property ComponentName -property ContextRoot -property JSPPageCheckSecs -property Servlets -property Parent -property DeploymentState -property JSPDebug -property ServletReloadCheckSecs -property Status
---------------------------
MBeanName: "9202domain:ServerRuntime=AdminServer,Name=AdminServer_/DownloadFileJSP,Type=WebAppComponentRuntime,Location=AdminServer,
ApplicationRuntime=DownloadFileJSP.war"
ComponentName: DownloadFileJSP.war
ContextRoot: /DownloadFileJSP
DeploymentState: 2 //备注:这里是指布署包运行的状态,见下面说明。
JSPDebug: false
JSPPageCheckSecs: 1
Parent: DownloadFileJSP.war
ServletReloadCheckSecs: 1
Servlets: JspServlet,FileServlet,WebServiceServlet
Status: DEPLOYED

############################################################################ 打开weblogic.jar\weblogic\deployment\DeploymentState.class

package weblogic.deployment;
public final class DeploymentState
{
public static final int UNPREPARED = 0;
public static final int PREPARED = 1;
public static final int ACTIVATED = 2;
public static final int NEW = 3;
public static final int UPDATE_PENDING = 4;
}

本文标签:
网站声明:本文由风哥整理发布,转载请保留此段声明,本站所有内容将不对其使用后果做任何承诺,请读者谨慎使用!
【上一篇】
【下一篇】