public class org.apache.catalina.manager.ManagerServlet extends jakarta.servlet.http.HttpServlet implements org.apache.catalina.ContainerServlet
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.apache.catalina.manager.ManagerServlet
super_class: jakarta.servlet.http.HttpServlet
{
private static final long serialVersionUID;
descriptor: J
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 1
protected java.io.File configBase;
descriptor: Ljava/io/File;
flags: (0x0004) ACC_PROTECTED
protected transient org.apache.catalina.Context context;
descriptor: Lorg/apache/catalina/Context;
flags: (0x0084) ACC_PROTECTED, ACC_TRANSIENT
protected int debug;
descriptor: I
flags: (0x0004) ACC_PROTECTED
protected java.io.File versioned;
descriptor: Ljava/io/File;
flags: (0x0004) ACC_PROTECTED
protected transient org.apache.catalina.Host host;
descriptor: Lorg/apache/catalina/Host;
flags: (0x0084) ACC_PROTECTED, ACC_TRANSIENT
protected transient javax.management.MBeanServer mBeanServer;
descriptor: Ljavax/management/MBeanServer;
flags: (0x0084) ACC_PROTECTED, ACC_TRANSIENT
protected javax.management.ObjectName oname;
descriptor: Ljavax/management/ObjectName;
flags: (0x0004) ACC_PROTECTED
protected transient javax.naming.Context global;
descriptor: Ljavax/naming/Context;
flags: (0x0084) ACC_PROTECTED, ACC_TRANSIENT
protected static final org.apache.tomcat.util.res.StringManager sm;
descriptor: Lorg/apache/tomcat/util/res/StringManager;
flags: (0x001c) ACC_PROTECTED, ACC_STATIC, ACC_FINAL
protected transient org.apache.catalina.Wrapper wrapper;
descriptor: Lorg/apache/catalina/Wrapper;
flags: (0x0084) ACC_PROTECTED, ACC_TRANSIENT
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc "org.apache.catalina.manager"
invokestatic org.apache.tomcat.util.res.StringManager.getManager:(Ljava/lang/String;)Lorg/apache/tomcat/util/res/StringManager;
1: putstatic org.apache.catalina.manager.ManagerServlet.sm:Lorg/apache/tomcat/util/res/StringManager;
2: return
LocalVariableTable:
Start End Slot Name Signature
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokespecial jakarta.servlet.http.HttpServlet.<init>:()V
1: aload 0
aconst_null
putfield org.apache.catalina.manager.ManagerServlet.configBase:Ljava/io/File;
2: aload 0
aconst_null
putfield org.apache.catalina.manager.ManagerServlet.context:Lorg/apache/catalina/Context;
3: aload 0
iconst_1
putfield org.apache.catalina.manager.ManagerServlet.debug:I
4: aload 0
aconst_null
putfield org.apache.catalina.manager.ManagerServlet.versioned:Ljava/io/File;
5: aload 0
aconst_null
putfield org.apache.catalina.manager.ManagerServlet.host:Lorg/apache/catalina/Host;
6: aload 0
aconst_null
putfield org.apache.catalina.manager.ManagerServlet.mBeanServer:Ljavax/management/MBeanServer;
7: aload 0
aconst_null
putfield org.apache.catalina.manager.ManagerServlet.oname:Ljavax/management/ObjectName;
8: aload 0
aconst_null
putfield org.apache.catalina.manager.ManagerServlet.global:Ljavax/naming/Context;
9: aload 0
aconst_null
putfield org.apache.catalina.manager.ManagerServlet.wrapper:Lorg/apache/catalina/Wrapper;
10: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lorg/apache/catalina/manager/ManagerServlet;
public org.apache.catalina.Wrapper getWrapper();
descriptor: ()Lorg/apache/catalina/Wrapper;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.catalina.manager.ManagerServlet.wrapper:Lorg/apache/catalina/Wrapper;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/catalina/manager/ManagerServlet;
public void setWrapper(org.apache.catalina.Wrapper);
descriptor: (Lorg/apache/catalina/Wrapper;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=5, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield org.apache.catalina.manager.ManagerServlet.wrapper:Lorg/apache/catalina/Wrapper;
1: aload 1
ifnonnull 6
2: aload 0
aconst_null
putfield org.apache.catalina.manager.ManagerServlet.context:Lorg/apache/catalina/Context;
3: aload 0
aconst_null
putfield org.apache.catalina.manager.ManagerServlet.host:Lorg/apache/catalina/Host;
4: aload 0
aconst_null
putfield org.apache.catalina.manager.ManagerServlet.oname:Ljavax/management/ObjectName;
5: goto 16
6: StackMap locals:
StackMap stack:
aload 0
aload 1
invokeinterface org.apache.catalina.Wrapper.getParent:()Lorg/apache/catalina/Container;
checkcast org.apache.catalina.Context
putfield org.apache.catalina.manager.ManagerServlet.context:Lorg/apache/catalina/Context;
7: aload 0
aload 0
getfield org.apache.catalina.manager.ManagerServlet.context:Lorg/apache/catalina/Context;
invokeinterface org.apache.catalina.Context.getParent:()Lorg/apache/catalina/Container;
checkcast org.apache.catalina.Host
putfield org.apache.catalina.manager.ManagerServlet.host:Lorg/apache/catalina/Host;
8: aload 0
getfield org.apache.catalina.manager.ManagerServlet.host:Lorg/apache/catalina/Host;
invokeinterface org.apache.catalina.Host.getParent:()Lorg/apache/catalina/Container;
checkcast org.apache.catalina.Engine
astore 2
start local 2 9: new java.lang.StringBuilder
dup
aload 2
invokeinterface org.apache.catalina.Engine.getName:()Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc ":type=Deployer,host="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
10: aload 0
getfield org.apache.catalina.manager.ManagerServlet.host:Lorg/apache/catalina/Host;
invokeinterface org.apache.catalina.Host.getName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
11: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 3
start local 3 12: aload 0
new javax.management.ObjectName
dup
aload 3
invokespecial javax.management.ObjectName.<init>:(Ljava/lang/String;)V
putfield org.apache.catalina.manager.ManagerServlet.oname:Ljavax/management/ObjectName;
13: goto 16
StackMap locals: org.apache.catalina.manager.ManagerServlet org.apache.catalina.Wrapper org.apache.catalina.Engine java.lang.String
StackMap stack: java.lang.Exception
14: astore 4
start local 4 15: aload 0
getstatic org.apache.catalina.manager.ManagerServlet.sm:Lorg/apache/tomcat/util/res/StringManager;
ldc "managerServlet.objectNameFail"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 3
aastore
invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
aload 4
invokevirtual org.apache.catalina.manager.ManagerServlet.log:(Ljava/lang/String;Ljava/lang/Throwable;)V
end local 4 end local 3 end local 2 16: StackMap locals:
StackMap stack:
aload 0
aconst_null
aconst_null
invokestatic org.apache.tomcat.util.modeler.Registry.getRegistry:(Ljava/lang/Object;Ljava/lang/Object;)Lorg/apache/tomcat/util/modeler/Registry;
invokevirtual org.apache.tomcat.util.modeler.Registry.getMBeanServer:()Ljavax/management/MBeanServer;
putfield org.apache.catalina.manager.ManagerServlet.mBeanServer:Ljavax/management/MBeanServer;
17: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 18 0 this Lorg/apache/catalina/manager/ManagerServlet;
0 18 1 wrapper Lorg/apache/catalina/Wrapper;
9 16 2 engine Lorg/apache/catalina/Engine;
12 16 3 name Ljava/lang/String;
15 16 4 e Ljava/lang/Exception;
Exception table:
from to target type
12 13 14 Class java.lang.Exception
MethodParameters:
Name Flags
wrapper
public void destroy();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=0, locals=1, args_size=1
start local 0 0: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/catalina/manager/ManagerServlet;
public void doGet(jakarta.servlet.http.HttpServletRequest, jakarta.servlet.http.HttpServletResponse);
descriptor: (Ljakarta/servlet/http/HttpServletRequest;Ljakarta/servlet/http/HttpServletResponse;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=15, args_size=3
start local 0 start local 1 start local 2 0: ldc "org.apache.catalina.manager"
aload 1
invokeinterface jakarta.servlet.http.HttpServletRequest.getLocales:()Ljava/util/Enumeration;
1: invokestatic org.apache.tomcat.util.res.StringManager.getManager:(Ljava/lang/String;Ljava/util/Enumeration;)Lorg/apache/tomcat/util/res/StringManager;
astore 3
start local 3 2: aload 1
invokeinterface jakarta.servlet.http.HttpServletRequest.getPathInfo:()Ljava/lang/String;
astore 4
start local 4 3: aload 4
ifnonnull 5
4: aload 1
invokeinterface jakarta.servlet.http.HttpServletRequest.getServletPath:()Ljava/lang/String;
astore 4
5: StackMap locals: org.apache.tomcat.util.res.StringManager java.lang.String
StackMap stack:
aload 1
ldc "path"
invokeinterface jakarta.servlet.http.HttpServletRequest.getParameter:(Ljava/lang/String;)Ljava/lang/String;
astore 5
start local 5 6: aload 1
ldc "war"
invokeinterface jakarta.servlet.http.HttpServletRequest.getParameter:(Ljava/lang/String;)Ljava/lang/String;
astore 6
start local 6 7: aload 1
ldc "config"
invokeinterface jakarta.servlet.http.HttpServletRequest.getParameter:(Ljava/lang/String;)Ljava/lang/String;
astore 7
start local 7 8: aconst_null
astore 8
start local 8 9: aload 5
ifnull 12
10: new org.apache.catalina.util.ContextName
dup
aload 5
aload 1
ldc "version"
invokeinterface jakarta.servlet.http.HttpServletRequest.getParameter:(Ljava/lang/String;)Ljava/lang/String;
invokespecial org.apache.catalina.util.ContextName.<init>:(Ljava/lang/String;Ljava/lang/String;)V
astore 8
11: goto 17
StackMap locals: org.apache.catalina.manager.ManagerServlet jakarta.servlet.http.HttpServletRequest jakarta.servlet.http.HttpServletResponse org.apache.tomcat.util.res.StringManager java.lang.String java.lang.String java.lang.String java.lang.String org.apache.catalina.util.ContextName
StackMap stack:
12: aload 7
ifnull 15
13: aload 7
invokestatic org.apache.catalina.util.ContextName.extractFromPath:(Ljava/lang/String;)Lorg/apache/catalina/util/ContextName;
astore 8
14: goto 17
StackMap locals:
StackMap stack:
15: aload 6
ifnull 17
16: aload 6
invokestatic org.apache.catalina.util.ContextName.extractFromPath:(Ljava/lang/String;)Lorg/apache/catalina/util/ContextName;
astore 8
17: StackMap locals:
StackMap stack:
aload 1
ldc "type"
invokeinterface jakarta.servlet.http.HttpServletRequest.getParameter:(Ljava/lang/String;)Ljava/lang/String;
astore 9
start local 9 18: aload 1
ldc "tag"
invokeinterface jakarta.servlet.http.HttpServletRequest.getParameter:(Ljava/lang/String;)Ljava/lang/String;
astore 10
start local 10 19: iconst_0
istore 11
start local 11 20: aload 1
ldc "update"
invokeinterface jakarta.servlet.http.HttpServletRequest.getParameter:(Ljava/lang/String;)Ljava/lang/String;
ifnull 23
21: aload 1
ldc "update"
invokeinterface jakarta.servlet.http.HttpServletRequest.getParameter:(Ljava/lang/String;)Ljava/lang/String;
ldc "true"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 23
22: iconst_1
istore 11
23: StackMap locals: java.lang.String java.lang.String int
StackMap stack:
aload 1
ldc "tlsHostName"
invokeinterface jakarta.servlet.http.HttpServletRequest.getParameter:(Ljava/lang/String;)Ljava/lang/String;
astore 12
start local 12 24: iconst_0
istore 13
start local 13 25: ldc "true"
aload 1
ldc "statusLine"
invokeinterface jakarta.servlet.http.HttpServletRequest.getParameter:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 27
26: iconst_1
istore 13
27: StackMap locals: java.lang.String int
StackMap stack:
aload 2
ldc "text/plain; charset=utf-8"
invokeinterface jakarta.servlet.http.HttpServletResponse.setContentType:(Ljava/lang/String;)V
28: aload 2
ldc "X-Content-Type-Options"
ldc "nosniff"
invokeinterface jakarta.servlet.http.HttpServletResponse.setHeader:(Ljava/lang/String;Ljava/lang/String;)V
29: aload 2
invokeinterface jakarta.servlet.http.HttpServletResponse.getWriter:()Ljava/io/PrintWriter;
astore 14
start local 14 30: aload 4
ifnonnull 33
31: aload 14
aload 3
ldc "managerServlet.noCommand"
invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.io.PrintWriter.println:(Ljava/lang/String;)V
32: goto 98
StackMap locals: java.io.PrintWriter
StackMap stack:
33: aload 4
ldc "/deploy"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 44
34: aload 6
ifnonnull 35
aload 7
ifnull 37
35: StackMap locals:
StackMap stack:
aload 0
aload 14
aload 7
aload 8
aload 6
iload 11
aload 3
invokevirtual org.apache.catalina.manager.ManagerServlet.deploy:(Ljava/io/PrintWriter;Ljava/lang/String;Lorg/apache/catalina/util/ContextName;Ljava/lang/String;ZLorg/apache/tomcat/util/res/StringManager;)V
36: goto 98
StackMap locals:
StackMap stack:
37: aload 10
ifnull 40
38: aload 0
aload 14
aload 8
aload 10
aload 3
invokevirtual org.apache.catalina.manager.ManagerServlet.deploy:(Ljava/io/PrintWriter;Lorg/apache/catalina/util/ContextName;Ljava/lang/String;Lorg/apache/tomcat/util/res/StringManager;)V
39: goto 98
40: StackMap locals:
StackMap stack:
aload 14
aload 3
41: ldc "managerServlet.invalidCommand"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 4
aastore
42: invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokevirtual java.io.PrintWriter.println:(Ljava/lang/String;)V
43: goto 98
StackMap locals:
StackMap stack:
44: aload 4
ldc "/list"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 47
45: aload 0
aload 14
aload 3
invokevirtual org.apache.catalina.manager.ManagerServlet.list:(Ljava/io/PrintWriter;Lorg/apache/tomcat/util/res/StringManager;)V
46: goto 98
StackMap locals:
StackMap stack:
47: aload 4
ldc "/reload"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 50
48: aload 0
aload 14
aload 8
aload 3
invokevirtual org.apache.catalina.manager.ManagerServlet.reload:(Ljava/io/PrintWriter;Lorg/apache/catalina/util/ContextName;Lorg/apache/tomcat/util/res/StringManager;)V
49: goto 98
StackMap locals:
StackMap stack:
50: aload 4
ldc "/resources"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 53
51: aload 0
aload 14
aload 9
aload 3
invokevirtual org.apache.catalina.manager.ManagerServlet.resources:(Ljava/io/PrintWriter;Ljava/lang/String;Lorg/apache/tomcat/util/res/StringManager;)V
52: goto 98
StackMap locals:
StackMap stack:
53: aload 4
ldc "/save"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 56
54: aload 0
aload 14
aload 5
aload 3
invokevirtual org.apache.catalina.manager.ManagerServlet.save:(Ljava/io/PrintWriter;Ljava/lang/String;Lorg/apache/tomcat/util/res/StringManager;)V
55: goto 98
StackMap locals:
StackMap stack:
56: aload 4
ldc "/serverinfo"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 59
57: aload 0
aload 14
aload 3
invokevirtual org.apache.catalina.manager.ManagerServlet.serverinfo:(Ljava/io/PrintWriter;Lorg/apache/tomcat/util/res/StringManager;)V
58: goto 98
StackMap locals:
StackMap stack:
59: aload 4
ldc "/sessions"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 62
60: aload 0
aload 14
aload 8
aload 1
aload 3
invokevirtual org.apache.catalina.manager.ManagerServlet.expireSessions:(Ljava/io/PrintWriter;Lorg/apache/catalina/util/ContextName;Ljakarta/servlet/http/HttpServletRequest;Lorg/apache/tomcat/util/res/StringManager;)V
61: goto 98
StackMap locals:
StackMap stack:
62: aload 4
ldc "/expire"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 65
63: aload 0
aload 14
aload 8
aload 1
aload 3
invokevirtual org.apache.catalina.manager.ManagerServlet.expireSessions:(Ljava/io/PrintWriter;Lorg/apache/catalina/util/ContextName;Ljakarta/servlet/http/HttpServletRequest;Lorg/apache/tomcat/util/res/StringManager;)V
64: goto 98
StackMap locals:
StackMap stack:
65: aload 4
ldc "/start"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 68
66: aload 0
aload 14
aload 8
aload 3
invokevirtual org.apache.catalina.manager.ManagerServlet.start:(Ljava/io/PrintWriter;Lorg/apache/catalina/util/ContextName;Lorg/apache/tomcat/util/res/StringManager;)V
67: goto 98
StackMap locals:
StackMap stack:
68: aload 4
ldc "/stop"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 71
69: aload 0
aload 14
aload 8
aload 3
invokevirtual org.apache.catalina.manager.ManagerServlet.stop:(Ljava/io/PrintWriter;Lorg/apache/catalina/util/ContextName;Lorg/apache/tomcat/util/res/StringManager;)V
70: goto 98
StackMap locals:
StackMap stack:
71: aload 4
ldc "/undeploy"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 74
72: aload 0
aload 14
aload 8
aload 3
invokevirtual org.apache.catalina.manager.ManagerServlet.undeploy:(Ljava/io/PrintWriter;Lorg/apache/catalina/util/ContextName;Lorg/apache/tomcat/util/res/StringManager;)V
73: goto 98
StackMap locals:
StackMap stack:
74: aload 4
ldc "/findleaks"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 77
75: aload 0
iload 13
aload 14
aload 3
invokevirtual org.apache.catalina.manager.ManagerServlet.findleaks:(ZLjava/io/PrintWriter;Lorg/apache/tomcat/util/res/StringManager;)V
76: goto 98
StackMap locals:
StackMap stack:
77: aload 4
ldc "/vminfo"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 80
78: aload 0
aload 14
aload 3
aload 1
invokeinterface jakarta.servlet.http.HttpServletRequest.getLocales:()Ljava/util/Enumeration;
invokevirtual org.apache.catalina.manager.ManagerServlet.vmInfo:(Ljava/io/PrintWriter;Lorg/apache/tomcat/util/res/StringManager;Ljava/util/Enumeration;)V
79: goto 98
StackMap locals:
StackMap stack:
80: aload 4
ldc "/threaddump"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 83
81: aload 0
aload 14
aload 3
aload 1
invokeinterface jakarta.servlet.http.HttpServletRequest.getLocales:()Ljava/util/Enumeration;
invokevirtual org.apache.catalina.manager.ManagerServlet.threadDump:(Ljava/io/PrintWriter;Lorg/apache/tomcat/util/res/StringManager;Ljava/util/Enumeration;)V
82: goto 98
StackMap locals:
StackMap stack:
83: aload 4
ldc "/sslConnectorCiphers"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 86
84: aload 0
aload 14
aload 3
invokevirtual org.apache.catalina.manager.ManagerServlet.sslConnectorCiphers:(Ljava/io/PrintWriter;Lorg/apache/tomcat/util/res/StringManager;)V
85: goto 98
StackMap locals:
StackMap stack:
86: aload 4
ldc "/sslConnectorCerts"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 89
87: aload 0
aload 14
aload 3
invokevirtual org.apache.catalina.manager.ManagerServlet.sslConnectorCerts:(Ljava/io/PrintWriter;Lorg/apache/tomcat/util/res/StringManager;)V
88: goto 98
StackMap locals:
StackMap stack:
89: aload 4
ldc "/sslConnectorTrustedCerts"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 92
90: aload 0
aload 14
aload 3
invokevirtual org.apache.catalina.manager.ManagerServlet.sslConnectorTrustedCerts:(Ljava/io/PrintWriter;Lorg/apache/tomcat/util/res/StringManager;)V
91: goto 98
StackMap locals:
StackMap stack:
92: aload 4
ldc "/sslReload"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 95
93: aload 0
aload 14
aload 12
aload 3
invokevirtual org.apache.catalina.manager.ManagerServlet.sslReload:(Ljava/io/PrintWriter;Ljava/lang/String;Lorg/apache/tomcat/util/res/StringManager;)V
94: goto 98
95: StackMap locals:
StackMap stack:
aload 14
aload 3
ldc "managerServlet.unknownCommand"
iconst_1
anewarray java.lang.Object
dup
iconst_0
96: aload 4
aastore
97: invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokevirtual java.io.PrintWriter.println:(Ljava/lang/String;)V
98: StackMap locals:
StackMap stack:
aload 14
invokevirtual java.io.PrintWriter.flush:()V
99: aload 14
invokevirtual java.io.PrintWriter.close:()V
100: return
end local 14 end local 13 end local 12 end local 11 end local 10 end local 9 end local 8 end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 101 0 this Lorg/apache/catalina/manager/ManagerServlet;
0 101 1 request Ljakarta/servlet/http/HttpServletRequest;
0 101 2 response Ljakarta/servlet/http/HttpServletResponse;
2 101 3 smClient Lorg/apache/tomcat/util/res/StringManager;
3 101 4 command Ljava/lang/String;
6 101 5 path Ljava/lang/String;
7 101 6 war Ljava/lang/String;
8 101 7 config Ljava/lang/String;
9 101 8 cn Lorg/apache/catalina/util/ContextName;
18 101 9 type Ljava/lang/String;
19 101 10 tag Ljava/lang/String;
20 101 11 update Z
24 101 12 tlsHostName Ljava/lang/String;
25 101 13 statusLine Z
30 101 14 writer Ljava/io/PrintWriter;
Exceptions:
throws java.io.IOException, jakarta.servlet.ServletException
MethodParameters:
Name Flags
request
response
public void doPut(jakarta.servlet.http.HttpServletRequest, jakarta.servlet.http.HttpServletResponse);
descriptor: (Ljakarta/servlet/http/HttpServletRequest;Ljakarta/servlet/http/HttpServletResponse;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=8, locals=11, args_size=3
start local 0 start local 1 start local 2 0: ldc "org.apache.catalina.manager"
aload 1
invokeinterface jakarta.servlet.http.HttpServletRequest.getLocales:()Ljava/util/Enumeration;
1: invokestatic org.apache.tomcat.util.res.StringManager.getManager:(Ljava/lang/String;Ljava/util/Enumeration;)Lorg/apache/tomcat/util/res/StringManager;
astore 3
start local 3 2: aload 1
invokeinterface jakarta.servlet.http.HttpServletRequest.getPathInfo:()Ljava/lang/String;
astore 4
start local 4 3: aload 4
ifnonnull 5
4: aload 1
invokeinterface jakarta.servlet.http.HttpServletRequest.getServletPath:()Ljava/lang/String;
astore 4
5: StackMap locals: org.apache.tomcat.util.res.StringManager java.lang.String
StackMap stack:
aload 1
ldc "path"
invokeinterface jakarta.servlet.http.HttpServletRequest.getParameter:(Ljava/lang/String;)Ljava/lang/String;
astore 5
start local 5 6: aconst_null
astore 6
start local 6 7: aload 5
ifnull 9
8: new org.apache.catalina.util.ContextName
dup
aload 5
aload 1
ldc "version"
invokeinterface jakarta.servlet.http.HttpServletRequest.getParameter:(Ljava/lang/String;)Ljava/lang/String;
invokespecial org.apache.catalina.util.ContextName.<init>:(Ljava/lang/String;Ljava/lang/String;)V
astore 6
9: StackMap locals: java.lang.String org.apache.catalina.util.ContextName
StackMap stack:
aload 1
ldc "config"
invokeinterface jakarta.servlet.http.HttpServletRequest.getParameter:(Ljava/lang/String;)Ljava/lang/String;
astore 7
start local 7 10: aload 1
ldc "tag"
invokeinterface jakarta.servlet.http.HttpServletRequest.getParameter:(Ljava/lang/String;)Ljava/lang/String;
astore 8
start local 8 11: iconst_0
istore 9
start local 9 12: aload 1
ldc "update"
invokeinterface jakarta.servlet.http.HttpServletRequest.getParameter:(Ljava/lang/String;)Ljava/lang/String;
ifnull 15
13: aload 1
ldc "update"
invokeinterface jakarta.servlet.http.HttpServletRequest.getParameter:(Ljava/lang/String;)Ljava/lang/String;
ldc "true"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 15
14: iconst_1
istore 9
15: StackMap locals: java.lang.String java.lang.String int
StackMap stack:
aload 2
ldc "text/plain;charset=utf-8"
invokeinterface jakarta.servlet.http.HttpServletResponse.setContentType:(Ljava/lang/String;)V
16: aload 2
ldc "X-Content-Type-Options"
ldc "nosniff"
invokeinterface jakarta.servlet.http.HttpServletResponse.setHeader:(Ljava/lang/String;Ljava/lang/String;)V
17: aload 2
invokeinterface jakarta.servlet.http.HttpServletResponse.getWriter:()Ljava/io/PrintWriter;
astore 10
start local 10 18: aload 4
ifnonnull 21
19: aload 10
aload 3
ldc "managerServlet.noCommand"
invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.io.PrintWriter.println:(Ljava/lang/String;)V
20: goto 27
StackMap locals: java.io.PrintWriter
StackMap stack:
21: aload 4
ldc "/deploy"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 24
22: aload 0
aload 10
aload 7
aload 6
aload 8
iload 9
aload 1
aload 3
invokevirtual org.apache.catalina.manager.ManagerServlet.deploy:(Ljava/io/PrintWriter;Ljava/lang/String;Lorg/apache/catalina/util/ContextName;Ljava/lang/String;ZLjakarta/servlet/http/HttpServletRequest;Lorg/apache/tomcat/util/res/StringManager;)V
23: goto 27
24: StackMap locals:
StackMap stack:
aload 10
aload 3
ldc "managerServlet.unknownCommand"
iconst_1
anewarray java.lang.Object
dup
iconst_0
25: aload 4
aastore
26: invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokevirtual java.io.PrintWriter.println:(Ljava/lang/String;)V
27: StackMap locals:
StackMap stack:
aload 10
invokevirtual java.io.PrintWriter.flush:()V
28: aload 10
invokevirtual java.io.PrintWriter.close:()V
29: return
end local 10 end local 9 end local 8 end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 30 0 this Lorg/apache/catalina/manager/ManagerServlet;
0 30 1 request Ljakarta/servlet/http/HttpServletRequest;
0 30 2 response Ljakarta/servlet/http/HttpServletResponse;
2 30 3 smClient Lorg/apache/tomcat/util/res/StringManager;
3 30 4 command Ljava/lang/String;
6 30 5 path Ljava/lang/String;
7 30 6 cn Lorg/apache/catalina/util/ContextName;
10 30 7 config Ljava/lang/String;
11 30 8 tag Ljava/lang/String;
12 30 9 update Z
18 30 10 writer Ljava/io/PrintWriter;
Exceptions:
throws java.io.IOException, jakarta.servlet.ServletException
MethodParameters:
Name Flags
request
response
public void init();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=6, args_size=1
start local 0 0: aload 0
getfield org.apache.catalina.manager.ManagerServlet.wrapper:Lorg/apache/catalina/Wrapper;
ifnull 1
aload 0
getfield org.apache.catalina.manager.ManagerServlet.context:Lorg/apache/catalina/Context;
ifnonnull 4
1: StackMap locals:
StackMap stack:
new jakarta.servlet.UnavailableException
dup
2: getstatic org.apache.catalina.manager.ManagerServlet.sm:Lorg/apache/tomcat/util/res/StringManager;
ldc "managerServlet.noWrapper"
invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;)Ljava/lang/String;
3: invokespecial jakarta.servlet.UnavailableException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
aconst_null
astore 1
start local 1 5: aload 0
invokevirtual org.apache.catalina.manager.ManagerServlet.getServletConfig:()Ljakarta/servlet/ServletConfig;
ldc "debug"
invokeinterface jakarta.servlet.ServletConfig.getInitParameter:(Ljava/lang/String;)Ljava/lang/String;
astore 1
6: aload 0
aload 1
invokestatic java.lang.Integer.parseInt:(Ljava/lang/String;)I
putfield org.apache.catalina.manager.ManagerServlet.debug:I
7: goto 10
StackMap locals: org.apache.catalina.manager.ManagerServlet java.lang.String
StackMap stack: java.lang.Throwable
8: astore 2
start local 2 9: aload 2
invokestatic org.apache.tomcat.util.ExceptionUtils.handleThrowable:(Ljava/lang/Throwable;)V
end local 2 10: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.catalina.manager.ManagerServlet.host:Lorg/apache/catalina/Host;
invokeinterface org.apache.catalina.Host.getParent:()Lorg/apache/catalina/Container;
checkcast org.apache.catalina.Engine
invokeinterface org.apache.catalina.Engine.getService:()Lorg/apache/catalina/Service;
invokeinterface org.apache.catalina.Service.getServer:()Lorg/apache/catalina/Server;
astore 2
start local 2 11: aload 2
ifnull 13
12: aload 0
aload 2
invokeinterface org.apache.catalina.Server.getGlobalNamingContext:()Ljavax/naming/Context;
putfield org.apache.catalina.manager.ManagerServlet.global:Ljavax/naming/Context;
13: StackMap locals: org.apache.catalina.Server
StackMap stack:
aload 0
aload 0
invokevirtual org.apache.catalina.manager.ManagerServlet.getServletContext:()Ljakarta/servlet/ServletContext;
14: ldc "jakarta.servlet.context.tempdir"
15: invokeinterface jakarta.servlet.ServletContext.getAttribute:(Ljava/lang/String;)Ljava/lang/Object;
checkcast java.io.File
putfield org.apache.catalina.manager.ManagerServlet.versioned:Ljava/io/File;
16: aload 0
new java.io.File
dup
aload 0
getfield org.apache.catalina.manager.ManagerServlet.context:Lorg/apache/catalina/Context;
invokeinterface org.apache.catalina.Context.getCatalinaBase:()Ljava/io/File;
ldc "conf"
invokespecial java.io.File.<init>:(Ljava/io/File;Ljava/lang/String;)V
putfield org.apache.catalina.manager.ManagerServlet.configBase:Ljava/io/File;
17: aload 0
getfield org.apache.catalina.manager.ManagerServlet.context:Lorg/apache/catalina/Context;
astore 3
start local 3 18: aconst_null
astore 4
start local 4 19: aconst_null
astore 5
start local 5 20: goto 26
21: StackMap locals: org.apache.catalina.Container org.apache.catalina.Container org.apache.catalina.Container
StackMap stack:
aload 3
instanceof org.apache.catalina.Host
ifeq 23
22: aload 3
astore 4
23: StackMap locals:
StackMap stack:
aload 3
instanceof org.apache.catalina.Engine
ifeq 25
24: aload 3
astore 5
25: StackMap locals:
StackMap stack:
aload 3
invokeinterface org.apache.catalina.Container.getParent:()Lorg/apache/catalina/Container;
astore 3
26: StackMap locals:
StackMap stack:
aload 3
ifnonnull 21
27: aload 5
ifnull 29
28: aload 0
new java.io.File
dup
aload 0
getfield org.apache.catalina.manager.ManagerServlet.configBase:Ljava/io/File;
aload 5
invokeinterface org.apache.catalina.Container.getName:()Ljava/lang/String;
invokespecial java.io.File.<init>:(Ljava/io/File;Ljava/lang/String;)V
putfield org.apache.catalina.manager.ManagerServlet.configBase:Ljava/io/File;
29: StackMap locals:
StackMap stack:
aload 4
ifnull 31
30: aload 0
new java.io.File
dup
aload 0
getfield org.apache.catalina.manager.ManagerServlet.configBase:Ljava/io/File;
aload 4
invokeinterface org.apache.catalina.Container.getName:()Ljava/lang/String;
invokespecial java.io.File.<init>:(Ljava/io/File;Ljava/lang/String;)V
putfield org.apache.catalina.manager.ManagerServlet.configBase:Ljava/io/File;
31: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.catalina.manager.ManagerServlet.debug:I
iconst_1
if_icmplt 37
32: aload 0
new java.lang.StringBuilder
dup
ldc "init: Associated with Deployer '"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
33: aload 0
getfield org.apache.catalina.manager.ManagerServlet.oname:Ljavax/management/ObjectName;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc "'"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
34: invokevirtual org.apache.catalina.manager.ManagerServlet.log:(Ljava/lang/String;)V
35: aload 0
getfield org.apache.catalina.manager.ManagerServlet.global:Ljavax/naming/Context;
ifnull 37
36: aload 0
ldc "init: Global resources are available"
invokevirtual org.apache.catalina.manager.ManagerServlet.log:(Ljava/lang/String;)V
37: StackMap locals:
StackMap stack:
return
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 38 0 this Lorg/apache/catalina/manager/ManagerServlet;
5 38 1 value Ljava/lang/String;
9 10 2 t Ljava/lang/Throwable;
11 38 2 server Lorg/apache/catalina/Server;
18 38 3 container Lorg/apache/catalina/Container;
19 38 4 host Lorg/apache/catalina/Container;
20 38 5 engine Lorg/apache/catalina/Container;
Exception table:
from to target type
5 7 8 Class java.lang.Throwable
Exceptions:
throws jakarta.servlet.ServletException
protected void findleaks(boolean, java.io.PrintWriter, org.apache.tomcat.util.res.StringManager);
descriptor: (ZLjava/io/PrintWriter;Lorg/apache/tomcat/util/res/StringManager;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=9, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getfield org.apache.catalina.manager.ManagerServlet.host:Lorg/apache/catalina/Host;
instanceof org.apache.catalina.core.StandardHost
ifne 3
1: aload 2
aload 3
ldc "managerServlet.findleaksFail"
invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.io.PrintWriter.println:(Ljava/lang/String;)V
2: return
3: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.catalina.manager.ManagerServlet.host:Lorg/apache/catalina/Host;
checkcast org.apache.catalina.core.StandardHost
invokevirtual org.apache.catalina.core.StandardHost.findReloadedContextMemoryLeaks:()[Ljava/lang/String;
4: astore 4
start local 4 5: aload 4
arraylength
ifle 18
6: iload 1
ifeq 10
7: aload 2
8: aload 3
ldc "managerServlet.findleaksList"
invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;)Ljava/lang/String;
9: invokevirtual java.io.PrintWriter.println:(Ljava/lang/String;)V
10: StackMap locals: java.lang.String[]
StackMap stack:
aload 4
dup
astore 8
arraylength
istore 7
iconst_0
istore 6
goto 16
StackMap locals: org.apache.catalina.manager.ManagerServlet int java.io.PrintWriter org.apache.tomcat.util.res.StringManager java.lang.String[] top int int java.lang.String[]
StackMap stack:
11: aload 8
iload 6
aaload
astore 5
start local 5 12: aload 5
invokevirtual java.lang.String.isEmpty:()Z
ifeq 14
13: ldc "/"
astore 5
14: StackMap locals: org.apache.catalina.manager.ManagerServlet int java.io.PrintWriter org.apache.tomcat.util.res.StringManager java.lang.String[] java.lang.String int int java.lang.String[]
StackMap stack:
aload 2
aload 5
invokevirtual java.io.PrintWriter.println:(Ljava/lang/String;)V
end local 5 15: iinc 6 1
StackMap locals: org.apache.catalina.manager.ManagerServlet int java.io.PrintWriter org.apache.tomcat.util.res.StringManager java.lang.String[] top int int java.lang.String[]
StackMap stack:
16: iload 6
iload 7
if_icmplt 11
17: goto 20
StackMap locals: org.apache.catalina.manager.ManagerServlet int java.io.PrintWriter org.apache.tomcat.util.res.StringManager java.lang.String[]
StackMap stack:
18: iload 1
ifeq 20
19: aload 2
aload 3
ldc "managerServlet.findleaksNone"
invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.io.PrintWriter.println:(Ljava/lang/String;)V
20: StackMap locals:
StackMap stack:
return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 21 0 this Lorg/apache/catalina/manager/ManagerServlet;
0 21 1 statusLine Z
0 21 2 writer Ljava/io/PrintWriter;
0 21 3 smClient Lorg/apache/tomcat/util/res/StringManager;
5 21 4 results [Ljava/lang/String;
12 15 5 result Ljava/lang/String;
MethodParameters:
Name Flags
statusLine
writer
smClient
protected void sslReload(java.io.PrintWriter, java.lang.String, org.apache.tomcat.util.res.StringManager);
descriptor: (Ljava/io/PrintWriter;Ljava/lang/String;Lorg/apache/tomcat/util/res/StringManager;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=7, locals=17, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokevirtual org.apache.catalina.manager.ManagerServlet.getConnectors:()[Lorg/apache/catalina/connector/Connector;
astore 4
start local 4 1: iconst_0
istore 5
start local 5 2: aload 4
dup
astore 9
arraylength
istore 8
iconst_0
istore 7
goto 21
StackMap locals: org.apache.catalina.manager.ManagerServlet java.io.PrintWriter java.lang.String org.apache.tomcat.util.res.StringManager org.apache.catalina.connector.Connector[] int top int int org.apache.catalina.connector.Connector[]
StackMap stack:
3: aload 9
iload 7
aaload
astore 6
start local 6 4: getstatic java.lang.Boolean.TRUE:Ljava/lang/Boolean;
aload 6
ldc "SSLEnabled"
invokevirtual org.apache.catalina.connector.Connector.getProperty:(Ljava/lang/String;)Ljava/lang/Object;
invokevirtual java.lang.Boolean.equals:(Ljava/lang/Object;)Z
ifeq 20
5: aload 6
invokevirtual org.apache.catalina.connector.Connector.getProtocolHandler:()Lorg/apache/coyote/ProtocolHandler;
astore 10
start local 10 6: aload 10
instanceof org.apache.coyote.http11.AbstractHttp11Protocol
ifeq 20
7: aload 10
checkcast org.apache.coyote.http11.AbstractHttp11Protocol
astore 11
start local 11 8: aload 2
ifnull 9
aload 2
invokevirtual java.lang.String.length:()I
ifne 12
9: StackMap locals: org.apache.catalina.manager.ManagerServlet java.io.PrintWriter java.lang.String org.apache.tomcat.util.res.StringManager org.apache.catalina.connector.Connector[] int org.apache.catalina.connector.Connector int int org.apache.catalina.connector.Connector[] org.apache.coyote.ProtocolHandler org.apache.coyote.http11.AbstractHttp11Protocol
StackMap stack:
iconst_1
istore 5
10: aload 11
invokevirtual org.apache.coyote.http11.AbstractHttp11Protocol.reloadSslHostConfigs:()V
11: goto 20
12: StackMap locals:
StackMap stack:
aload 11
invokevirtual org.apache.coyote.http11.AbstractHttp11Protocol.findSslHostConfigs:()[Lorg/apache/tomcat/util/net/SSLHostConfig;
astore 12
start local 12 13: aload 12
dup
astore 16
arraylength
istore 15
iconst_0
istore 14
goto 19
StackMap locals: org.apache.catalina.manager.ManagerServlet java.io.PrintWriter java.lang.String org.apache.tomcat.util.res.StringManager org.apache.catalina.connector.Connector[] int org.apache.catalina.connector.Connector int int org.apache.catalina.connector.Connector[] org.apache.coyote.ProtocolHandler org.apache.coyote.http11.AbstractHttp11Protocol org.apache.tomcat.util.net.SSLHostConfig[] top int int org.apache.tomcat.util.net.SSLHostConfig[]
StackMap stack:
14: aload 16
iload 14
aaload
astore 13
start local 13 15: aload 13
invokevirtual org.apache.tomcat.util.net.SSLHostConfig.getHostName:()Ljava/lang/String;
aload 2
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 18
16: iconst_1
istore 5
17: aload 11
aload 2
invokevirtual org.apache.coyote.http11.AbstractHttp11Protocol.reloadSslHostConfig:(Ljava/lang/String;)V
end local 13 18: StackMap locals:
StackMap stack:
iinc 14 1
StackMap locals:
StackMap stack:
19: iload 14
iload 15
if_icmplt 14
end local 12 end local 11 end local 10 end local 6 20: StackMap locals: org.apache.catalina.manager.ManagerServlet java.io.PrintWriter java.lang.String org.apache.tomcat.util.res.StringManager org.apache.catalina.connector.Connector[] int top int int org.apache.catalina.connector.Connector[]
StackMap stack:
iinc 7 1
StackMap locals:
StackMap stack:
21: iload 7
iload 8
if_icmplt 3
22: iload 5
ifeq 28
23: aload 2
ifnull 24
aload 2
invokevirtual java.lang.String.length:()I
ifne 26
24: StackMap locals: org.apache.catalina.manager.ManagerServlet java.io.PrintWriter java.lang.String org.apache.tomcat.util.res.StringManager org.apache.catalina.connector.Connector[] int
StackMap stack:
aload 1
aload 3
ldc "managerServlet.sslReloadAll"
invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.io.PrintWriter.println:(Ljava/lang/String;)V
25: goto 29
26: StackMap locals:
StackMap stack:
aload 1
aload 3
ldc "managerServlet.sslReload"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 2
aastore
invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokevirtual java.io.PrintWriter.println:(Ljava/lang/String;)V
27: goto 29
28: StackMap locals:
StackMap stack:
aload 1
aload 3
ldc "managerServlet.sslReloadFail"
invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.io.PrintWriter.println:(Ljava/lang/String;)V
29: StackMap locals:
StackMap stack:
return
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 30 0 this Lorg/apache/catalina/manager/ManagerServlet;
0 30 1 writer Ljava/io/PrintWriter;
0 30 2 tlsHostName Ljava/lang/String;
0 30 3 smClient Lorg/apache/tomcat/util/res/StringManager;
1 30 4 connectors [Lorg/apache/catalina/connector/Connector;
2 30 5 found Z
4 20 6 connector Lorg/apache/catalina/connector/Connector;
6 20 10 protocol Lorg/apache/coyote/ProtocolHandler;
8 20 11 http11Protoocol Lorg/apache/coyote/http11/AbstractHttp11Protocol<*>;
13 20 12 sslHostConfigs [Lorg/apache/tomcat/util/net/SSLHostConfig;
15 18 13 sslHostConfig Lorg/apache/tomcat/util/net/SSLHostConfig;
MethodParameters:
Name Flags
writer
tlsHostName
smClient
protected void vmInfo(java.io.PrintWriter, org.apache.tomcat.util.res.StringManager, java.util.Enumeration<java.util.Locale>);
descriptor: (Ljava/io/PrintWriter;Lorg/apache/tomcat/util/res/StringManager;Ljava/util/Enumeration;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 1
aload 2
ldc "managerServlet.vminfo"
invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.io.PrintWriter.println:(Ljava/lang/String;)V
1: aload 1
aload 3
invokestatic org.apache.tomcat.util.Diagnostics.getVMInfo:(Ljava/util/Enumeration;)Ljava/lang/String;
invokevirtual java.io.PrintWriter.print:(Ljava/lang/String;)V
2: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/catalina/manager/ManagerServlet;
0 3 1 writer Ljava/io/PrintWriter;
0 3 2 smClient Lorg/apache/tomcat/util/res/StringManager;
0 3 3 requestedLocales Ljava/util/Enumeration<Ljava/util/Locale;>;
Signature: (Ljava/io/PrintWriter;Lorg/apache/tomcat/util/res/StringManager;Ljava/util/Enumeration<Ljava/util/Locale;>;)V
MethodParameters:
Name Flags
writer
smClient
requestedLocales
protected void threadDump(java.io.PrintWriter, org.apache.tomcat.util.res.StringManager, java.util.Enumeration<java.util.Locale>);
descriptor: (Ljava/io/PrintWriter;Lorg/apache/tomcat/util/res/StringManager;Ljava/util/Enumeration;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 1
aload 2
ldc "managerServlet.threaddump"
invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.io.PrintWriter.println:(Ljava/lang/String;)V
1: aload 1
aload 3
invokestatic org.apache.tomcat.util.Diagnostics.getThreadDump:(Ljava/util/Enumeration;)Ljava/lang/String;
invokevirtual java.io.PrintWriter.print:(Ljava/lang/String;)V
2: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/catalina/manager/ManagerServlet;
0 3 1 writer Ljava/io/PrintWriter;
0 3 2 smClient Lorg/apache/tomcat/util/res/StringManager;
0 3 3 requestedLocales Ljava/util/Enumeration<Ljava/util/Locale;>;
Signature: (Ljava/io/PrintWriter;Lorg/apache/tomcat/util/res/StringManager;Ljava/util/Enumeration<Ljava/util/Locale;>;)V
MethodParameters:
Name Flags
writer
smClient
requestedLocales
protected void sslConnectorCiphers(java.io.PrintWriter, org.apache.tomcat.util.res.StringManager);
descriptor: (Ljava/io/PrintWriter;Lorg/apache/tomcat/util/res/StringManager;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=8, args_size=3
start local 0 start local 1 start local 2 0: aload 1
aload 2
ldc "managerServlet.sslConnectorCiphers"
invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.io.PrintWriter.println:(Ljava/lang/String;)V
1: aload 0
aload 2
invokevirtual org.apache.catalina.manager.ManagerServlet.getConnectorCiphers:(Lorg/apache/tomcat/util/res/StringManager;)Ljava/util/Map;
astore 3
start local 3 2: aload 3
invokeinterface java.util.Map.entrySet:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 5
goto 10
StackMap locals: org.apache.catalina.manager.ManagerServlet java.io.PrintWriter org.apache.tomcat.util.res.StringManager java.util.Map top java.util.Iterator
StackMap stack:
3: aload 5
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.util.Map$Entry
astore 4
start local 4 4: aload 1
aload 4
invokeinterface java.util.Map$Entry.getKey:()Ljava/lang/Object;
checkcast java.lang.String
invokevirtual java.io.PrintWriter.println:(Ljava/lang/String;)V
5: aload 4
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
checkcast java.util.List
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 7
goto 9
StackMap locals: org.apache.catalina.manager.ManagerServlet java.io.PrintWriter org.apache.tomcat.util.res.StringManager java.util.Map java.util.Map$Entry java.util.Iterator top java.util.Iterator
StackMap stack:
6: aload 7
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 6
start local 6 7: aload 1
ldc " "
invokevirtual java.io.PrintWriter.print:(Ljava/lang/String;)V
8: aload 1
aload 6
invokevirtual java.io.PrintWriter.println:(Ljava/lang/String;)V
end local 6 9: StackMap locals:
StackMap stack:
aload 7
invokeinterface java.util.Iterator.hasNext:()Z
ifne 6
end local 4 10: StackMap locals: org.apache.catalina.manager.ManagerServlet java.io.PrintWriter org.apache.tomcat.util.res.StringManager java.util.Map top java.util.Iterator
StackMap stack:
aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifne 3
11: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lorg/apache/catalina/manager/ManagerServlet;
0 12 1 writer Ljava/io/PrintWriter;
0 12 2 smClient Lorg/apache/tomcat/util/res/StringManager;
2 12 3 connectorCiphers Ljava/util/Map<Ljava/lang/String;Ljava/util/List<Ljava/lang/String;>;>;
4 10 4 entry Ljava/util/Map$Entry<Ljava/lang/String;Ljava/util/List<Ljava/lang/String;>;>;
7 9 6 cipher Ljava/lang/String;
MethodParameters:
Name Flags
writer
smClient
private void sslConnectorCerts(java.io.PrintWriter, org.apache.tomcat.util.res.StringManager);
descriptor: (Ljava/io/PrintWriter;Lorg/apache/tomcat/util/res/StringManager;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=8, args_size=3
start local 0 start local 1 start local 2 0: aload 1
aload 2
ldc "managerServlet.sslConnectorCerts"
invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.io.PrintWriter.println:(Ljava/lang/String;)V
1: aload 0
aload 2
invokevirtual org.apache.catalina.manager.ManagerServlet.getConnectorCerts:(Lorg/apache/tomcat/util/res/StringManager;)Ljava/util/Map;
astore 3
start local 3 2: aload 3
invokeinterface java.util.Map.entrySet:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 5
goto 9
StackMap locals: org.apache.catalina.manager.ManagerServlet java.io.PrintWriter org.apache.tomcat.util.res.StringManager java.util.Map top java.util.Iterator
StackMap stack:
3: aload 5
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.util.Map$Entry
astore 4
start local 4 4: aload 1
aload 4
invokeinterface java.util.Map$Entry.getKey:()Ljava/lang/Object;
checkcast java.lang.String
invokevirtual java.io.PrintWriter.println:(Ljava/lang/String;)V
5: aload 4
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
checkcast java.util.List
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 7
goto 8
StackMap locals: org.apache.catalina.manager.ManagerServlet java.io.PrintWriter org.apache.tomcat.util.res.StringManager java.util.Map java.util.Map$Entry java.util.Iterator top java.util.Iterator
StackMap stack:
6: aload 7
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 6
start local 6 7: aload 1
aload 6
invokevirtual java.io.PrintWriter.println:(Ljava/lang/String;)V
end local 6 8: StackMap locals:
StackMap stack:
aload 7
invokeinterface java.util.Iterator.hasNext:()Z
ifne 6
end local 4 9: StackMap locals: org.apache.catalina.manager.ManagerServlet java.io.PrintWriter org.apache.tomcat.util.res.StringManager java.util.Map top java.util.Iterator
StackMap stack:
aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifne 3
10: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lorg/apache/catalina/manager/ManagerServlet;
0 11 1 writer Ljava/io/PrintWriter;
0 11 2 smClient Lorg/apache/tomcat/util/res/StringManager;
2 11 3 connectorCerts Ljava/util/Map<Ljava/lang/String;Ljava/util/List<Ljava/lang/String;>;>;
4 9 4 entry Ljava/util/Map$Entry<Ljava/lang/String;Ljava/util/List<Ljava/lang/String;>;>;
7 8 6 cert Ljava/lang/String;
MethodParameters:
Name Flags
writer
smClient
private void sslConnectorTrustedCerts(java.io.PrintWriter, org.apache.tomcat.util.res.StringManager);
descriptor: (Ljava/io/PrintWriter;Lorg/apache/tomcat/util/res/StringManager;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=8, args_size=3
start local 0 start local 1 start local 2 0: aload 1
aload 2
ldc "managerServlet.sslConnectorTrustedCerts"
invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.io.PrintWriter.println:(Ljava/lang/String;)V
1: aload 0
aload 2
invokevirtual org.apache.catalina.manager.ManagerServlet.getConnectorTrustedCerts:(Lorg/apache/tomcat/util/res/StringManager;)Ljava/util/Map;
astore 3
start local 3 2: aload 3
invokeinterface java.util.Map.entrySet:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 5
goto 9
StackMap locals: org.apache.catalina.manager.ManagerServlet java.io.PrintWriter org.apache.tomcat.util.res.StringManager java.util.Map top java.util.Iterator
StackMap stack:
3: aload 5
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.util.Map$Entry
astore 4
start local 4 4: aload 1
aload 4
invokeinterface java.util.Map$Entry.getKey:()Ljava/lang/Object;
checkcast java.lang.String
invokevirtual java.io.PrintWriter.println:(Ljava/lang/String;)V
5: aload 4
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
checkcast java.util.List
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 7
goto 8
StackMap locals: org.apache.catalina.manager.ManagerServlet java.io.PrintWriter org.apache.tomcat.util.res.StringManager java.util.Map java.util.Map$Entry java.util.Iterator top java.util.Iterator
StackMap stack:
6: aload 7
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 6
start local 6 7: aload 1
aload 6
invokevirtual java.io.PrintWriter.println:(Ljava/lang/String;)V
end local 6 8: StackMap locals:
StackMap stack:
aload 7
invokeinterface java.util.Iterator.hasNext:()Z
ifne 6
end local 4 9: StackMap locals: org.apache.catalina.manager.ManagerServlet java.io.PrintWriter org.apache.tomcat.util.res.StringManager java.util.Map top java.util.Iterator
StackMap stack:
aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifne 3
10: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lorg/apache/catalina/manager/ManagerServlet;
0 11 1 writer Ljava/io/PrintWriter;
0 11 2 smClient Lorg/apache/tomcat/util/res/StringManager;
2 11 3 connectorTrustedCerts Ljava/util/Map<Ljava/lang/String;Ljava/util/List<Ljava/lang/String;>;>;
4 9 4 entry Ljava/util/Map$Entry<Ljava/lang/String;Ljava/util/List<Ljava/lang/String;>;>;
7 8 6 cert Ljava/lang/String;
MethodParameters:
Name Flags
writer
smClient
protected synchronized void save(java.io.PrintWriter, java.lang.String, org.apache.tomcat.util.res.StringManager);
descriptor: (Ljava/io/PrintWriter;Ljava/lang/String;Lorg/apache/tomcat/util/res/StringManager;)V
flags: (0x0024) ACC_PROTECTED, ACC_SYNCHRONIZED
Code:
stack=8, locals=8, args_size=4
start local 0 start local 1 start local 2 start local 3 0: new javax.management.ObjectName
dup
ldc "Catalina:type=StoreConfig"
invokespecial javax.management.ObjectName.<init>:(Ljava/lang/String;)V
astore 4
start local 4 1: goto 6
end local 4 StackMap locals:
StackMap stack: javax.management.MalformedObjectNameException
2: astore 5
start local 5 3: aload 0
getstatic org.apache.catalina.manager.ManagerServlet.sm:Lorg/apache/tomcat/util/res/StringManager;
ldc "managerServlet.exception"
invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;)Ljava/lang/String;
aload 5
invokevirtual org.apache.catalina.manager.ManagerServlet.log:(Ljava/lang/String;Ljava/lang/Throwable;)V
4: aload 1
aload 3
ldc "managerServlet.exception"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 5
invokevirtual javax.management.MalformedObjectNameException.toString:()Ljava/lang/String;
aastore
invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokevirtual java.io.PrintWriter.println:(Ljava/lang/String;)V
5: return
end local 5 start local 4 6: StackMap locals: javax.management.ObjectName
StackMap stack:
aload 0
getfield org.apache.catalina.manager.ManagerServlet.mBeanServer:Ljavax/management/MBeanServer;
aload 4
invokeinterface javax.management.MBeanServer.isRegistered:(Ljavax/management/ObjectName;)Z
ifne 11
7: aload 1
aload 3
8: ldc "managerServlet.storeConfig.noMBean"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 4
aastore
9: invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokevirtual java.io.PrintWriter.println:(Ljava/lang/String;)V
10: return
11: StackMap locals:
StackMap stack:
aload 2
ifnull 12
aload 2
invokevirtual java.lang.String.length:()I
ifeq 12
aload 2
ldc "/"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifne 21
12: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.catalina.manager.ManagerServlet.mBeanServer:Ljavax/management/MBeanServer;
aload 4
ldc "storeConfig"
aconst_null
aconst_null
invokeinterface javax.management.MBeanServer.invoke:(Ljavax/management/ObjectName;Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object;
pop
13: aload 1
aload 3
ldc "managerServlet.saved"
invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.io.PrintWriter.println:(Ljava/lang/String;)V
14: goto 44
StackMap locals:
StackMap stack: java.lang.Exception
15: astore 5
start local 5 16: aload 0
getstatic org.apache.catalina.manager.ManagerServlet.sm:Lorg/apache/tomcat/util/res/StringManager;
ldc "managerServlet.error.storeConfig"
invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;)Ljava/lang/String;
aload 5
invokevirtual org.apache.catalina.manager.ManagerServlet.log:(Ljava/lang/String;Ljava/lang/Throwable;)V
17: aload 1
aload 3
ldc "managerServlet.exception"
iconst_1
anewarray java.lang.Object
dup
iconst_0
18: aload 5
invokevirtual java.lang.Exception.toString:()Ljava/lang/String;
aastore
19: invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokevirtual java.io.PrintWriter.println:(Ljava/lang/String;)V
end local 5 20: goto 44
21: StackMap locals:
StackMap stack:
aload 2
astore 5
start local 5 22: aload 2
ldc "/"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 24
23: ldc ""
astore 5
24: StackMap locals: java.lang.String
StackMap stack:
aload 0
getfield org.apache.catalina.manager.ManagerServlet.host:Lorg/apache/catalina/Host;
aload 5
invokeinterface org.apache.catalina.Host.findChild:(Ljava/lang/String;)Lorg/apache/catalina/Container;
checkcast org.apache.catalina.Context
astore 6
start local 6 25: aload 6
ifnonnull 30
26: aload 1
aload 3
ldc "managerServlet.noContext"
iconst_1
anewarray java.lang.Object
dup
iconst_0
27: aload 2
aastore
28: invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokevirtual java.io.PrintWriter.println:(Ljava/lang/String;)V
29: return
30: StackMap locals: org.apache.catalina.Context
StackMap stack:
aload 0
getfield org.apache.catalina.manager.ManagerServlet.mBeanServer:Ljavax/management/MBeanServer;
aload 4
ldc "store"
31: iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 6
aastore
32: iconst_1
anewarray java.lang.String
dup
iconst_0
ldc "org.apache.catalina.Context"
aastore
33: invokeinterface javax.management.MBeanServer.invoke:(Ljavax/management/ObjectName;Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object;
checkcast java.lang.Boolean
astore 7
start local 7 34: aload 7
invokevirtual java.lang.Boolean.booleanValue:()Z
ifeq 37
35: aload 1
aload 3
ldc "managerServlet.savedContext"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 2
aastore
invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokevirtual java.io.PrintWriter.println:(Ljava/lang/String;)V
36: goto 44
37: StackMap locals: java.lang.Boolean
StackMap stack:
aload 1
aload 3
ldc "managerServlet.savedContextFail"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 2
aastore
invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokevirtual java.io.PrintWriter.println:(Ljava/lang/String;)V
end local 7 38: goto 44
StackMap locals: org.apache.catalina.manager.ManagerServlet java.io.PrintWriter java.lang.String org.apache.tomcat.util.res.StringManager javax.management.ObjectName java.lang.String org.apache.catalina.Context
StackMap stack: java.lang.Exception
39: astore 7
start local 7 40: aload 0
getstatic org.apache.catalina.manager.ManagerServlet.sm:Lorg/apache/tomcat/util/res/StringManager;
ldc "managerServlet.error.storeContextConfig"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 2
aastore
invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
aload 7
invokevirtual org.apache.catalina.manager.ManagerServlet.log:(Ljava/lang/String;Ljava/lang/Throwable;)V
41: aload 1
aload 3
ldc "managerServlet.exception"
iconst_1
anewarray java.lang.Object
dup
iconst_0
42: aload 7
invokevirtual java.lang.Exception.toString:()Ljava/lang/String;
aastore
43: invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokevirtual java.io.PrintWriter.println:(Ljava/lang/String;)V
end local 7 end local 6 end local 5 44: StackMap locals:
StackMap stack:
return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 45 0 this Lorg/apache/catalina/manager/ManagerServlet;
0 45 1 writer Ljava/io/PrintWriter;
0 45 2 path Ljava/lang/String;
0 45 3 smClient Lorg/apache/tomcat/util/res/StringManager;
1 2 4 storeConfigOname Ljavax/management/ObjectName;
6 45 4 storeConfigOname Ljavax/management/ObjectName;
3 6 5 e Ljavax/management/MalformedObjectNameException;
16 20 5 e Ljava/lang/Exception;
22 44 5 contextPath Ljava/lang/String;
25 44 6 context Lorg/apache/catalina/Context;
34 38 7 result Ljava/lang/Boolean;
40 44 7 e Ljava/lang/Exception;
Exception table:
from to target type
0 1 2 Class javax.management.MalformedObjectNameException
12 14 15 Class java.lang.Exception
30 38 39 Class java.lang.Exception
MethodParameters:
Name Flags
writer
path
smClient
protected synchronized void deploy(java.io.PrintWriter, java.lang.String, org.apache.catalina.util.ContextName, java.lang.String, boolean, jakarta.servlet.http.HttpServletRequest, org.apache.tomcat.util.res.StringManager);
descriptor: (Ljava/io/PrintWriter;Ljava/lang/String;Lorg/apache/catalina/util/ContextName;Ljava/lang/String;ZLjakarta/servlet/http/HttpServletRequest;Lorg/apache/tomcat/util/res/StringManager;)V
flags: (0x0024) ACC_PROTECTED, ACC_SYNCHRONIZED
Code:
stack=8, locals=15, args_size=8
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 start local 7 0: aload 2
ifnull 2
aload 2
invokevirtual java.lang.String.length:()I
ifne 2
1: aconst_null
astore 2
2: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.catalina.manager.ManagerServlet.debug:I
iconst_1
if_icmplt 9
3: aload 2
ifnonnull 6
4: aload 0
new java.lang.StringBuilder
dup
ldc "deploy: Deploying web application '"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 3
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc "'"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual org.apache.catalina.manager.ManagerServlet.log:(Ljava/lang/String;)V
5: goto 9
6: StackMap locals:
StackMap stack:
aload 0
new java.lang.StringBuilder
dup
ldc "deploy: Deploying web application '"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 3
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc "' "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
7: ldc "with context configuration at '"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "'"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
8: invokevirtual org.apache.catalina.manager.ManagerServlet.log:(Ljava/lang/String;)V
9: StackMap locals:
StackMap stack:
aload 3
aload 1
aload 7
invokestatic org.apache.catalina.manager.ManagerServlet.validateContextName:(Lorg/apache/catalina/util/ContextName;Ljava/io/PrintWriter;Lorg/apache/tomcat/util/res/StringManager;)Z
ifne 11
10: return
11: StackMap locals:
StackMap stack:
aload 3
invokevirtual org.apache.catalina.util.ContextName.getName:()Ljava/lang/String;
astore 8
start local 8 12: aload 3
invokevirtual org.apache.catalina.util.ContextName.getBaseName:()Ljava/lang/String;
astore 9
start local 9 13: aload 3
invokevirtual org.apache.catalina.util.ContextName.getDisplayName:()Ljava/lang/String;
astore 10
start local 10 14: aload 0
getfield org.apache.catalina.manager.ManagerServlet.host:Lorg/apache/catalina/Host;
aload 8
invokeinterface org.apache.catalina.Host.findChild:(Ljava/lang/String;)Lorg/apache/catalina/Container;
checkcast org.apache.catalina.Context
astore 11
start local 11 15: aload 11
ifnull 20
iload 5
ifne 20
16: aload 1
aload 7
ldc "managerServlet.alreadyContext"
iconst_1
anewarray java.lang.Object
dup
iconst_0
17: aload 10
aastore
18: invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokevirtual java.io.PrintWriter.println:(Ljava/lang/String;)V
19: return
20: StackMap locals: org.apache.catalina.manager.ManagerServlet java.io.PrintWriter java.lang.String org.apache.catalina.util.ContextName java.lang.String int jakarta.servlet.http.HttpServletRequest org.apache.tomcat.util.res.StringManager java.lang.String java.lang.String java.lang.String org.apache.catalina.Context
StackMap stack:
aload 2
ifnull 22
aload 2
ldc "file:"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 22
21: aload 2
ldc "file:"
invokevirtual java.lang.String.length:()I
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
astore 2
22: StackMap locals:
StackMap stack:
new java.io.File
dup
aload 0
getfield org.apache.catalina.manager.ManagerServlet.host:Lorg/apache/catalina/Host;
invokeinterface org.apache.catalina.Host.getAppBaseFile:()Ljava/io/File;
new java.lang.StringBuilder
dup
aload 9
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc ".war"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.io.File.<init>:(Ljava/io/File;Ljava/lang/String;)V
astore 12
start local 12 23: aload 4
ifnonnull 33
24: iload 5
ifeq 31
25: new java.io.File
dup
new java.lang.StringBuilder
dup
aload 12
invokevirtual java.io.File.getAbsolutePath:()Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc ".tmp"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.io.File.<init>:(Ljava/lang/String;)V
astore 13
start local 13 26: aload 13
invokevirtual java.io.File.exists:()Z
ifeq 40
aload 13
invokevirtual java.io.File.delete:()Z
ifne 40
27: aload 1
aload 7
ldc "managerServlet.deleteFail"
iconst_1
anewarray java.lang.Object
dup
iconst_0
28: aload 13
aastore
29: invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokevirtual java.io.PrintWriter.println:(Ljava/lang/String;)V
30: goto 40
end local 13 31: StackMap locals: java.io.File
StackMap stack:
aload 12
astore 13
start local 13 32: goto 40
end local 13 33: StackMap locals:
StackMap stack:
new java.io.File
dup
aload 0
getfield org.apache.catalina.manager.ManagerServlet.versioned:Ljava/io/File;
aload 4
invokespecial java.io.File.<init>:(Ljava/io/File;Ljava/lang/String;)V
astore 14
start local 14 34: aload 14
invokevirtual java.io.File.mkdirs:()Z
ifne 39
aload 14
invokevirtual java.io.File.isDirectory:()Z
ifne 39
35: aload 1
aload 7
ldc "managerServlet.mkdirFail"
iconst_1
anewarray java.lang.Object
dup
iconst_0
36: aload 14
aastore
37: invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokevirtual java.io.PrintWriter.println:(Ljava/lang/String;)V
38: return
39: StackMap locals: org.apache.catalina.manager.ManagerServlet java.io.PrintWriter java.lang.String org.apache.catalina.util.ContextName java.lang.String int jakarta.servlet.http.HttpServletRequest org.apache.tomcat.util.res.StringManager java.lang.String java.lang.String java.lang.String org.apache.catalina.Context java.io.File top java.io.File
StackMap stack:
new java.io.File
dup
aload 14
new java.lang.StringBuilder
dup
aload 9
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc ".war"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.io.File.<init>:(Ljava/io/File;Ljava/lang/String;)V
astore 13
end local 14 start local 13 40: StackMap locals: org.apache.catalina.manager.ManagerServlet java.io.PrintWriter java.lang.String org.apache.catalina.util.ContextName java.lang.String int jakarta.servlet.http.HttpServletRequest org.apache.tomcat.util.res.StringManager java.lang.String java.lang.String java.lang.String org.apache.catalina.Context java.io.File java.io.File
StackMap stack:
aload 0
getfield org.apache.catalina.manager.ManagerServlet.debug:I
iconst_2
if_icmplt 42
41: aload 0
new java.lang.StringBuilder
dup
ldc "Uploading WAR file to "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 13
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual org.apache.catalina.manager.ManagerServlet.log:(Ljava/lang/String;)V
42: StackMap locals:
StackMap stack:
aload 0
aload 8
invokevirtual org.apache.catalina.manager.ManagerServlet.isServiced:(Ljava/lang/String;)Z
ifeq 45
43: aload 1
aload 7
ldc "managerServlet.inService"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 10
aastore
invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokevirtual java.io.PrintWriter.println:(Ljava/lang/String;)V
44: goto 87
45: StackMap locals:
StackMap stack:
aload 0
aload 8
invokevirtual org.apache.catalina.manager.ManagerServlet.addServiced:(Ljava/lang/String;)V
46: aload 2
ifnull 58
47: aload 0
getfield org.apache.catalina.manager.ManagerServlet.configBase:Ljava/io/File;
invokevirtual java.io.File.mkdirs:()Z
ifne 53
aload 0
getfield org.apache.catalina.manager.ManagerServlet.configBase:Ljava/io/File;
invokevirtual java.io.File.isDirectory:()Z
ifne 53
48: aload 1
aload 7
49: ldc "managerServlet.mkdirFail"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 0
getfield org.apache.catalina.manager.ManagerServlet.configBase:Ljava/io/File;
aastore
50: invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokevirtual java.io.PrintWriter.println:(Ljava/lang/String;)V
51: aload 0
aload 8
invokevirtual org.apache.catalina.manager.ManagerServlet.removeServiced:(Ljava/lang/String;)V
52: return
53: StackMap locals:
StackMap stack:
new java.io.File
dup
aload 2
invokespecial java.io.File.<init>:(Ljava/lang/String;)V
54: new java.io.File
dup
aload 0
getfield org.apache.catalina.manager.ManagerServlet.configBase:Ljava/io/File;
new java.lang.StringBuilder
dup
aload 9
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc ".xml"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.io.File.<init>:(Ljava/io/File;Ljava/lang/String;)V
55: invokestatic org.apache.catalina.startup.ExpandWar.copy:(Ljava/io/File;Ljava/io/File;)Z
56: ifne 58
57: new java.lang.Exception
dup
getstatic org.apache.catalina.manager.ManagerServlet.sm:Lorg/apache/tomcat/util/res/StringManager;
ldc "managerServlet.copyError"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 2
aastore
invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.Exception.<init>:(Ljava/lang/String;)V
athrow
58: StackMap locals:
StackMap stack:
aload 0
aload 1
aload 6
aload 13
aload 7
invokevirtual org.apache.catalina.manager.ManagerServlet.uploadWar:(Ljava/io/PrintWriter;Ljakarta/servlet/http/HttpServletRequest;Ljava/io/File;Lorg/apache/tomcat/util/res/StringManager;)V
59: iload 5
ifeq 72
aload 4
ifnonnull 72
60: aload 12
invokevirtual java.io.File.exists:()Z
ifeq 66
aload 12
invokevirtual java.io.File.delete:()Z
ifne 66
61: aload 1
aload 7
ldc "managerServlet.deleteFail"
iconst_1
anewarray java.lang.Object
dup
iconst_0
62: aload 12
aastore
63: invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokevirtual java.io.PrintWriter.println:(Ljava/lang/String;)V
64: aload 0
aload 8
invokevirtual org.apache.catalina.manager.ManagerServlet.removeServiced:(Ljava/lang/String;)V
65: return
66: StackMap locals:
StackMap stack:
aload 13
aload 12
invokevirtual java.io.File.renameTo:(Ljava/io/File;)Z
ifne 72
67: aload 1
aload 7
ldc "managerServlet.renameFail"
iconst_2
anewarray java.lang.Object
dup
iconst_0
68: aload 13
aastore
dup
iconst_1
aload 12
aastore
69: invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokevirtual java.io.PrintWriter.println:(Ljava/lang/String;)V
70: aload 0
aload 8
invokevirtual org.apache.catalina.manager.ManagerServlet.removeServiced:(Ljava/lang/String;)V
71: return
72: StackMap locals:
StackMap stack:
aload 4
ifnull 74
73: aload 13
aload 12
invokestatic org.apache.catalina.startup.ExpandWar.copy:(Ljava/io/File;Ljava/io/File;)Z
pop
74: StackMap locals:
StackMap stack:
aload 0
aload 8
invokevirtual org.apache.catalina.manager.ManagerServlet.check:(Ljava/lang/String;)V
75: goto 79
StackMap locals:
StackMap stack: java.lang.Throwable
76: astore 14
77: aload 0
aload 8
invokevirtual org.apache.catalina.manager.ManagerServlet.removeServiced:(Ljava/lang/String;)V
78: aload 14
athrow
79: StackMap locals:
StackMap stack:
aload 0
aload 8
invokevirtual org.apache.catalina.manager.ManagerServlet.removeServiced:(Ljava/lang/String;)V
80: goto 87
StackMap locals:
StackMap stack: java.lang.Exception
81: astore 14
start local 14 82: aload 0
getstatic org.apache.catalina.manager.ManagerServlet.sm:Lorg/apache/tomcat/util/res/StringManager;
ldc "managerServlet.error.deploy"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 10
aastore
invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
aload 14
invokevirtual org.apache.catalina.manager.ManagerServlet.log:(Ljava/lang/String;Ljava/lang/Throwable;)V
83: aload 1
aload 7
ldc "managerServlet.exception"
iconst_1
anewarray java.lang.Object
dup
iconst_0
84: aload 14
invokevirtual java.lang.Exception.toString:()Ljava/lang/String;
aastore
85: invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokevirtual java.io.PrintWriter.println:(Ljava/lang/String;)V
86: return
end local 14 87: StackMap locals:
StackMap stack:
aload 0
aload 1
aload 7
aload 8
aload 10
invokevirtual org.apache.catalina.manager.ManagerServlet.writeDeployResult:(Ljava/io/PrintWriter;Lorg/apache/tomcat/util/res/StringManager;Ljava/lang/String;Ljava/lang/String;)V
88: return
end local 13 end local 12 end local 11 end local 10 end local 9 end local 8 end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 89 0 this Lorg/apache/catalina/manager/ManagerServlet;
0 89 1 writer Ljava/io/PrintWriter;
0 89 2 config Ljava/lang/String;
0 89 3 cn Lorg/apache/catalina/util/ContextName;
0 89 4 tag Ljava/lang/String;
0 89 5 update Z
0 89 6 request Ljakarta/servlet/http/HttpServletRequest;
0 89 7 smClient Lorg/apache/tomcat/util/res/StringManager;
12 89 8 name Ljava/lang/String;
13 89 9 baseName Ljava/lang/String;
14 89 10 displayPath Ljava/lang/String;
15 89 11 context Lorg/apache/catalina/Context;
23 89 12 deployedWar Ljava/io/File;
26 31 13 uploadedWar Ljava/io/File;
32 33 13 uploadedWar Ljava/io/File;
40 89 13 uploadedWar Ljava/io/File;
34 40 14 uploadPath Ljava/io/File;
82 87 14 e Ljava/lang/Exception;
Exception table:
from to target type
46 51 76 any
53 64 76 any
66 70 76 any
72 76 76 any
42 52 81 Class java.lang.Exception
53 65 81 Class java.lang.Exception
66 71 81 Class java.lang.Exception
72 80 81 Class java.lang.Exception
MethodParameters:
Name Flags
writer
config
cn
tag
update
request
smClient
protected void deploy(java.io.PrintWriter, org.apache.catalina.util.ContextName, java.lang.String, org.apache.tomcat.util.res.StringManager);
descriptor: (Ljava/io/PrintWriter;Lorg/apache/catalina/util/ContextName;Ljava/lang/String;Lorg/apache/tomcat/util/res/StringManager;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=7, locals=11, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 2
aload 1
aload 4
invokestatic org.apache.catalina.manager.ManagerServlet.validateContextName:(Lorg/apache/catalina/util/ContextName;Ljava/io/PrintWriter;Lorg/apache/tomcat/util/res/StringManager;)Z
ifne 2
1: return
2: StackMap locals:
StackMap stack:
aload 2
invokevirtual org.apache.catalina.util.ContextName.getBaseName:()Ljava/lang/String;
astore 5
start local 5 3: aload 2
invokevirtual org.apache.catalina.util.ContextName.getName:()Ljava/lang/String;
astore 6
start local 6 4: aload 2
invokevirtual org.apache.catalina.util.ContextName.getDisplayName:()Ljava/lang/String;
astore 7
start local 7 5: new java.io.File
dup
new java.io.File
dup
aload 0
getfield org.apache.catalina.manager.ManagerServlet.versioned:Ljava/io/File;
aload 3
invokespecial java.io.File.<init>:(Ljava/io/File;Ljava/lang/String;)V
new java.lang.StringBuilder
dup
aload 5
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc ".war"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.io.File.<init>:(Ljava/io/File;Ljava/lang/String;)V
astore 8
start local 8 6: new java.io.File
dup
aload 0
getfield org.apache.catalina.manager.ManagerServlet.host:Lorg/apache/catalina/Host;
invokeinterface org.apache.catalina.Host.getAppBaseFile:()Ljava/io/File;
new java.lang.StringBuilder
dup
aload 5
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc ".war"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.io.File.<init>:(Ljava/io/File;Ljava/lang/String;)V
astore 9
start local 9 7: aload 0
aload 6
invokevirtual org.apache.catalina.manager.ManagerServlet.isServiced:(Ljava/lang/String;)Z
ifeq 10
8: aload 1
aload 4
ldc "managerServlet.inService"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 7
aastore
invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokevirtual java.io.PrintWriter.println:(Ljava/lang/String;)V
9: goto 31
10: StackMap locals: org.apache.catalina.manager.ManagerServlet java.io.PrintWriter org.apache.catalina.util.ContextName java.lang.String org.apache.tomcat.util.res.StringManager java.lang.String java.lang.String java.lang.String java.io.File java.io.File
StackMap stack:
aload 0
aload 6
invokevirtual org.apache.catalina.manager.ManagerServlet.addServiced:(Ljava/lang/String;)V
11: aload 9
invokevirtual java.io.File.delete:()Z
ifne 17
12: aload 1
aload 4
ldc "managerServlet.deleteFail"
iconst_1
anewarray java.lang.Object
dup
iconst_0
13: aload 9
aastore
14: invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokevirtual java.io.PrintWriter.println:(Ljava/lang/String;)V
15: aload 0
aload 6
invokevirtual org.apache.catalina.manager.ManagerServlet.removeServiced:(Ljava/lang/String;)V
16: return
17: StackMap locals:
StackMap stack:
aload 8
aload 9
invokestatic org.apache.catalina.startup.ExpandWar.copy:(Ljava/io/File;Ljava/io/File;)Z
pop
18: aload 0
aload 6
invokevirtual org.apache.catalina.manager.ManagerServlet.check:(Ljava/lang/String;)V
19: goto 23
StackMap locals:
StackMap stack: java.lang.Throwable
20: astore 10
21: aload 0
aload 6
invokevirtual org.apache.catalina.manager.ManagerServlet.removeServiced:(Ljava/lang/String;)V
22: aload 10
athrow
23: StackMap locals:
StackMap stack:
aload 0
aload 6
invokevirtual org.apache.catalina.manager.ManagerServlet.removeServiced:(Ljava/lang/String;)V
24: goto 31
StackMap locals:
StackMap stack: java.lang.Exception
25: astore 10
start local 10 26: aload 0
getstatic org.apache.catalina.manager.ManagerServlet.sm:Lorg/apache/tomcat/util/res/StringManager;
ldc "managerServlet.error.deploy"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 7
aastore
invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
aload 10
invokevirtual org.apache.catalina.manager.ManagerServlet.log:(Ljava/lang/String;Ljava/lang/Throwable;)V
27: aload 1
aload 4
ldc "managerServlet.exception"
iconst_1
anewarray java.lang.Object
dup
iconst_0
28: aload 10
invokevirtual java.lang.Exception.toString:()Ljava/lang/String;
aastore
29: invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokevirtual java.io.PrintWriter.println:(Ljava/lang/String;)V
30: return
end local 10 31: StackMap locals:
StackMap stack:
aload 0
aload 1
aload 4
aload 6
aload 7
invokevirtual org.apache.catalina.manager.ManagerServlet.writeDeployResult:(Ljava/io/PrintWriter;Lorg/apache/tomcat/util/res/StringManager;Ljava/lang/String;Ljava/lang/String;)V
32: return
end local 9 end local 8 end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 33 0 this Lorg/apache/catalina/manager/ManagerServlet;
0 33 1 writer Ljava/io/PrintWriter;
0 33 2 cn Lorg/apache/catalina/util/ContextName;
0 33 3 tag Ljava/lang/String;
0 33 4 smClient Lorg/apache/tomcat/util/res/StringManager;
3 33 5 baseName Ljava/lang/String;
4 33 6 name Ljava/lang/String;
5 33 7 displayPath Ljava/lang/String;
6 33 8 localWar Ljava/io/File;
7 33 9 deployedWar Ljava/io/File;
26 31 10 e Ljava/lang/Exception;
Exception table:
from to target type
11 15 20 any
17 20 20 any
7 16 25 Class java.lang.Exception
17 24 25 Class java.lang.Exception
MethodParameters:
Name Flags
writer
cn
tag
smClient
protected void deploy(java.io.PrintWriter, java.lang.String, org.apache.catalina.util.ContextName, java.lang.String, boolean, org.apache.tomcat.util.res.StringManager);
descriptor: (Ljava/io/PrintWriter;Ljava/lang/String;Lorg/apache/catalina/util/ContextName;Ljava/lang/String;ZLorg/apache/tomcat/util/res/StringManager;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=7, locals=13, args_size=7
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 0: aload 2
ifnull 2
aload 2
invokevirtual java.lang.String.length:()I
ifne 2
1: aconst_null
astore 2
2: StackMap locals:
StackMap stack:
aload 4
ifnull 4
aload 4
invokevirtual java.lang.String.length:()I
ifne 4
3: aconst_null
astore 4
4: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.catalina.manager.ManagerServlet.debug:I
iconst_1
if_icmplt 21
5: aload 2
ifnull 15
6: aload 4
ifnull 11
7: aload 0
new java.lang.StringBuilder
dup
ldc "install: Installing context configuration at '"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
8: aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "' from '"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 4
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "'"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
9: invokevirtual org.apache.catalina.manager.ManagerServlet.log:(Ljava/lang/String;)V
10: goto 21
11: StackMap locals:
StackMap stack:
aload 0
new java.lang.StringBuilder
dup
ldc "install: Installing context configuration at '"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
12: aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "'"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
13: invokevirtual org.apache.catalina.manager.ManagerServlet.log:(Ljava/lang/String;)V
14: goto 21
15: StackMap locals:
StackMap stack:
aload 3
ifnull 20
16: aload 0
new java.lang.StringBuilder
dup
ldc "install: Installing web application '"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 3
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
17: ldc "' from '"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 4
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "'"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
18: invokevirtual org.apache.catalina.manager.ManagerServlet.log:(Ljava/lang/String;)V
19: goto 21
20: StackMap locals:
StackMap stack:
aload 0
new java.lang.StringBuilder
dup
ldc "install: Installing web application from '"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 4
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "'"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual org.apache.catalina.manager.ManagerServlet.log:(Ljava/lang/String;)V
21: StackMap locals:
StackMap stack:
aload 3
aload 1
aload 6
invokestatic org.apache.catalina.manager.ManagerServlet.validateContextName:(Lorg/apache/catalina/util/ContextName;Ljava/io/PrintWriter;Lorg/apache/tomcat/util/res/StringManager;)Z
ifne 23
22: return
23: StackMap locals:
StackMap stack:
aload 3
invokevirtual org.apache.catalina.util.ContextName.getName:()Ljava/lang/String;
astore 7
start local 7 24: aload 3
invokevirtual org.apache.catalina.util.ContextName.getBaseName:()Ljava/lang/String;
astore 8
start local 8 25: aload 3
invokevirtual org.apache.catalina.util.ContextName.getDisplayName:()Ljava/lang/String;
astore 9
start local 9 26: aload 0
getfield org.apache.catalina.manager.ManagerServlet.host:Lorg/apache/catalina/Host;
aload 7
invokeinterface org.apache.catalina.Host.findChild:(Ljava/lang/String;)Lorg/apache/catalina/Container;
checkcast org.apache.catalina.Context
astore 10
start local 10 27: aload 10
ifnull 32
iload 5
ifne 32
28: aload 1
aload 6
ldc "managerServlet.alreadyContext"
iconst_1
anewarray java.lang.Object
dup
iconst_0
29: aload 9
aastore
30: invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokevirtual java.io.PrintWriter.println:(Ljava/lang/String;)V
31: return
32: StackMap locals: org.apache.catalina.manager.ManagerServlet java.io.PrintWriter java.lang.String org.apache.catalina.util.ContextName java.lang.String int org.apache.tomcat.util.res.StringManager java.lang.String java.lang.String java.lang.String org.apache.catalina.Context
StackMap stack:
aload 2
ifnull 34
aload 2
ldc "file:"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 34
33: aload 2
ldc "file:"
invokevirtual java.lang.String.length:()I
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
astore 2
34: StackMap locals:
StackMap stack:
aload 4
ifnull 36
aload 4
ldc "file:"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 36
35: aload 4
ldc "file:"
invokevirtual java.lang.String.length:()I
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
astore 4
36: StackMap locals:
StackMap stack:
aload 0
aload 7
invokevirtual org.apache.catalina.manager.ManagerServlet.isServiced:(Ljava/lang/String;)Z
ifeq 39
37: aload 1
aload 6
ldc "managerServlet.inService"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 9
aastore
invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokevirtual java.io.PrintWriter.println:(Ljava/lang/String;)V
38: goto 73
39: StackMap locals:
StackMap stack:
aload 0
aload 7
invokevirtual org.apache.catalina.manager.ManagerServlet.addServiced:(Ljava/lang/String;)V
40: aload 2
ifnull 55
41: aload 0
getfield org.apache.catalina.manager.ManagerServlet.configBase:Ljava/io/File;
invokevirtual java.io.File.mkdirs:()Z
ifne 47
aload 0
getfield org.apache.catalina.manager.ManagerServlet.configBase:Ljava/io/File;
invokevirtual java.io.File.isDirectory:()Z
ifne 47
42: aload 1
aload 6
43: ldc "managerServlet.mkdirFail"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 0
getfield org.apache.catalina.manager.ManagerServlet.configBase:Ljava/io/File;
aastore
44: invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokevirtual java.io.PrintWriter.println:(Ljava/lang/String;)V
45: aload 0
aload 7
invokevirtual org.apache.catalina.manager.ManagerServlet.removeServiced:(Ljava/lang/String;)V
46: return
47: StackMap locals:
StackMap stack:
new java.io.File
dup
aload 0
getfield org.apache.catalina.manager.ManagerServlet.configBase:Ljava/io/File;
new java.lang.StringBuilder
dup
aload 8
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc ".xml"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.io.File.<init>:(Ljava/io/File;Ljava/lang/String;)V
astore 11
start local 11 48: aload 11
invokevirtual java.io.File.isFile:()Z
ifeq 54
aload 11
invokevirtual java.io.File.delete:()Z
ifne 54
49: aload 1
aload 6
50: ldc "managerServlet.deleteFail"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 11
aastore
51: invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokevirtual java.io.PrintWriter.println:(Ljava/lang/String;)V
52: aload 0
aload 7
invokevirtual org.apache.catalina.manager.ManagerServlet.removeServiced:(Ljava/lang/String;)V
53: return
54: StackMap locals: java.io.File
StackMap stack:
new java.io.File
dup
aload 2
invokespecial java.io.File.<init>:(Ljava/lang/String;)V
aload 11
invokestatic org.apache.catalina.startup.ExpandWar.copy:(Ljava/io/File;Ljava/io/File;)Z
pop
end local 11 55: StackMap locals:
StackMap stack:
aload 4
ifnull 67
56: aload 4
ldc ".war"
invokevirtual java.lang.String.endsWith:(Ljava/lang/String;)Z
ifeq 59
57: new java.io.File
dup
aload 0
getfield org.apache.catalina.manager.ManagerServlet.host:Lorg/apache/catalina/Host;
invokeinterface org.apache.catalina.Host.getAppBaseFile:()Ljava/io/File;
new java.lang.StringBuilder
dup
aload 8
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc ".war"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.io.File.<init>:(Ljava/io/File;Ljava/lang/String;)V
astore 11
start local 11 58: goto 60
end local 11 59: StackMap locals:
StackMap stack:
new java.io.File
dup
aload 0
getfield org.apache.catalina.manager.ManagerServlet.host:Lorg/apache/catalina/Host;
invokeinterface org.apache.catalina.Host.getAppBaseFile:()Ljava/io/File;
aload 8
invokespecial java.io.File.<init>:(Ljava/io/File;Ljava/lang/String;)V
astore 11
start local 11 60: StackMap locals: java.io.File
StackMap stack:
aload 11
invokevirtual java.io.File.exists:()Z
ifeq 66
aload 11
invokestatic org.apache.catalina.startup.ExpandWar.delete:(Ljava/io/File;)Z
ifne 66
61: aload 1
aload 6
62: ldc "managerServlet.deleteFail"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 11
aastore
63: invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokevirtual java.io.PrintWriter.println:(Ljava/lang/String;)V
64: aload 0
aload 7
invokevirtual org.apache.catalina.manager.ManagerServlet.removeServiced:(Ljava/lang/String;)V
65: return
66: StackMap locals:
StackMap stack:
new java.io.File
dup
aload 4
invokespecial java.io.File.<init>:(Ljava/lang/String;)V
aload 11
invokestatic org.apache.catalina.startup.ExpandWar.copy:(Ljava/io/File;Ljava/io/File;)Z
pop
end local 11 67: StackMap locals:
StackMap stack:
aload 0
aload 7
invokevirtual org.apache.catalina.manager.ManagerServlet.check:(Ljava/lang/String;)V
68: goto 72
StackMap locals:
StackMap stack: java.lang.Throwable
69: astore 12
70: aload 0
aload 7
invokevirtual org.apache.catalina.manager.ManagerServlet.removeServiced:(Ljava/lang/String;)V
71: aload 12
athrow
72: StackMap locals:
StackMap stack:
aload 0
aload 7
invokevirtual org.apache.catalina.manager.ManagerServlet.removeServiced:(Ljava/lang/String;)V
73: StackMap locals:
StackMap stack:
aload 0
aload 1
aload 6
aload 7
aload 9
invokevirtual org.apache.catalina.manager.ManagerServlet.writeDeployResult:(Ljava/io/PrintWriter;Lorg/apache/tomcat/util/res/StringManager;Ljava/lang/String;Ljava/lang/String;)V
74: goto 81
StackMap locals:
StackMap stack: java.lang.Throwable
75: astore 11
start local 11 76: aload 11
invokestatic org.apache.tomcat.util.ExceptionUtils.handleThrowable:(Ljava/lang/Throwable;)V
77: aload 0
getstatic org.apache.catalina.manager.ManagerServlet.sm:Lorg/apache/tomcat/util/res/StringManager;
ldc "managerServlet.error.deploy"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 9
aastore
invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
aload 11
invokevirtual org.apache.catalina.manager.ManagerServlet.log:(Ljava/lang/String;Ljava/lang/Throwable;)V
78: aload 1
aload 6
ldc "managerServlet.exception"
iconst_1
anewarray java.lang.Object
dup
iconst_0
79: aload 11
invokevirtual java.lang.Throwable.toString:()Ljava/lang/String;
aastore
80: invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokevirtual java.io.PrintWriter.println:(Ljava/lang/String;)V
end local 11 81: StackMap locals:
StackMap stack:
return
end local 10 end local 9 end local 8 end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 82 0 this Lorg/apache/catalina/manager/ManagerServlet;
0 82 1 writer Ljava/io/PrintWriter;
0 82 2 config Ljava/lang/String;
0 82 3 cn Lorg/apache/catalina/util/ContextName;
0 82 4 war Ljava/lang/String;
0 82 5 update Z
0 82 6 smClient Lorg/apache/tomcat/util/res/StringManager;
24 82 7 name Ljava/lang/String;
25 82 8 baseName Ljava/lang/String;
26 82 9 displayPath Ljava/lang/String;
27 82 10 context Lorg/apache/catalina/Context;
48 55 11 localConfig Ljava/io/File;
58 59 11 localWar Ljava/io/File;
60 67 11 localWar Ljava/io/File;
76 81 11 t Ljava/lang/Throwable;
Exception table:
from to target type
40 45 69 any
47 52 69 any
54 64 69 any
66 69 69 any
36 46 75 Class java.lang.Throwable
47 53 75 Class java.lang.Throwable
54 65 75 Class java.lang.Throwable
66 74 75 Class java.lang.Throwable
MethodParameters:
Name Flags
writer
config
cn
war
update
smClient
private void writeDeployResult(java.io.PrintWriter, org.apache.tomcat.util.res.StringManager, java.lang.String, java.lang.String);
descriptor: (Ljava/io/PrintWriter;Lorg/apache/tomcat/util/res/StringManager;Ljava/lang/String;Ljava/lang/String;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=7, locals=6, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
getfield org.apache.catalina.manager.ManagerServlet.host:Lorg/apache/catalina/Host;
aload 3
invokeinterface org.apache.catalina.Host.findChild:(Ljava/lang/String;)Lorg/apache/catalina/Container;
checkcast org.apache.catalina.Context
astore 5
start local 5 1: aload 5
ifnull 7
aload 5
invokeinterface org.apache.catalina.Context.getConfigured:()Z
ifeq 7
2: aload 5
invokeinterface org.apache.catalina.Context.getState:()Lorg/apache/catalina/LifecycleState;
invokevirtual org.apache.catalina.LifecycleState.isAvailable:()Z
ifeq 7
3: aload 1
aload 2
4: ldc "managerServlet.deployed"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 4
aastore
5: invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokevirtual java.io.PrintWriter.println:(Ljava/lang/String;)V
6: goto 15
StackMap locals: org.apache.catalina.Context
StackMap stack:
7: aload 5
ifnull 12
aload 5
invokeinterface org.apache.catalina.Context.getState:()Lorg/apache/catalina/LifecycleState;
invokevirtual org.apache.catalina.LifecycleState.isAvailable:()Z
ifne 12
8: aload 1
aload 2
9: ldc "managerServlet.deployedButNotStarted"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 4
aastore
10: invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokevirtual java.io.PrintWriter.println:(Ljava/lang/String;)V
11: goto 15
12: StackMap locals:
StackMap stack:
aload 1
aload 2
13: ldc "managerServlet.deployFailed"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 4
aastore
14: invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokevirtual java.io.PrintWriter.println:(Ljava/lang/String;)V
15: StackMap locals:
StackMap stack:
return
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Lorg/apache/catalina/manager/ManagerServlet;
0 16 1 writer Ljava/io/PrintWriter;
0 16 2 smClient Lorg/apache/tomcat/util/res/StringManager;
0 16 3 name Ljava/lang/String;
0 16 4 displayPath Ljava/lang/String;
1 16 5 deployed Lorg/apache/catalina/Context;
MethodParameters:
Name Flags
writer
smClient
name
displayPath
protected void list(java.io.PrintWriter, org.apache.tomcat.util.res.StringManager);
descriptor: (Ljava/io/PrintWriter;Lorg/apache/tomcat/util/res/StringManager;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=7, locals=11, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield org.apache.catalina.manager.ManagerServlet.debug:I
iconst_1
if_icmplt 4
1: aload 0
new java.lang.StringBuilder
dup
ldc "list: Listing contexts for virtual host '"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
2: aload 0
getfield org.apache.catalina.manager.ManagerServlet.host:Lorg/apache/catalina/Host;
invokeinterface org.apache.catalina.Host.getName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "'"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
3: invokevirtual org.apache.catalina.manager.ManagerServlet.log:(Ljava/lang/String;)V
4: StackMap locals:
StackMap stack:
aload 1
aload 2
ldc "managerServlet.listed"
iconst_1
anewarray java.lang.Object
dup
iconst_0
5: aload 0
getfield org.apache.catalina.manager.ManagerServlet.host:Lorg/apache/catalina/Host;
invokeinterface org.apache.catalina.Host.getName:()Ljava/lang/String;
aastore
6: invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokevirtual java.io.PrintWriter.println:(Ljava/lang/String;)V
7: aload 0
getfield org.apache.catalina.manager.ManagerServlet.host:Lorg/apache/catalina/Host;
invokeinterface org.apache.catalina.Host.findChildren:()[Lorg/apache/catalina/Container;
astore 3
start local 3 8: aload 3
dup
astore 7
arraylength
istore 6
iconst_0
istore 5
goto 32
StackMap locals: org.apache.catalina.manager.ManagerServlet java.io.PrintWriter org.apache.tomcat.util.res.StringManager org.apache.catalina.Container[] top int int org.apache.catalina.Container[]
StackMap stack:
9: aload 7
iload 5
aaload
astore 4
start local 4 10: aload 4
checkcast org.apache.catalina.Context
astore 8
start local 8 11: aload 8
ifnull 31
12: aload 8
invokeinterface org.apache.catalina.Context.getPath:()Ljava/lang/String;
astore 9
start local 9 13: aload 9
ldc ""
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 15
14: ldc "/"
astore 9
15: StackMap locals: org.apache.catalina.manager.ManagerServlet java.io.PrintWriter org.apache.tomcat.util.res.StringManager org.apache.catalina.Container[] org.apache.catalina.Container int int org.apache.catalina.Container[] org.apache.catalina.Context java.lang.String
StackMap stack:
aconst_null
astore 10
start local 10 16: aload 8
invokeinterface org.apache.catalina.Context.getState:()Lorg/apache/catalina/LifecycleState;
invokevirtual org.apache.catalina.LifecycleState.isAvailable:()Z
ifeq 24
17: iconst_4
anewarray java.lang.String
dup
iconst_0
18: aload 9
aastore
dup
iconst_1
19: ldc "running"
aastore
dup
iconst_2
20: new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
aload 8
invokeinterface org.apache.catalina.Context.getManager:()Lorg/apache/catalina/Manager;
invokeinterface org.apache.catalina.Manager.findSessions:()[Lorg/apache/catalina/Session;
arraylength
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aastore
dup
iconst_3
21: aload 8
invokeinterface org.apache.catalina.Context.getDocBase:()Ljava/lang/String;
aastore
22: invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
astore 10
23: goto 30
24: StackMap locals: java.util.List
StackMap stack:
iconst_4
anewarray java.lang.String
dup
iconst_0
25: aload 9
aastore
dup
iconst_1
26: ldc "stopped"
aastore
dup
iconst_2
27: ldc "0"
aastore
dup
iconst_3
28: aload 8
invokeinterface org.apache.catalina.Context.getDocBase:()Ljava/lang/String;
aastore
29: invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
astore 10
30: StackMap locals:
StackMap stack:
aload 1
aload 10
bipush 58
invokestatic org.apache.tomcat.util.buf.StringUtils.join:(Ljava/util/Collection;C)Ljava/lang/String;
invokevirtual java.io.PrintWriter.println:(Ljava/lang/String;)V
end local 10 end local 9 end local 8 end local 4 31: StackMap locals: org.apache.catalina.manager.ManagerServlet java.io.PrintWriter org.apache.tomcat.util.res.StringManager org.apache.catalina.Container[] top int int org.apache.catalina.Container[]
StackMap stack:
iinc 5 1
StackMap locals:
StackMap stack:
32: iload 5
iload 6
if_icmplt 9
33: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 34 0 this Lorg/apache/catalina/manager/ManagerServlet;
0 34 1 writer Ljava/io/PrintWriter;
0 34 2 smClient Lorg/apache/tomcat/util/res/StringManager;
8 34 3 contexts [Lorg/apache/catalina/Container;
10 31 4 container Lorg/apache/catalina/Container;
11 31 8 context Lorg/apache/catalina/Context;
13 31 9 displayPath Ljava/lang/String;
16 31 10 parts Ljava/util/List<Ljava/lang/String;>;
MethodParameters:
Name Flags
writer
smClient
protected void reload(java.io.PrintWriter, org.apache.catalina.util.ContextName, org.apache.tomcat.util.res.StringManager);
descriptor: (Ljava/io/PrintWriter;Lorg/apache/catalina/util/ContextName;Lorg/apache/tomcat/util/res/StringManager;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=7, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getfield org.apache.catalina.manager.ManagerServlet.debug:I
iconst_1
if_icmplt 2
1: aload 0
new java.lang.StringBuilder
dup
ldc "restart: Reloading web application '"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc "'"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual org.apache.catalina.manager.ManagerServlet.log:(Ljava/lang/String;)V
2: StackMap locals:
StackMap stack:
aload 2
aload 1
aload 3
invokestatic org.apache.catalina.manager.ManagerServlet.validateContextName:(Lorg/apache/catalina/util/ContextName;Ljava/io/PrintWriter;Lorg/apache/tomcat/util/res/StringManager;)Z
ifne 4
3: return
4: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.catalina.manager.ManagerServlet.host:Lorg/apache/catalina/Host;
aload 2
invokevirtual org.apache.catalina.util.ContextName.getName:()Ljava/lang/String;
invokeinterface org.apache.catalina.Host.findChild:(Ljava/lang/String;)Lorg/apache/catalina/Container;
checkcast org.apache.catalina.Context
astore 4
start local 4 5: aload 4
ifnonnull 10
6: aload 1
aload 3
ldc "managerServlet.noContext"
iconst_1
anewarray java.lang.Object
dup
iconst_0
7: aload 2
invokevirtual org.apache.catalina.util.ContextName.getDisplayName:()Ljava/lang/String;
invokestatic org.apache.tomcat.util.security.Escape.htmlElementContent:(Ljava/lang/String;)Ljava/lang/String;
aastore
8: invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokevirtual java.io.PrintWriter.println:(Ljava/lang/String;)V
9: return
10: StackMap locals: org.apache.catalina.Context
StackMap stack:
aload 4
invokeinterface org.apache.catalina.Context.getName:()Ljava/lang/String;
aload 0
getfield org.apache.catalina.manager.ManagerServlet.context:Lorg/apache/catalina/Context;
invokeinterface org.apache.catalina.Context.getName:()Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 13
11: aload 1
aload 3
ldc "managerServlet.noSelf"
invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.io.PrintWriter.println:(Ljava/lang/String;)V
12: return
13: StackMap locals:
StackMap stack:
aload 4
invokeinterface org.apache.catalina.Context.reload:()V
14: aload 1
aload 3
ldc "managerServlet.reloaded"
iconst_1
anewarray java.lang.Object
dup
iconst_0
15: aload 2
invokevirtual org.apache.catalina.util.ContextName.getDisplayName:()Ljava/lang/String;
aastore
16: invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokevirtual java.io.PrintWriter.println:(Ljava/lang/String;)V
end local 4 17: goto 24
StackMap locals: org.apache.catalina.manager.ManagerServlet java.io.PrintWriter org.apache.catalina.util.ContextName org.apache.tomcat.util.res.StringManager
StackMap stack: java.lang.Throwable
18: astore 4
start local 4 19: aload 4
invokestatic org.apache.tomcat.util.ExceptionUtils.handleThrowable:(Ljava/lang/Throwable;)V
20: aload 0
getstatic org.apache.catalina.manager.ManagerServlet.sm:Lorg/apache/tomcat/util/res/StringManager;
ldc "managerServlet.error.reload"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 2
invokevirtual org.apache.catalina.util.ContextName.getDisplayName:()Ljava/lang/String;
aastore
invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
aload 4
invokevirtual org.apache.catalina.manager.ManagerServlet.log:(Ljava/lang/String;Ljava/lang/Throwable;)V
21: aload 1
aload 3
ldc "managerServlet.exception"
iconst_1
anewarray java.lang.Object
dup
iconst_0
22: aload 4
invokevirtual java.lang.Throwable.toString:()Ljava/lang/String;
aastore
23: invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokevirtual java.io.PrintWriter.println:(Ljava/lang/String;)V
end local 4 24: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 25 0 this Lorg/apache/catalina/manager/ManagerServlet;
0 25 1 writer Ljava/io/PrintWriter;
0 25 2 cn Lorg/apache/catalina/util/ContextName;
0 25 3 smClient Lorg/apache/tomcat/util/res/StringManager;
5 17 4 context Lorg/apache/catalina/Context;
19 24 4 t Ljava/lang/Throwable;
Exception table:
from to target type
4 9 18 Class java.lang.Throwable
10 12 18 Class java.lang.Throwable
13 17 18 Class java.lang.Throwable
MethodParameters:
Name Flags
writer
cn
smClient
protected void resources(java.io.PrintWriter, java.lang.String, org.apache.tomcat.util.res.StringManager);
descriptor: (Ljava/io/PrintWriter;Ljava/lang/String;Lorg/apache/tomcat/util/res/StringManager;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=7, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getfield org.apache.catalina.manager.ManagerServlet.debug:I
iconst_1
if_icmplt 5
1: aload 2
ifnull 4
2: aload 0
new java.lang.StringBuilder
dup
ldc "resources: Listing resources of type "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual org.apache.catalina.manager.ManagerServlet.log:(Ljava/lang/String;)V
3: goto 5
4: StackMap locals:
StackMap stack:
aload 0
ldc "resources: Listing resources of all types"
invokevirtual org.apache.catalina.manager.ManagerServlet.log:(Ljava/lang/String;)V
5: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.catalina.manager.ManagerServlet.global:Ljavax/naming/Context;
ifnonnull 8
6: aload 1
aload 3
ldc "managerServlet.noGlobal"
invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.io.PrintWriter.println:(Ljava/lang/String;)V
7: return
8: StackMap locals:
StackMap stack:
aload 2
ifnull 13
9: aload 1
aload 3
ldc "managerServlet.resourcesType"
iconst_1
anewarray java.lang.Object
dup
iconst_0
10: aload 2
aastore
11: invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokevirtual java.io.PrintWriter.println:(Ljava/lang/String;)V
12: goto 14
13: StackMap locals:
StackMap stack:
aload 1
aload 3
ldc "managerServlet.resourcesAll"
invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.io.PrintWriter.println:(Ljava/lang/String;)V
14: StackMap locals:
StackMap stack:
aload 0
aload 1
ldc ""
aload 0
getfield org.apache.catalina.manager.ManagerServlet.global:Ljavax/naming/Context;
aload 2
aload 3
invokevirtual org.apache.catalina.manager.ManagerServlet.printResources:(Ljava/io/PrintWriter;Ljava/lang/String;Ljavax/naming/Context;Ljava/lang/String;Lorg/apache/tomcat/util/res/StringManager;)V
15: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Lorg/apache/catalina/manager/ManagerServlet;
0 16 1 writer Ljava/io/PrintWriter;
0 16 2 type Ljava/lang/String;
0 16 3 smClient Lorg/apache/tomcat/util/res/StringManager;
MethodParameters:
Name Flags
writer
type
smClient
protected void printResources(java.io.PrintWriter, java.lang.String, javax.naming.Context, java.lang.String, org.apache.tomcat.util.res.StringManager);
descriptor: (Ljava/io/PrintWriter;Ljava/lang/String;Ljavax/naming/Context;Ljava/lang/String;Lorg/apache/tomcat/util/res/StringManager;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=7, locals=9, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 3
ldc ""
invokeinterface javax.naming.Context.listBindings:(Ljava/lang/String;)Ljavax/naming/NamingEnumeration;
astore 6
start local 6 1: goto 16
2: StackMap locals: javax.naming.NamingEnumeration
StackMap stack:
aload 6
invokeinterface javax.naming.NamingEnumeration.next:()Ljava/lang/Object;
checkcast javax.naming.Binding
astore 7
start local 7 3: aload 7
invokevirtual javax.naming.Binding.getObject:()Ljava/lang/Object;
astore 8
start local 8 4: aload 8
instanceof javax.naming.Context
ifeq 9
5: aload 0
aload 1
new java.lang.StringBuilder
dup
aload 2
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 7
invokevirtual javax.naming.Binding.getName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "/"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
6: aload 8
checkcast javax.naming.Context
aload 4
aload 5
7: invokevirtual org.apache.catalina.manager.ManagerServlet.printResources:(Ljava/io/PrintWriter;Ljava/lang/String;Ljavax/naming/Context;Ljava/lang/String;Lorg/apache/tomcat/util/res/StringManager;)V
8: goto 16
9: StackMap locals: javax.naming.Binding java.lang.Object
StackMap stack:
aload 4
ifnull 12
aload 8
ifnull 16
10: aload 8
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
aload 4
invokestatic org.apache.tomcat.util.IntrospectionUtils.isInstance:(Ljava/lang/Class;Ljava/lang/String;)Z
ifne 12
11: goto 16
12: StackMap locals:
StackMap stack:
aload 1
new java.lang.StringBuilder
dup
aload 2
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 7
invokevirtual javax.naming.Binding.getName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.io.PrintWriter.print:(Ljava/lang/String;)V
13: aload 1
bipush 58
invokevirtual java.io.PrintWriter.print:(C)V
14: aload 1
aload 7
invokevirtual javax.naming.Binding.getClassName:()Ljava/lang/String;
invokevirtual java.io.PrintWriter.print:(Ljava/lang/String;)V
15: aload 1
invokevirtual java.io.PrintWriter.println:()V
end local 8 end local 7 16: StackMap locals:
StackMap stack:
aload 6
invokeinterface javax.naming.NamingEnumeration.hasMore:()Z
ifne 2
end local 6 17: goto 24
StackMap locals: org.apache.catalina.manager.ManagerServlet java.io.PrintWriter java.lang.String javax.naming.Context java.lang.String org.apache.tomcat.util.res.StringManager
StackMap stack: java.lang.Throwable
18: astore 6
start local 6 19: aload 6
invokestatic org.apache.tomcat.util.ExceptionUtils.handleThrowable:(Ljava/lang/Throwable;)V
20: aload 0
getstatic org.apache.catalina.manager.ManagerServlet.sm:Lorg/apache/tomcat/util/res/StringManager;
ldc "managerServlet.error.resources"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 4
aastore
invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
aload 6
invokevirtual org.apache.catalina.manager.ManagerServlet.log:(Ljava/lang/String;Ljava/lang/Throwable;)V
21: aload 1
aload 5
ldc "managerServlet.exception"
iconst_1
anewarray java.lang.Object
dup
iconst_0
22: aload 6
invokevirtual java.lang.Throwable.toString:()Ljava/lang/String;
aastore
23: invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokevirtual java.io.PrintWriter.println:(Ljava/lang/String;)V
end local 6 24: StackMap locals:
StackMap stack:
return
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 25 0 this Lorg/apache/catalina/manager/ManagerServlet;
0 25 1 writer Ljava/io/PrintWriter;
0 25 2 prefix Ljava/lang/String;
0 25 3 namingContext Ljavax/naming/Context;
0 25 4 type Ljava/lang/String;
0 25 5 smClient Lorg/apache/tomcat/util/res/StringManager;
1 17 6 items Ljavax/naming/NamingEnumeration<Ljavax/naming/Binding;>;
3 16 7 item Ljavax/naming/Binding;
4 16 8 obj Ljava/lang/Object;
19 24 6 t Ljava/lang/Throwable;
Exception table:
from to target type
0 17 18 Class java.lang.Throwable
MethodParameters:
Name Flags
writer
prefix
namingContext
type
smClient
protected void serverinfo(java.io.PrintWriter, org.apache.tomcat.util.res.StringManager);
descriptor: (Ljava/io/PrintWriter;Lorg/apache/tomcat/util/res/StringManager;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=7, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield org.apache.catalina.manager.ManagerServlet.debug:I
iconst_1
if_icmplt 2
1: aload 0
ldc "serverinfo"
invokevirtual org.apache.catalina.manager.ManagerServlet.log:(Ljava/lang/String;)V
2: StackMap locals:
StackMap stack:
aload 1
aload 2
ldc "managerServlet.serverInfo"
bipush 6
anewarray java.lang.Object
dup
iconst_0
invokestatic org.apache.catalina.util.ServerInfo.getServerInfo:()Ljava/lang/String;
aastore
dup
iconst_1
3: ldc "os.name"
invokestatic java.lang.System.getProperty:(Ljava/lang/String;)Ljava/lang/String;
aastore
dup
iconst_2
ldc "os.version"
invokestatic java.lang.System.getProperty:(Ljava/lang/String;)Ljava/lang/String;
aastore
dup
iconst_3
ldc "os.arch"
invokestatic java.lang.System.getProperty:(Ljava/lang/String;)Ljava/lang/String;
aastore
dup
iconst_4
4: ldc "java.runtime.version"
invokestatic java.lang.System.getProperty:(Ljava/lang/String;)Ljava/lang/String;
aastore
dup
iconst_5
ldc "java.vm.vendor"
invokestatic java.lang.System.getProperty:(Ljava/lang/String;)Ljava/lang/String;
aastore
5: invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokevirtual java.io.PrintWriter.println:(Ljava/lang/String;)V
6: goto 13
StackMap locals:
StackMap stack: java.lang.Throwable
7: astore 3
start local 3 8: aload 3
invokestatic org.apache.tomcat.util.ExceptionUtils.handleThrowable:(Ljava/lang/Throwable;)V
9: aload 0
getstatic org.apache.catalina.manager.ManagerServlet.sm:Lorg/apache/tomcat/util/res/StringManager;
ldc "managerServlet.error.serverInfo"
invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;)Ljava/lang/String;
aload 3
invokevirtual org.apache.catalina.manager.ManagerServlet.log:(Ljava/lang/String;Ljava/lang/Throwable;)V
10: aload 1
aload 2
ldc "managerServlet.exception"
iconst_1
anewarray java.lang.Object
dup
iconst_0
11: aload 3
invokevirtual java.lang.Throwable.toString:()Ljava/lang/String;
aastore
12: invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokevirtual java.io.PrintWriter.println:(Ljava/lang/String;)V
end local 3 13: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lorg/apache/catalina/manager/ManagerServlet;
0 14 1 writer Ljava/io/PrintWriter;
0 14 2 smClient Lorg/apache/tomcat/util/res/StringManager;
8 13 3 t Ljava/lang/Throwable;
Exception table:
from to target type
2 6 7 Class java.lang.Throwable
MethodParameters:
Name Flags
writer
smClient
protected void sessions(java.io.PrintWriter, org.apache.catalina.util.ContextName, int, org.apache.tomcat.util.res.StringManager);
descriptor: (Ljava/io/PrintWriter;Lorg/apache/catalina/util/ContextName;ILorg/apache/tomcat/util/res/StringManager;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=9, locals=20, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
getfield org.apache.catalina.manager.ManagerServlet.debug:I
iconst_1
if_icmplt 4
1: aload 0
new java.lang.StringBuilder
dup
ldc "sessions: Session information for web application '"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc "'"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual org.apache.catalina.manager.ManagerServlet.log:(Ljava/lang/String;)V
2: iload 3
iflt 4
3: aload 0
new java.lang.StringBuilder
dup
ldc "sessions: Session expiration for "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 3
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc " minutes '"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc "'"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual org.apache.catalina.manager.ManagerServlet.log:(Ljava/lang/String;)V
4: StackMap locals:
StackMap stack:
aload 2
aload 1
aload 4
invokestatic org.apache.catalina.manager.ManagerServlet.validateContextName:(Lorg/apache/catalina/util/ContextName;Ljava/io/PrintWriter;Lorg/apache/tomcat/util/res/StringManager;)Z
ifne 6
5: return
6: StackMap locals:
StackMap stack:
aload 2
invokevirtual org.apache.catalina.util.ContextName.getDisplayName:()Ljava/lang/String;
astore 5
start local 5 7: aload 0
getfield org.apache.catalina.manager.ManagerServlet.host:Lorg/apache/catalina/Host;
aload 2
invokevirtual org.apache.catalina.util.ContextName.getName:()Ljava/lang/String;
invokeinterface org.apache.catalina.Host.findChild:(Ljava/lang/String;)Lorg/apache/catalina/Container;
checkcast org.apache.catalina.Context
astore 6
start local 6 8: aload 6
ifnonnull 13
9: aload 1
aload 4
ldc "managerServlet.noContext"
iconst_1
anewarray java.lang.Object
dup
iconst_0
10: aload 5
invokestatic org.apache.tomcat.util.security.Escape.htmlElementContent:(Ljava/lang/String;)Ljava/lang/String;
aastore
11: invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokevirtual java.io.PrintWriter.println:(Ljava/lang/String;)V
12: return
13: StackMap locals: java.lang.String org.apache.catalina.Context
StackMap stack:
aload 6
invokeinterface org.apache.catalina.Context.getManager:()Lorg/apache/catalina/Manager;
astore 7
start local 7 14: aload 7
ifnonnull 19
15: aload 1
aload 4
ldc "managerServlet.noManager"
iconst_1
anewarray java.lang.Object
dup
iconst_0
16: aload 5
invokestatic org.apache.tomcat.util.security.Escape.htmlElementContent:(Ljava/lang/String;)Ljava/lang/String;
aastore
17: invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokevirtual java.io.PrintWriter.println:(Ljava/lang/String;)V
18: return
19: StackMap locals: org.apache.catalina.Manager
StackMap stack:
bipush 60
istore 8
start local 8 20: iconst_1
istore 9
start local 9 21: aload 6
invokeinterface org.apache.catalina.Context.getSessionTimeout:()I
istore 10
start local 10 22: iload 10
ifle 31
23: iload 10
iload 8
idiv
istore 9
24: iload 9
iload 8
imul
iload 10
if_icmpge 26
25: iinc 9 1
26: StackMap locals: int int int
StackMap stack:
iload 9
ifne 28
27: iconst_1
istore 9
28: StackMap locals:
StackMap stack:
iload 10
iload 9
idiv
istore 8
29: iload 9
iload 8
imul
iload 10
if_icmpge 31
30: iinc 8 1
31: StackMap locals:
StackMap stack:
aload 1
aload 4
ldc "managerServlet.sessions"
iconst_1
anewarray java.lang.Object
dup
iconst_0
32: aload 5
aastore
33: invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokevirtual java.io.PrintWriter.println:(Ljava/lang/String;)V
34: aload 1
aload 4
35: ldc "managerServlet.sessiondefaultmax"
iconst_1
anewarray java.lang.Object
dup
iconst_0
36: new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
iload 10
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aastore
37: invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokevirtual java.io.PrintWriter.println:(Ljava/lang/String;)V
38: aload 7
invokeinterface org.apache.catalina.Manager.findSessions:()[Lorg/apache/catalina/Session;
astore 11
start local 11 39: iload 8
iconst_1
iadd
newarray 10
astore 12
start local 12 40: iconst_0
istore 13
start local 13 41: iconst_0
istore 14
start local 14 42: aload 11
dup
astore 18
arraylength
istore 17
iconst_0
istore 16
goto 55
StackMap locals: org.apache.catalina.manager.ManagerServlet java.io.PrintWriter org.apache.catalina.util.ContextName int org.apache.tomcat.util.res.StringManager java.lang.String org.apache.catalina.Context org.apache.catalina.Manager int int int org.apache.catalina.Session[] int[] int int top int int org.apache.catalina.Session[]
StackMap stack:
43: aload 18
iload 16
aaload
astore 15
start local 15 44: aload 15
invokeinterface org.apache.catalina.Session.getIdleTimeInternal:()J
ldc 1000
ldiv
l2i
istore 19
start local 19 45: iload 3
iflt 48
iload 19
iload 3
bipush 60
imul
if_icmplt 48
46: aload 15
invokeinterface org.apache.catalina.Session.expire:()V
47: iinc 14 1
48: StackMap locals: org.apache.catalina.manager.ManagerServlet java.io.PrintWriter org.apache.catalina.util.ContextName int org.apache.tomcat.util.res.StringManager java.lang.String org.apache.catalina.Context org.apache.catalina.Manager int int int org.apache.catalina.Session[] int[] int int org.apache.catalina.Session int int org.apache.catalina.Session[] int
StackMap stack:
iload 19
bipush 60
idiv
iload 9
idiv
istore 19
49: iload 19
ifge 51
50: iinc 13 1
goto 54
51: StackMap locals:
StackMap stack:
iload 19
iload 8
if_icmplt 53
52: aload 12
iload 8
dup2
iaload
iconst_1
iadd
iastore
goto 54
53: StackMap locals:
StackMap stack:
aload 12
iload 19
dup2
iaload
iconst_1
iadd
iastore
end local 19 end local 15 54: StackMap locals: org.apache.catalina.manager.ManagerServlet java.io.PrintWriter org.apache.catalina.util.ContextName int org.apache.tomcat.util.res.StringManager java.lang.String org.apache.catalina.Context org.apache.catalina.Manager int int int org.apache.catalina.Session[] int[] int int top int int org.apache.catalina.Session[]
StackMap stack:
iinc 16 1
StackMap locals:
StackMap stack:
55: iload 16
iload 17
if_icmplt 43
56: aload 12
iconst_0
iaload
ifle 61
57: aload 1
aload 4
58: ldc "managerServlet.sessiontimeout"
iconst_2
anewarray java.lang.Object
dup
iconst_0
59: new java.lang.StringBuilder
dup
ldc "<"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 9
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aastore
dup
iconst_1
new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
aload 12
iconst_0
iaload
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aastore
60: invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokevirtual java.io.PrintWriter.println:(Ljava/lang/String;)V
61: StackMap locals: org.apache.catalina.manager.ManagerServlet java.io.PrintWriter org.apache.catalina.util.ContextName int org.apache.tomcat.util.res.StringManager java.lang.String org.apache.catalina.Context org.apache.catalina.Manager int int int org.apache.catalina.Session[] int[] int int
StackMap stack:
iconst_1
istore 15
start local 15 62: goto 70
63: StackMap locals: int
StackMap stack:
aload 12
iload 15
iaload
ifle 69
64: aload 1
aload 4
65: ldc "managerServlet.sessiontimeout"
iconst_2
anewarray java.lang.Object
dup
iconst_0
66: new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
iload 15
iload 9
imul
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc " - <"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
iload 15
iconst_1
iadd
iload 9
imul
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aastore
dup
iconst_1
67: new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
aload 12
iload 15
iaload
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aastore
68: invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokevirtual java.io.PrintWriter.println:(Ljava/lang/String;)V
69: StackMap locals:
StackMap stack:
iinc 15 1
StackMap locals:
StackMap stack:
70: iload 15
iload 8
if_icmplt 63
end local 15 71: aload 12
iload 8
iaload
ifle 77
72: aload 1
aload 4
73: ldc "managerServlet.sessiontimeout"
iconst_2
anewarray java.lang.Object
dup
iconst_0
74: new java.lang.StringBuilder
dup
ldc ">="
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 8
iload 9
imul
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aastore
dup
iconst_1
75: new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
aload 12
iload 8
iaload
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aastore
76: invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokevirtual java.io.PrintWriter.println:(Ljava/lang/String;)V
77: StackMap locals:
StackMap stack:
iload 13
ifle 82
78: aload 1
aload 4
79: ldc "managerServlet.sessiontimeout.unlimited"
iconst_1
anewarray java.lang.Object
dup
iconst_0
80: new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
iload 13
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aastore
81: invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokevirtual java.io.PrintWriter.println:(Ljava/lang/String;)V
82: StackMap locals:
StackMap stack:
iload 3
iflt 94
83: aload 1
aload 4
84: ldc "managerServlet.sessiontimeout.expired"
iconst_2
anewarray java.lang.Object
dup
iconst_0
85: new java.lang.StringBuilder
dup
ldc ">"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 3
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aastore
dup
iconst_1
new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
iload 14
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aastore
86: invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokevirtual java.io.PrintWriter.println:(Ljava/lang/String;)V
end local 14 end local 13 end local 12 end local 11 end local 10 end local 9 end local 8 end local 7 end local 6 87: goto 94
StackMap locals: org.apache.catalina.manager.ManagerServlet java.io.PrintWriter org.apache.catalina.util.ContextName int org.apache.tomcat.util.res.StringManager java.lang.String
StackMap stack: java.lang.Throwable
88: astore 6
start local 6 89: aload 6
invokestatic org.apache.tomcat.util.ExceptionUtils.handleThrowable:(Ljava/lang/Throwable;)V
90: aload 0
getstatic org.apache.catalina.manager.ManagerServlet.sm:Lorg/apache/tomcat/util/res/StringManager;
ldc "managerServlet.error.sessions"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 5
aastore
invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
aload 6
invokevirtual org.apache.catalina.manager.ManagerServlet.log:(Ljava/lang/String;Ljava/lang/Throwable;)V
91: aload 1
aload 4
ldc "managerServlet.exception"
iconst_1
anewarray java.lang.Object
dup
iconst_0
92: aload 6
invokevirtual java.lang.Throwable.toString:()Ljava/lang/String;
aastore
93: invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokevirtual java.io.PrintWriter.println:(Ljava/lang/String;)V
end local 6 94: StackMap locals:
StackMap stack:
return
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 95 0 this Lorg/apache/catalina/manager/ManagerServlet;
0 95 1 writer Ljava/io/PrintWriter;
0 95 2 cn Lorg/apache/catalina/util/ContextName;
0 95 3 idle I
0 95 4 smClient Lorg/apache/tomcat/util/res/StringManager;
7 95 5 displayPath Ljava/lang/String;
8 87 6 context Lorg/apache/catalina/Context;
14 87 7 manager Lorg/apache/catalina/Manager;
20 87 8 maxCount I
21 87 9 histoInterval I
22 87 10 maxInactiveInterval I
39 87 11 sessions [Lorg/apache/catalina/Session;
40 87 12 timeout [I
41 87 13 notimeout I
42 87 14 expired I
44 54 15 session Lorg/apache/catalina/Session;
45 54 19 time I
62 71 15 i I
89 94 6 t Ljava/lang/Throwable;
Exception table:
from to target type
7 12 88 Class java.lang.Throwable
13 18 88 Class java.lang.Throwable
19 87 88 Class java.lang.Throwable
MethodParameters:
Name Flags
writer
cn
idle
smClient
protected void expireSessions(java.io.PrintWriter, org.apache.catalina.util.ContextName, jakarta.servlet.http.HttpServletRequest, org.apache.tomcat.util.res.StringManager);
descriptor: (Ljava/io/PrintWriter;Lorg/apache/catalina/util/ContextName;Ljakarta/servlet/http/HttpServletRequest;Lorg/apache/tomcat/util/res/StringManager;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=7, locals=7, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: iconst_m1
istore 5
start local 5 1: aload 3
ldc "idle"
invokeinterface jakarta.servlet.http.HttpServletRequest.getParameter:(Ljava/lang/String;)Ljava/lang/String;
astore 6
start local 6 2: aload 6
ifnull 7
3: aload 6
invokestatic java.lang.Integer.parseInt:(Ljava/lang/String;)I
istore 5
4: goto 7
StackMap locals: org.apache.catalina.manager.ManagerServlet java.io.PrintWriter org.apache.catalina.util.ContextName jakarta.servlet.http.HttpServletRequest org.apache.tomcat.util.res.StringManager int java.lang.String
StackMap stack: java.lang.NumberFormatException
5: pop
6: aload 0
getstatic org.apache.catalina.manager.ManagerServlet.sm:Lorg/apache/tomcat/util/res/StringManager;
ldc "managerServlet.error.idleParam"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 6
aastore
invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokevirtual org.apache.catalina.manager.ManagerServlet.log:(Ljava/lang/String;)V
7: StackMap locals:
StackMap stack:
aload 0
aload 1
aload 2
iload 5
aload 4
invokevirtual org.apache.catalina.manager.ManagerServlet.sessions:(Ljava/io/PrintWriter;Lorg/apache/catalina/util/ContextName;ILorg/apache/tomcat/util/res/StringManager;)V
8: return
end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/apache/catalina/manager/ManagerServlet;
0 9 1 writer Ljava/io/PrintWriter;
0 9 2 cn Lorg/apache/catalina/util/ContextName;
0 9 3 req Ljakarta/servlet/http/HttpServletRequest;
0 9 4 smClient Lorg/apache/tomcat/util/res/StringManager;
1 9 5 idle I
2 9 6 idleParam Ljava/lang/String;
Exception table:
from to target type
3 4 5 Class java.lang.NumberFormatException
MethodParameters:
Name Flags
writer
cn
req
smClient
protected void start(java.io.PrintWriter, org.apache.catalina.util.ContextName, org.apache.tomcat.util.res.StringManager);
descriptor: (Ljava/io/PrintWriter;Lorg/apache/catalina/util/ContextName;Lorg/apache/tomcat/util/res/StringManager;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=7, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getfield org.apache.catalina.manager.ManagerServlet.debug:I
iconst_1
if_icmplt 2
1: aload 0
new java.lang.StringBuilder
dup
ldc "start: Starting web application '"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc "'"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual org.apache.catalina.manager.ManagerServlet.log:(Ljava/lang/String;)V
2: StackMap locals:
StackMap stack:
aload 2
aload 1
aload 3
invokestatic org.apache.catalina.manager.ManagerServlet.validateContextName:(Lorg/apache/catalina/util/ContextName;Ljava/io/PrintWriter;Lorg/apache/tomcat/util/res/StringManager;)Z
ifne 4
3: return
4: StackMap locals:
StackMap stack:
aload 2
invokevirtual org.apache.catalina.util.ContextName.getDisplayName:()Ljava/lang/String;
astore 4
start local 4 5: aload 0
getfield org.apache.catalina.manager.ManagerServlet.host:Lorg/apache/catalina/Host;
aload 2
invokevirtual org.apache.catalina.util.ContextName.getName:()Ljava/lang/String;
invokeinterface org.apache.catalina.Host.findChild:(Ljava/lang/String;)Lorg/apache/catalina/Container;
checkcast org.apache.catalina.Context
astore 5
start local 5 6: aload 5
ifnonnull 11
7: aload 1
aload 3
ldc "managerServlet.noContext"
iconst_1
anewarray java.lang.Object
dup
iconst_0
8: aload 4
invokestatic org.apache.tomcat.util.security.Escape.htmlElementContent:(Ljava/lang/String;)Ljava/lang/String;
aastore
9: invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokevirtual java.io.PrintWriter.println:(Ljava/lang/String;)V
10: return
11: StackMap locals: java.lang.String org.apache.catalina.Context
StackMap stack:
aload 5
invokeinterface org.apache.catalina.Context.start:()V
12: aload 5
invokeinterface org.apache.catalina.Context.getState:()Lorg/apache/catalina/LifecycleState;
invokevirtual org.apache.catalina.LifecycleState.isAvailable:()Z
ifeq 17
13: aload 1
aload 3
ldc "managerServlet.started"
iconst_1
anewarray java.lang.Object
dup
iconst_0
14: aload 4
aastore
15: invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokevirtual java.io.PrintWriter.println:(Ljava/lang/String;)V
16: goto 30
17: StackMap locals:
StackMap stack:
aload 1
aload 3
ldc "managerServlet.startFailed"
iconst_1
anewarray java.lang.Object
dup
iconst_0
18: aload 4
aastore
19: invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokevirtual java.io.PrintWriter.println:(Ljava/lang/String;)V
end local 5 20: goto 30
StackMap locals: org.apache.catalina.manager.ManagerServlet java.io.PrintWriter org.apache.catalina.util.ContextName org.apache.tomcat.util.res.StringManager java.lang.String
StackMap stack: java.lang.Throwable
21: astore 5
start local 5 22: aload 5
invokestatic org.apache.tomcat.util.ExceptionUtils.handleThrowable:(Ljava/lang/Throwable;)V
23: aload 0
getstatic org.apache.catalina.manager.ManagerServlet.sm:Lorg/apache/tomcat/util/res/StringManager;
ldc "managerServlet.error.start"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 4
aastore
invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
aload 5
invokevirtual org.apache.catalina.manager.ManagerServlet.log:(Ljava/lang/String;Ljava/lang/Throwable;)V
24: aload 1
aload 3
ldc "managerServlet.startFailed"
iconst_1
anewarray java.lang.Object
dup
iconst_0
25: aload 4
aastore
26: invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokevirtual java.io.PrintWriter.println:(Ljava/lang/String;)V
27: aload 1
aload 3
ldc "managerServlet.exception"
iconst_1
anewarray java.lang.Object
dup
iconst_0
28: aload 5
invokevirtual java.lang.Throwable.toString:()Ljava/lang/String;
aastore
29: invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokevirtual java.io.PrintWriter.println:(Ljava/lang/String;)V
end local 5 30: StackMap locals:
StackMap stack:
return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 31 0 this Lorg/apache/catalina/manager/ManagerServlet;
0 31 1 writer Ljava/io/PrintWriter;
0 31 2 cn Lorg/apache/catalina/util/ContextName;
0 31 3 smClient Lorg/apache/tomcat/util/res/StringManager;
5 31 4 displayPath Ljava/lang/String;
6 20 5 context Lorg/apache/catalina/Context;
22 30 5 t Ljava/lang/Throwable;
Exception table:
from to target type
5 10 21 Class java.lang.Throwable
11 20 21 Class java.lang.Throwable
MethodParameters:
Name Flags
writer
cn
smClient
protected void stop(java.io.PrintWriter, org.apache.catalina.util.ContextName, org.apache.tomcat.util.res.StringManager);
descriptor: (Ljava/io/PrintWriter;Lorg/apache/catalina/util/ContextName;Lorg/apache/tomcat/util/res/StringManager;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=7, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getfield org.apache.catalina.manager.ManagerServlet.debug:I
iconst_1
if_icmplt 2
1: aload 0
new java.lang.StringBuilder
dup
ldc "stop: Stopping web application '"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc "'"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual org.apache.catalina.manager.ManagerServlet.log:(Ljava/lang/String;)V
2: StackMap locals:
StackMap stack:
aload 2
aload 1
aload 3
invokestatic org.apache.catalina.manager.ManagerServlet.validateContextName:(Lorg/apache/catalina/util/ContextName;Ljava/io/PrintWriter;Lorg/apache/tomcat/util/res/StringManager;)Z
ifne 4
3: return
4: StackMap locals:
StackMap stack:
aload 2
invokevirtual org.apache.catalina.util.ContextName.getDisplayName:()Ljava/lang/String;
astore 4
start local 4 5: aload 0
getfield org.apache.catalina.manager.ManagerServlet.host:Lorg/apache/catalina/Host;
aload 2
invokevirtual org.apache.catalina.util.ContextName.getName:()Ljava/lang/String;
invokeinterface org.apache.catalina.Host.findChild:(Ljava/lang/String;)Lorg/apache/catalina/Container;
checkcast org.apache.catalina.Context
astore 5
start local 5 6: aload 5
ifnonnull 11
7: aload 1
aload 3
ldc "managerServlet.noContext"
iconst_1
anewarray java.lang.Object
dup
iconst_0
8: aload 4
invokestatic org.apache.tomcat.util.security.Escape.htmlElementContent:(Ljava/lang/String;)Ljava/lang/String;
aastore
9: invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokevirtual java.io.PrintWriter.println:(Ljava/lang/String;)V
10: return
11: StackMap locals: java.lang.String org.apache.catalina.Context
StackMap stack:
aload 5
invokeinterface org.apache.catalina.Context.getName:()Ljava/lang/String;
aload 0
getfield org.apache.catalina.manager.ManagerServlet.context:Lorg/apache/catalina/Context;
invokeinterface org.apache.catalina.Context.getName:()Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 14
12: aload 1
aload 3
ldc "managerServlet.noSelf"
invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.io.PrintWriter.println:(Ljava/lang/String;)V
13: return
14: StackMap locals:
StackMap stack:
aload 5
invokeinterface org.apache.catalina.Context.stop:()V
15: aload 1
aload 3
16: ldc "managerServlet.stopped"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 4
aastore
17: invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokevirtual java.io.PrintWriter.println:(Ljava/lang/String;)V
end local 5 18: goto 25
StackMap locals: org.apache.catalina.manager.ManagerServlet java.io.PrintWriter org.apache.catalina.util.ContextName org.apache.tomcat.util.res.StringManager java.lang.String
StackMap stack: java.lang.Throwable
19: astore 5
start local 5 20: aload 5
invokestatic org.apache.tomcat.util.ExceptionUtils.handleThrowable:(Ljava/lang/Throwable;)V
21: aload 0
getstatic org.apache.catalina.manager.ManagerServlet.sm:Lorg/apache/tomcat/util/res/StringManager;
ldc "managerServlet.error.stop"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 4
aastore
invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
aload 5
invokevirtual org.apache.catalina.manager.ManagerServlet.log:(Ljava/lang/String;Ljava/lang/Throwable;)V
22: aload 1
aload 3
ldc "managerServlet.exception"
iconst_1
anewarray java.lang.Object
dup
iconst_0
23: aload 5
invokevirtual java.lang.Throwable.toString:()Ljava/lang/String;
aastore
24: invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokevirtual java.io.PrintWriter.println:(Ljava/lang/String;)V
end local 5 25: StackMap locals:
StackMap stack:
return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 26 0 this Lorg/apache/catalina/manager/ManagerServlet;
0 26 1 writer Ljava/io/PrintWriter;
0 26 2 cn Lorg/apache/catalina/util/ContextName;
0 26 3 smClient Lorg/apache/tomcat/util/res/StringManager;
5 26 4 displayPath Ljava/lang/String;
6 18 5 context Lorg/apache/catalina/Context;
20 25 5 t Ljava/lang/Throwable;
Exception table:
from to target type
5 10 19 Class java.lang.Throwable
11 13 19 Class java.lang.Throwable
14 18 19 Class java.lang.Throwable
MethodParameters:
Name Flags
writer
cn
smClient
protected void undeploy(java.io.PrintWriter, org.apache.catalina.util.ContextName, org.apache.tomcat.util.res.StringManager);
descriptor: (Ljava/io/PrintWriter;Lorg/apache/catalina/util/ContextName;Lorg/apache/tomcat/util/res/StringManager;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=7, locals=12, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getfield org.apache.catalina.manager.ManagerServlet.debug:I
iconst_1
if_icmplt 2
1: aload 0
new java.lang.StringBuilder
dup
ldc "undeploy: Undeploying web application at '"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc "'"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual org.apache.catalina.manager.ManagerServlet.log:(Ljava/lang/String;)V
2: StackMap locals:
StackMap stack:
aload 2
aload 1
aload 3
invokestatic org.apache.catalina.manager.ManagerServlet.validateContextName:(Lorg/apache/catalina/util/ContextName;Ljava/io/PrintWriter;Lorg/apache/tomcat/util/res/StringManager;)Z
ifne 4
3: return
4: StackMap locals:
StackMap stack:
aload 2
invokevirtual org.apache.catalina.util.ContextName.getName:()Ljava/lang/String;
astore 4
start local 4 5: aload 2
invokevirtual org.apache.catalina.util.ContextName.getBaseName:()Ljava/lang/String;
astore 5
start local 5 6: aload 2
invokevirtual org.apache.catalina.util.ContextName.getDisplayName:()Ljava/lang/String;
astore 6
start local 6 7: aload 0
getfield org.apache.catalina.manager.ManagerServlet.host:Lorg/apache/catalina/Host;
aload 4
invokeinterface org.apache.catalina.Host.findChild:(Ljava/lang/String;)Lorg/apache/catalina/Container;
checkcast org.apache.catalina.Context
astore 7
start local 7 8: aload 7
ifnonnull 13
9: aload 1
aload 3
ldc "managerServlet.noContext"
iconst_1
anewarray java.lang.Object
dup
iconst_0
10: aload 6
invokestatic org.apache.tomcat.util.security.Escape.htmlElementContent:(Ljava/lang/String;)Ljava/lang/String;
aastore
11: invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokevirtual java.io.PrintWriter.println:(Ljava/lang/String;)V
12: return
13: StackMap locals: org.apache.catalina.manager.ManagerServlet java.io.PrintWriter org.apache.catalina.util.ContextName org.apache.tomcat.util.res.StringManager java.lang.String java.lang.String java.lang.String org.apache.catalina.Context
StackMap stack:
aload 0
aload 4
invokevirtual org.apache.catalina.manager.ManagerServlet.isDeployed:(Ljava/lang/String;)Z
ifne 18
14: aload 1
aload 3
ldc "managerServlet.notDeployed"
iconst_1
anewarray java.lang.Object
dup
iconst_0
15: aload 6
invokestatic org.apache.tomcat.util.security.Escape.htmlElementContent:(Ljava/lang/String;)Ljava/lang/String;
aastore
16: invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokevirtual java.io.PrintWriter.println:(Ljava/lang/String;)V
17: return
18: StackMap locals:
StackMap stack:
aload 0
aload 4
invokevirtual org.apache.catalina.manager.ManagerServlet.isServiced:(Ljava/lang/String;)Z
ifeq 21
19: aload 1
aload 3
ldc "managerServlet.inService"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 6
aastore
invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokevirtual java.io.PrintWriter.println:(Ljava/lang/String;)V
20: goto 53
21: StackMap locals:
StackMap stack:
aload 0
aload 4
invokevirtual org.apache.catalina.manager.ManagerServlet.addServiced:(Ljava/lang/String;)V
22: aload 7
invokeinterface org.apache.catalina.Context.stop:()V
23: goto 26
StackMap locals:
StackMap stack: java.lang.Throwable
24: astore 8
start local 8 25: aload 8
invokestatic org.apache.tomcat.util.ExceptionUtils.handleThrowable:(Ljava/lang/Throwable;)V
end local 8 26: StackMap locals:
StackMap stack:
new java.io.File
dup
aload 0
getfield org.apache.catalina.manager.ManagerServlet.host:Lorg/apache/catalina/Host;
invokeinterface org.apache.catalina.Host.getAppBaseFile:()Ljava/io/File;
new java.lang.StringBuilder
dup
aload 5
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc ".war"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.io.File.<init>:(Ljava/io/File;Ljava/lang/String;)V
astore 8
start local 8 27: new java.io.File
dup
aload 0
getfield org.apache.catalina.manager.ManagerServlet.host:Lorg/apache/catalina/Host;
invokeinterface org.apache.catalina.Host.getAppBaseFile:()Ljava/io/File;
aload 5
invokespecial java.io.File.<init>:(Ljava/io/File;Ljava/lang/String;)V
astore 9
start local 9 28: new java.io.File
dup
aload 0
getfield org.apache.catalina.manager.ManagerServlet.configBase:Ljava/io/File;
new java.lang.StringBuilder
dup
aload 5
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc ".xml"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.io.File.<init>:(Ljava/io/File;Ljava/lang/String;)V
astore 10
start local 10 29: aload 8
invokevirtual java.io.File.exists:()Z
ifeq 35
aload 8
invokevirtual java.io.File.delete:()Z
ifne 35
30: aload 1
aload 3
31: ldc "managerServlet.deleteFail"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 8
aastore
32: invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokevirtual java.io.PrintWriter.println:(Ljava/lang/String;)V
33: aload 0
aload 4
invokevirtual org.apache.catalina.manager.ManagerServlet.removeServiced:(Ljava/lang/String;)V
34: return
35: StackMap locals: java.io.File java.io.File java.io.File
StackMap stack:
aload 9
invokevirtual java.io.File.exists:()Z
ifeq 41
aload 9
iconst_0
invokestatic org.apache.catalina.startup.ExpandWar.delete:(Ljava/io/File;Z)Z
ifne 41
36: aload 1
aload 3
37: ldc "managerServlet.deleteFail"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 9
aastore
38: invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokevirtual java.io.PrintWriter.println:(Ljava/lang/String;)V
39: aload 0
aload 4
invokevirtual org.apache.catalina.manager.ManagerServlet.removeServiced:(Ljava/lang/String;)V
40: return
41: StackMap locals:
StackMap stack:
aload 10
invokevirtual java.io.File.exists:()Z
ifeq 47
aload 10
invokevirtual java.io.File.delete:()Z
ifne 47
42: aload 1
aload 3
43: ldc "managerServlet.deleteFail"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 10
aastore
44: invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokevirtual java.io.PrintWriter.println:(Ljava/lang/String;)V
45: aload 0
aload 4
invokevirtual org.apache.catalina.manager.ManagerServlet.removeServiced:(Ljava/lang/String;)V
46: return
47: StackMap locals:
StackMap stack:
aload 0
aload 4
invokevirtual org.apache.catalina.manager.ManagerServlet.check:(Ljava/lang/String;)V
end local 10 end local 9 end local 8 48: goto 52
StackMap locals: org.apache.catalina.manager.ManagerServlet java.io.PrintWriter org.apache.catalina.util.ContextName org.apache.tomcat.util.res.StringManager java.lang.String java.lang.String java.lang.String org.apache.catalina.Context
StackMap stack: java.lang.Throwable
49: astore 11
50: aload 0
aload 4
invokevirtual org.apache.catalina.manager.ManagerServlet.removeServiced:(Ljava/lang/String;)V
51: aload 11
athrow
52: StackMap locals:
StackMap stack:
aload 0
aload 4
invokevirtual org.apache.catalina.manager.ManagerServlet.removeServiced:(Ljava/lang/String;)V
53: StackMap locals:
StackMap stack:
aload 1
aload 3
ldc "managerServlet.undeployed"
iconst_1
anewarray java.lang.Object
dup
iconst_0
54: aload 6
aastore
55: invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokevirtual java.io.PrintWriter.println:(Ljava/lang/String;)V
end local 7 56: goto 63
StackMap locals: org.apache.catalina.manager.ManagerServlet java.io.PrintWriter org.apache.catalina.util.ContextName org.apache.tomcat.util.res.StringManager java.lang.String java.lang.String java.lang.String
StackMap stack: java.lang.Throwable
57: astore 7
start local 7 58: aload 7
invokestatic org.apache.tomcat.util.ExceptionUtils.handleThrowable:(Ljava/lang/Throwable;)V
59: aload 0
getstatic org.apache.catalina.manager.ManagerServlet.sm:Lorg/apache/tomcat/util/res/StringManager;
ldc "managerServlet.error.undeploy"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 6
aastore
invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
aload 7
invokevirtual org.apache.catalina.manager.ManagerServlet.log:(Ljava/lang/String;Ljava/lang/Throwable;)V
60: aload 1
aload 3
ldc "managerServlet.exception"
iconst_1
anewarray java.lang.Object
dup
iconst_0
61: aload 7
invokevirtual java.lang.Throwable.toString:()Ljava/lang/String;
aastore
62: invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokevirtual java.io.PrintWriter.println:(Ljava/lang/String;)V
end local 7 63: StackMap locals:
StackMap stack:
return
end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 64 0 this Lorg/apache/catalina/manager/ManagerServlet;
0 64 1 writer Ljava/io/PrintWriter;
0 64 2 cn Lorg/apache/catalina/util/ContextName;
0 64 3 smClient Lorg/apache/tomcat/util/res/StringManager;
5 64 4 name Ljava/lang/String;
6 64 5 baseName Ljava/lang/String;
7 64 6 displayPath Ljava/lang/String;
8 56 7 context Lorg/apache/catalina/Context;
25 26 8 t Ljava/lang/Throwable;
27 48 8 war Ljava/io/File;
28 48 9 dir Ljava/io/File;
29 48 10 xml Ljava/io/File;
58 63 7 t Ljava/lang/Throwable;
Exception table:
from to target type
22 23 24 Class java.lang.Throwable
26 33 49 any
35 39 49 any
41 45 49 any
47 49 49 any
7 12 57 Class java.lang.Throwable
13 17 57 Class java.lang.Throwable
18 34 57 Class java.lang.Throwable
35 40 57 Class java.lang.Throwable
41 46 57 Class java.lang.Throwable
47 56 57 Class java.lang.Throwable
MethodParameters:
Name Flags
writer
cn
smClient
protected boolean isDeployed(java.lang.String);
descriptor: (Ljava/lang/String;)Z
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=5, args_size=2
start local 0 start local 1 0: iconst_1
anewarray java.lang.String
dup
iconst_0
aload 1
aastore
astore 2
start local 2 1: iconst_1
anewarray java.lang.String
dup
iconst_0
ldc "java.lang.String"
aastore
astore 3
start local 3 2: aload 0
getfield org.apache.catalina.manager.ManagerServlet.mBeanServer:Ljavax/management/MBeanServer;
aload 0
getfield org.apache.catalina.manager.ManagerServlet.oname:Ljavax/management/ObjectName;
ldc "isDeployed"
aload 2
aload 3
invokeinterface javax.management.MBeanServer.invoke:(Ljavax/management/ObjectName;Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object;
checkcast java.lang.Boolean
3: astore 4
start local 4 4: aload 4
invokevirtual java.lang.Boolean.booleanValue:()Z
ireturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/apache/catalina/manager/ManagerServlet;
0 5 1 name Ljava/lang/String;
1 5 2 params [Ljava/lang/String;
2 5 3 signature [Ljava/lang/String;
4 5 4 result Ljava/lang/Boolean;
Exceptions:
throws java.lang.Exception
MethodParameters:
Name Flags
name
protected void check(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=4, args_size=2
start local 0 start local 1 0: iconst_1
anewarray java.lang.String
dup
iconst_0
aload 1
aastore
astore 2
start local 2 1: iconst_1
anewarray java.lang.String
dup
iconst_0
ldc "java.lang.String"
aastore
astore 3
start local 3 2: aload 0
getfield org.apache.catalina.manager.ManagerServlet.mBeanServer:Ljavax/management/MBeanServer;
aload 0
getfield org.apache.catalina.manager.ManagerServlet.oname:Ljavax/management/ObjectName;
ldc "check"
aload 2
aload 3
invokeinterface javax.management.MBeanServer.invoke:(Ljavax/management/ObjectName;Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object;
pop
3: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/catalina/manager/ManagerServlet;
0 4 1 name Ljava/lang/String;
1 4 2 params [Ljava/lang/String;
2 4 3 signature [Ljava/lang/String;
Exceptions:
throws java.lang.Exception
MethodParameters:
Name Flags
name
protected boolean isServiced(java.lang.String);
descriptor: (Ljava/lang/String;)Z
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=5, args_size=2
start local 0 start local 1 0: iconst_1
anewarray java.lang.String
dup
iconst_0
aload 1
aastore
astore 2
start local 2 1: iconst_1
anewarray java.lang.String
dup
iconst_0
ldc "java.lang.String"
aastore
astore 3
start local 3 2: aload 0
getfield org.apache.catalina.manager.ManagerServlet.mBeanServer:Ljavax/management/MBeanServer;
aload 0
getfield org.apache.catalina.manager.ManagerServlet.oname:Ljavax/management/ObjectName;
ldc "isServiced"
aload 2
aload 3
invokeinterface javax.management.MBeanServer.invoke:(Ljavax/management/ObjectName;Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object;
checkcast java.lang.Boolean
3: astore 4
start local 4 4: aload 4
invokevirtual java.lang.Boolean.booleanValue:()Z
ireturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/apache/catalina/manager/ManagerServlet;
0 5 1 name Ljava/lang/String;
1 5 2 params [Ljava/lang/String;
2 5 3 signature [Ljava/lang/String;
4 5 4 result Ljava/lang/Boolean;
Exceptions:
throws java.lang.Exception
MethodParameters:
Name Flags
name
protected void addServiced(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=4, args_size=2
start local 0 start local 1 0: iconst_1
anewarray java.lang.String
dup
iconst_0
aload 1
aastore
astore 2
start local 2 1: iconst_1
anewarray java.lang.String
dup
iconst_0
ldc "java.lang.String"
aastore
astore 3
start local 3 2: aload 0
getfield org.apache.catalina.manager.ManagerServlet.mBeanServer:Ljavax/management/MBeanServer;
aload 0
getfield org.apache.catalina.manager.ManagerServlet.oname:Ljavax/management/ObjectName;
ldc "addServiced"
aload 2
aload 3
invokeinterface javax.management.MBeanServer.invoke:(Ljavax/management/ObjectName;Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object;
pop
3: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/catalina/manager/ManagerServlet;
0 4 1 name Ljava/lang/String;
1 4 2 params [Ljava/lang/String;
2 4 3 signature [Ljava/lang/String;
Exceptions:
throws java.lang.Exception
MethodParameters:
Name Flags
name
protected void removeServiced(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=4, args_size=2
start local 0 start local 1 0: iconst_1
anewarray java.lang.String
dup
iconst_0
aload 1
aastore
astore 2
start local 2 1: iconst_1
anewarray java.lang.String
dup
iconst_0
ldc "java.lang.String"
aastore
astore 3
start local 3 2: aload 0
getfield org.apache.catalina.manager.ManagerServlet.mBeanServer:Ljavax/management/MBeanServer;
aload 0
getfield org.apache.catalina.manager.ManagerServlet.oname:Ljavax/management/ObjectName;
ldc "removeServiced"
aload 2
aload 3
invokeinterface javax.management.MBeanServer.invoke:(Ljavax/management/ObjectName;Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object;
pop
3: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/catalina/manager/ManagerServlet;
0 4 1 name Ljava/lang/String;
1 4 2 params [Ljava/lang/String;
2 4 3 signature [Ljava/lang/String;
Exceptions:
throws java.lang.Exception
MethodParameters:
Name Flags
name
protected void uploadWar(java.io.PrintWriter, jakarta.servlet.http.HttpServletRequest, java.io.File, org.apache.tomcat.util.res.StringManager);
descriptor: (Ljava/io/PrintWriter;Ljakarta/servlet/http/HttpServletRequest;Ljava/io/File;Lorg/apache/tomcat/util/res/StringManager;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=7, locals=9, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 3
invokevirtual java.io.File.exists:()Z
ifeq 3
aload 3
invokevirtual java.io.File.delete:()Z
ifne 3
1: aload 4
ldc "managerServlet.deleteFail"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 3
aastore
invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
astore 5
start local 5 2: new java.io.IOException
dup
aload 5
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
end local 5 3: StackMap locals:
StackMap stack:
aconst_null
astore 5
aconst_null
astore 6
4: aload 2
invokeinterface jakarta.servlet.http.HttpServletRequest.getInputStream:()Ljakarta/servlet/ServletInputStream;
astore 7
start local 7 5: new java.io.FileOutputStream
dup
aload 3
invokespecial java.io.FileOutputStream.<init>:(Ljava/io/File;)V
astore 8
start local 8 6: aload 7
aload 8
invokestatic org.apache.catalina.util.IOTools.flow:(Ljava/io/InputStream;Ljava/io/OutputStream;)V
7: aload 8
ifnull 10
aload 8
invokevirtual java.io.OutputStream.close:()V
goto 10
StackMap locals: org.apache.catalina.manager.ManagerServlet java.io.PrintWriter jakarta.servlet.http.HttpServletRequest java.io.File org.apache.tomcat.util.res.StringManager java.lang.Throwable java.lang.Throwable jakarta.servlet.ServletInputStream java.io.OutputStream
StackMap stack: java.lang.Throwable
8: astore 5
aload 8
ifnull 9
aload 8
invokevirtual java.io.OutputStream.close:()V
end local 8 StackMap locals:
StackMap stack:
9: aload 5
athrow
StackMap locals:
StackMap stack:
10: aload 7
ifnull 24
aload 7
invokevirtual jakarta.servlet.ServletInputStream.close:()V
goto 24
StackMap locals:
StackMap stack: java.lang.Throwable
11: astore 6
aload 5
ifnonnull 12
aload 6
astore 5
goto 13
StackMap locals:
StackMap stack:
12: aload 5
aload 6
if_acmpeq 13
aload 5
aload 6
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
13: aload 7
ifnull 14
aload 7
invokevirtual jakarta.servlet.ServletInputStream.close:()V
end local 7 StackMap locals:
StackMap stack:
14: aload 5
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
15: astore 6
aload 5
ifnonnull 16
aload 6
astore 5
goto 17
StackMap locals:
StackMap stack:
16: aload 5
aload 6
if_acmpeq 17
aload 5
aload 6
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
17: aload 5
athrow
StackMap locals: org.apache.catalina.manager.ManagerServlet java.io.PrintWriter jakarta.servlet.http.HttpServletRequest java.io.File org.apache.tomcat.util.res.StringManager
StackMap stack: java.io.IOException
18: astore 5
start local 5 19: aload 3
invokevirtual java.io.File.exists:()Z
ifeq 23
aload 3
invokevirtual java.io.File.delete:()Z
ifne 23
20: aload 1
21: aload 4
ldc "managerServlet.deleteFail"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 3
aastore
invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
22: invokevirtual java.io.PrintWriter.println:(Ljava/lang/String;)V
23: StackMap locals: java.io.IOException
StackMap stack:
aload 5
athrow
end local 5 24: StackMap locals:
StackMap stack:
return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 25 0 this Lorg/apache/catalina/manager/ManagerServlet;
0 25 1 writer Ljava/io/PrintWriter;
0 25 2 request Ljakarta/servlet/http/HttpServletRequest;
0 25 3 war Ljava/io/File;
0 25 4 smClient Lorg/apache/tomcat/util/res/StringManager;
2 3 5 msg Ljava/lang/String;
5 14 7 istream Ljakarta/servlet/ServletInputStream;
6 9 8 ostream Ljava/io/OutputStream;
19 24 5 e Ljava/io/IOException;
Exception table:
from to target type
6 7 8 any
5 10 11 any
4 15 15 any
3 18 18 Class java.io.IOException
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
writer
request
war
smClient
protected static boolean validateContextName(org.apache.catalina.util.ContextName, java.io.PrintWriter, org.apache.tomcat.util.res.StringManager);
descriptor: (Lorg/apache/catalina/util/ContextName;Ljava/io/PrintWriter;Lorg/apache/tomcat/util/res/StringManager;)Z
flags: (0x000c) ACC_PROTECTED, ACC_STATIC
Code:
stack=7, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
ifnull 3
1: aload 0
invokevirtual org.apache.catalina.util.ContextName.getPath:()Ljava/lang/String;
ldc "/"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifne 2
aload 0
invokevirtual org.apache.catalina.util.ContextName.getPath:()Ljava/lang/String;
ldc ""
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 3
2: StackMap locals:
StackMap stack:
iconst_1
ireturn
3: StackMap locals:
StackMap stack:
aconst_null
astore 3
start local 3 4: aload 0
ifnull 6
5: aload 0
invokevirtual org.apache.catalina.util.ContextName.getPath:()Ljava/lang/String;
invokestatic org.apache.tomcat.util.security.Escape.htmlElementContent:(Ljava/lang/String;)Ljava/lang/String;
astore 3
6: StackMap locals: java.lang.String
StackMap stack:
aload 1
aload 2
ldc "managerServlet.invalidPath"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 3
aastore
invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokevirtual java.io.PrintWriter.println:(Ljava/lang/String;)V
7: iconst_0
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 cn Lorg/apache/catalina/util/ContextName;
0 8 1 writer Ljava/io/PrintWriter;
0 8 2 smClient Lorg/apache/tomcat/util/res/StringManager;
4 8 3 path Ljava/lang/String;
MethodParameters:
Name Flags
cn
writer
smClient
protected java.util.Map<java.lang.String, java.util.List<java.lang.String>> getConnectorCiphers(org.apache.tomcat.util.res.StringManager);
descriptor: (Lorg/apache/tomcat/util/res/StringManager;)Ljava/util/Map;
flags: (0x0004) ACC_PROTECTED
Code:
stack=7, locals=14, args_size=2
start local 0 start local 1 0: new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
astore 2
start local 2 1: aload 0
invokevirtual org.apache.catalina.manager.ManagerServlet.getConnectors:()[Lorg/apache/catalina/connector/Connector;
astore 3
start local 3 2: aload 3
dup
astore 7
arraylength
istore 6
iconst_0
istore 5
goto 19
StackMap locals: org.apache.catalina.manager.ManagerServlet org.apache.tomcat.util.res.StringManager java.util.Map org.apache.catalina.connector.Connector[] top int int org.apache.catalina.connector.Connector[]
StackMap stack:
3: aload 7
iload 5
aaload
astore 4
start local 4 4: getstatic java.lang.Boolean.TRUE:Ljava/lang/Boolean;
aload 4
ldc "SSLEnabled"
invokevirtual org.apache.catalina.connector.Connector.getProperty:(Ljava/lang/String;)Ljava/lang/Object;
invokevirtual java.lang.Boolean.equals:(Ljava/lang/Object;)Z
ifeq 15
5: aload 4
invokevirtual org.apache.catalina.connector.Connector.getProtocolHandler:()Lorg/apache/coyote/ProtocolHandler;
invokeinterface org.apache.coyote.ProtocolHandler.findSslHostConfigs:()[Lorg/apache/tomcat/util/net/SSLHostConfig;
astore 8
start local 8 6: aload 8
dup
astore 12
arraylength
istore 11
iconst_0
istore 10
goto 13
StackMap locals: org.apache.catalina.manager.ManagerServlet org.apache.tomcat.util.res.StringManager java.util.Map org.apache.catalina.connector.Connector[] org.apache.catalina.connector.Connector int int org.apache.catalina.connector.Connector[] org.apache.tomcat.util.net.SSLHostConfig[] top int int org.apache.tomcat.util.net.SSLHostConfig[]
StackMap stack:
7: aload 12
iload 10
aaload
astore 9
start local 9 8: new java.lang.StringBuilder
dup
aload 4
invokevirtual org.apache.catalina.connector.Connector.toString:()Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc "-"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 9
invokevirtual org.apache.tomcat.util.net.SSLHostConfig.getHostName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 13
start local 13 9: aload 2
aload 13
new java.util.ArrayList
dup
new java.util.LinkedHashSet
dup
10: aload 9
invokevirtual org.apache.tomcat.util.net.SSLHostConfig.getEnabledCiphers:()[Ljava/lang/String;
invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
invokespecial java.util.LinkedHashSet.<init>:(Ljava/util/Collection;)V
invokespecial java.util.ArrayList.<init>:(Ljava/util/Collection;)V
11: invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 13 end local 9 12: iinc 10 1
StackMap locals:
StackMap stack:
13: iload 10
iload 11
if_icmplt 7
end local 8 14: goto 18
15: StackMap locals: org.apache.catalina.manager.ManagerServlet org.apache.tomcat.util.res.StringManager java.util.Map org.apache.catalina.connector.Connector[] org.apache.catalina.connector.Connector int int org.apache.catalina.connector.Connector[]
StackMap stack:
new java.util.ArrayList
dup
iconst_1
invokespecial java.util.ArrayList.<init>:(I)V
astore 8
start local 8 16: aload 8
aload 1
ldc "managerServlet.notSslConnector"
invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
pop
17: aload 2
aload 4
invokevirtual org.apache.catalina.connector.Connector.toString:()Ljava/lang/String;
aload 8
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 8 end local 4 18: StackMap locals: org.apache.catalina.manager.ManagerServlet org.apache.tomcat.util.res.StringManager java.util.Map org.apache.catalina.connector.Connector[] top int int org.apache.catalina.connector.Connector[]
StackMap stack:
iinc 5 1
StackMap locals:
StackMap stack:
19: iload 5
iload 6
if_icmplt 3
20: aload 2
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 21 0 this Lorg/apache/catalina/manager/ManagerServlet;
0 21 1 smClient Lorg/apache/tomcat/util/res/StringManager;
1 21 2 result Ljava/util/Map<Ljava/lang/String;Ljava/util/List<Ljava/lang/String;>;>;
2 21 3 connectors [Lorg/apache/catalina/connector/Connector;
4 18 4 connector Lorg/apache/catalina/connector/Connector;
6 14 8 sslHostConfigs [Lorg/apache/tomcat/util/net/SSLHostConfig;
8 12 9 sslHostConfig Lorg/apache/tomcat/util/net/SSLHostConfig;
9 12 13 name Ljava/lang/String;
16 18 8 cipherList Ljava/util/ArrayList<Ljava/lang/String;>;
Signature: (Lorg/apache/tomcat/util/res/StringManager;)Ljava/util/Map<Ljava/lang/String;Ljava/util/List<Ljava/lang/String;>;>;
MethodParameters:
Name Flags
smClient
protected java.util.Map<java.lang.String, java.util.List<java.lang.String>> getConnectorCerts(org.apache.tomcat.util.res.StringManager);
descriptor: (Lorg/apache/tomcat/util/res/StringManager;)Ljava/util/Map;
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=25, args_size=2
start local 0 start local 1 0: new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
astore 2
start local 2 1: aload 0
invokevirtual org.apache.catalina.manager.ManagerServlet.getConnectors:()[Lorg/apache/catalina/connector/Connector;
astore 3
start local 3 2: aload 3
dup
astore 7
arraylength
istore 6
iconst_0
istore 5
goto 44
StackMap locals: org.apache.catalina.manager.ManagerServlet org.apache.tomcat.util.res.StringManager java.util.Map org.apache.catalina.connector.Connector[] top int int org.apache.catalina.connector.Connector[]
StackMap stack:
3: aload 7
iload 5
aaload
astore 4
start local 4 4: getstatic java.lang.Boolean.TRUE:Ljava/lang/Boolean;
aload 4
ldc "SSLEnabled"
invokevirtual org.apache.catalina.connector.Connector.getProperty:(Ljava/lang/String;)Ljava/lang/Object;
invokevirtual java.lang.Boolean.equals:(Ljava/lang/Object;)Z
ifeq 40
5: aload 4
invokevirtual org.apache.catalina.connector.Connector.getProtocolHandler:()Lorg/apache/coyote/ProtocolHandler;
invokeinterface org.apache.coyote.ProtocolHandler.findSslHostConfigs:()[Lorg/apache/tomcat/util/net/SSLHostConfig;
astore 8
start local 8 6: aload 8
dup
astore 12
arraylength
istore 11
iconst_0
istore 10
goto 38
StackMap locals: org.apache.catalina.manager.ManagerServlet org.apache.tomcat.util.res.StringManager java.util.Map org.apache.catalina.connector.Connector[] org.apache.catalina.connector.Connector int int org.apache.catalina.connector.Connector[] org.apache.tomcat.util.net.SSLHostConfig[] top int int org.apache.tomcat.util.net.SSLHostConfig[]
StackMap stack:
7: aload 12
iload 10
aaload
astore 9
start local 9 8: aload 9
invokevirtual org.apache.tomcat.util.net.SSLHostConfig.getOpenSslContext:()Ljava/lang/Long;
invokevirtual java.lang.Long.longValue:()J
lconst_0
lcmp
ifne 33
9: aload 9
invokevirtual org.apache.tomcat.util.net.SSLHostConfig.getCertificates:()Ljava/util/Set;
10: astore 13
start local 13 11: aload 13
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 15
goto 31
StackMap locals: org.apache.catalina.manager.ManagerServlet org.apache.tomcat.util.res.StringManager java.util.Map org.apache.catalina.connector.Connector[] org.apache.catalina.connector.Connector int int org.apache.catalina.connector.Connector[] org.apache.tomcat.util.net.SSLHostConfig[] org.apache.tomcat.util.net.SSLHostConfig int int org.apache.tomcat.util.net.SSLHostConfig[] java.util.Set top java.util.Iterator
StackMap stack:
12: aload 15
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.tomcat.util.net.SSLHostConfigCertificate
astore 14
start local 14 13: new java.lang.StringBuilder
dup
aload 4
invokevirtual org.apache.catalina.connector.Connector.toString:()Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc "-"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 9
invokevirtual org.apache.tomcat.util.net.SSLHostConfig.getHostName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
14: ldc "-"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 14
invokevirtual org.apache.tomcat.util.net.SSLHostConfigCertificate.getType:()Lorg/apache/tomcat/util/net/SSLHostConfigCertificate$Type;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
15: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 16
start local 16 16: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 17
start local 17 17: aload 14
invokevirtual org.apache.tomcat.util.net.SSLHostConfigCertificate.getSslContext:()Lorg/apache/tomcat/util/net/SSLContext;
astore 18
start local 18 18: aload 14
invokevirtual org.apache.tomcat.util.net.SSLHostConfigCertificate.getCertificateKeyAlias:()Ljava/lang/String;
astore 19
start local 19 19: aload 19
ifnonnull 21
20: ldc "tomcat"
astore 19
21: StackMap locals: org.apache.catalina.manager.ManagerServlet org.apache.tomcat.util.res.StringManager java.util.Map org.apache.catalina.connector.Connector[] org.apache.catalina.connector.Connector int int org.apache.catalina.connector.Connector[] org.apache.tomcat.util.net.SSLHostConfig[] org.apache.tomcat.util.net.SSLHostConfig int int org.apache.tomcat.util.net.SSLHostConfig[] java.util.Set org.apache.tomcat.util.net.SSLHostConfigCertificate java.util.Iterator java.lang.String java.util.List org.apache.tomcat.util.net.SSLContext java.lang.String
StackMap stack:
aload 18
aload 19
invokeinterface org.apache.tomcat.util.net.SSLContext.getCertificateChain:(Ljava/lang/String;)[Ljava/security/cert/X509Certificate;
astore 20
start local 20 22: aload 20
ifnonnull 25
23: aload 17
aload 1
ldc "managerServlet.certsNotAvailable"
invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;)Ljava/lang/String;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
24: goto 30
25: StackMap locals: java.security.cert.X509Certificate[]
StackMap stack:
aload 20
dup
astore 24
arraylength
istore 23
iconst_0
istore 22
goto 29
StackMap locals: org.apache.catalina.manager.ManagerServlet org.apache.tomcat.util.res.StringManager java.util.Map org.apache.catalina.connector.Connector[] org.apache.catalina.connector.Connector int int org.apache.catalina.connector.Connector[] org.apache.tomcat.util.net.SSLHostConfig[] org.apache.tomcat.util.net.SSLHostConfig int int org.apache.tomcat.util.net.SSLHostConfig[] java.util.Set org.apache.tomcat.util.net.SSLHostConfigCertificate java.util.Iterator java.lang.String java.util.List org.apache.tomcat.util.net.SSLContext java.lang.String java.security.cert.X509Certificate[] top int int java.security.cert.Certificate[]
StackMap stack:
26: aload 24
iload 22
aaload
astore 21
start local 21 27: aload 17
aload 21
invokevirtual java.security.cert.Certificate.toString:()Ljava/lang/String;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 21 28: iinc 22 1
StackMap locals:
StackMap stack:
29: iload 22
iload 23
if_icmplt 26
30: StackMap locals: org.apache.catalina.manager.ManagerServlet org.apache.tomcat.util.res.StringManager java.util.Map org.apache.catalina.connector.Connector[] org.apache.catalina.connector.Connector int int org.apache.catalina.connector.Connector[] org.apache.tomcat.util.net.SSLHostConfig[] org.apache.tomcat.util.net.SSLHostConfig int int org.apache.tomcat.util.net.SSLHostConfig[] java.util.Set org.apache.tomcat.util.net.SSLHostConfigCertificate java.util.Iterator java.lang.String java.util.List org.apache.tomcat.util.net.SSLContext java.lang.String java.security.cert.X509Certificate[]
StackMap stack:
aload 2
aload 16
aload 17
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 20 end local 19 end local 18 end local 17 end local 16 end local 14 31: StackMap locals: org.apache.catalina.manager.ManagerServlet org.apache.tomcat.util.res.StringManager java.util.Map org.apache.catalina.connector.Connector[] org.apache.catalina.connector.Connector int int org.apache.catalina.connector.Connector[] org.apache.tomcat.util.net.SSLHostConfig[] org.apache.tomcat.util.net.SSLHostConfig int int org.apache.tomcat.util.net.SSLHostConfig[] java.util.Set top java.util.Iterator
StackMap stack:
aload 15
invokeinterface java.util.Iterator.hasNext:()Z
ifne 12
end local 13 32: goto 37
33: StackMap locals: org.apache.catalina.manager.ManagerServlet org.apache.tomcat.util.res.StringManager java.util.Map org.apache.catalina.connector.Connector[] org.apache.catalina.connector.Connector int int org.apache.catalina.connector.Connector[] org.apache.tomcat.util.net.SSLHostConfig[] org.apache.tomcat.util.net.SSLHostConfig int int org.apache.tomcat.util.net.SSLHostConfig[]
StackMap stack:
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 13
start local 13 34: aload 13
aload 1
ldc "managerServlet.certsNotAvailable"
invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;)Ljava/lang/String;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
35: new java.lang.StringBuilder
dup
aload 4
invokevirtual org.apache.catalina.connector.Connector.toString:()Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc "-"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 9
invokevirtual org.apache.tomcat.util.net.SSLHostConfig.getHostName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 14
start local 14 36: aload 2
aload 14
aload 13
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 14 end local 13 end local 9 37: StackMap locals: org.apache.catalina.manager.ManagerServlet org.apache.tomcat.util.res.StringManager java.util.Map org.apache.catalina.connector.Connector[] org.apache.catalina.connector.Connector int int org.apache.catalina.connector.Connector[] org.apache.tomcat.util.net.SSLHostConfig[] top int int org.apache.tomcat.util.net.SSLHostConfig[]
StackMap stack:
iinc 10 1
StackMap locals:
StackMap stack:
38: iload 10
iload 11
if_icmplt 7
end local 8 39: goto 43
40: StackMap locals: org.apache.catalina.manager.ManagerServlet org.apache.tomcat.util.res.StringManager java.util.Map org.apache.catalina.connector.Connector[] org.apache.catalina.connector.Connector int int org.apache.catalina.connector.Connector[]
StackMap stack:
new java.util.ArrayList
dup
iconst_1
invokespecial java.util.ArrayList.<init>:(I)V
astore 8
start local 8 41: aload 8
aload 1
ldc "managerServlet.notSslConnector"
invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;)Ljava/lang/String;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
42: aload 2
aload 4
invokevirtual org.apache.catalina.connector.Connector.toString:()Ljava/lang/String;
aload 8
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 8 end local 4 43: StackMap locals: org.apache.catalina.manager.ManagerServlet org.apache.tomcat.util.res.StringManager java.util.Map org.apache.catalina.connector.Connector[] top int int org.apache.catalina.connector.Connector[]
StackMap stack:
iinc 5 1
StackMap locals:
StackMap stack:
44: iload 5
iload 6
if_icmplt 3
45: aload 2
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 46 0 this Lorg/apache/catalina/manager/ManagerServlet;
0 46 1 smClient Lorg/apache/tomcat/util/res/StringManager;
1 46 2 result Ljava/util/Map<Ljava/lang/String;Ljava/util/List<Ljava/lang/String;>;>;
2 46 3 connectors [Lorg/apache/catalina/connector/Connector;
4 43 4 connector Lorg/apache/catalina/connector/Connector;
6 39 8 sslHostConfigs [Lorg/apache/tomcat/util/net/SSLHostConfig;
8 37 9 sslHostConfig Lorg/apache/tomcat/util/net/SSLHostConfig;
11 32 13 sslHostConfigCerts Ljava/util/Set<Lorg/apache/tomcat/util/net/SSLHostConfigCertificate;>;
13 31 14 sslHostConfigCert Lorg/apache/tomcat/util/net/SSLHostConfigCertificate;
16 31 16 name Ljava/lang/String;
17 31 17 certList Ljava/util/List<Ljava/lang/String;>;
18 31 18 sslContext Lorg/apache/tomcat/util/net/SSLContext;
19 31 19 alias Ljava/lang/String;
22 31 20 certs [Ljava/security/cert/X509Certificate;
27 28 21 cert Ljava/security/cert/Certificate;
34 37 13 certList Ljava/util/List<Ljava/lang/String;>;
36 37 14 name Ljava/lang/String;
41 43 8 certList Ljava/util/List<Ljava/lang/String;>;
Signature: (Lorg/apache/tomcat/util/res/StringManager;)Ljava/util/Map<Ljava/lang/String;Ljava/util/List<Ljava/lang/String;>;>;
MethodParameters:
Name Flags
smClient
protected java.util.Map<java.lang.String, java.util.List<java.lang.String>> getConnectorTrustedCerts(org.apache.tomcat.util.res.StringManager);
descriptor: (Lorg/apache/tomcat/util/res/StringManager;)Ljava/util/Map;
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=21, args_size=2
start local 0 start local 1 0: new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
astore 2
start local 2 1: aload 0
invokevirtual org.apache.catalina.manager.ManagerServlet.getConnectors:()[Lorg/apache/catalina/connector/Connector;
astore 3
start local 3 2: aload 3
dup
astore 7
arraylength
istore 6
iconst_0
istore 5
goto 35
StackMap locals: org.apache.catalina.manager.ManagerServlet org.apache.tomcat.util.res.StringManager java.util.Map org.apache.catalina.connector.Connector[] top int int org.apache.catalina.connector.Connector[]
StackMap stack:
3: aload 7
iload 5
aaload
astore 4
start local 4 4: getstatic java.lang.Boolean.TRUE:Ljava/lang/Boolean;
aload 4
ldc "SSLEnabled"
invokevirtual org.apache.catalina.connector.Connector.getProperty:(Ljava/lang/String;)Ljava/lang/Object;
invokevirtual java.lang.Boolean.equals:(Ljava/lang/Object;)Z
ifeq 31
5: aload 4
invokevirtual org.apache.catalina.connector.Connector.getProtocolHandler:()Lorg/apache/coyote/ProtocolHandler;
invokeinterface org.apache.coyote.ProtocolHandler.findSslHostConfigs:()[Lorg/apache/tomcat/util/net/SSLHostConfig;
astore 8
start local 8 6: aload 8
dup
astore 12
arraylength
istore 11
iconst_0
istore 10
goto 29
StackMap locals: org.apache.catalina.manager.ManagerServlet org.apache.tomcat.util.res.StringManager java.util.Map org.apache.catalina.connector.Connector[] org.apache.catalina.connector.Connector int int org.apache.catalina.connector.Connector[] org.apache.tomcat.util.net.SSLHostConfig[] top int int org.apache.tomcat.util.net.SSLHostConfig[]
StackMap stack:
7: aload 12
iload 10
aaload
astore 9
start local 9 8: new java.lang.StringBuilder
dup
aload 4
invokevirtual org.apache.catalina.connector.Connector.toString:()Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc "-"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 9
invokevirtual org.apache.tomcat.util.net.SSLHostConfig.getHostName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 13
start local 13 9: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 14
start local 14 10: aload 9
invokevirtual org.apache.tomcat.util.net.SSLHostConfig.getOpenSslContext:()Ljava/lang/Long;
invokevirtual java.lang.Long.longValue:()J
lconst_0
lcmp
ifne 26
11: aload 9
invokevirtual org.apache.tomcat.util.net.SSLHostConfig.getCertificates:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.tomcat.util.net.SSLHostConfigCertificate
invokevirtual org.apache.tomcat.util.net.SSLHostConfigCertificate.getSslContext:()Lorg/apache/tomcat/util/net/SSLContext;
12: astore 15
start local 15 13: aload 15
invokeinterface org.apache.tomcat.util.net.SSLContext.getAcceptedIssuers:()[Ljava/security/cert/X509Certificate;
astore 16
start local 16 14: aload 16
ifnonnull 17
15: aload 14
aload 1
ldc "managerServlet.certsNotAvailable"
invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;)Ljava/lang/String;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
16: goto 27
StackMap locals: org.apache.catalina.manager.ManagerServlet org.apache.tomcat.util.res.StringManager java.util.Map org.apache.catalina.connector.Connector[] org.apache.catalina.connector.Connector int int org.apache.catalina.connector.Connector[] org.apache.tomcat.util.net.SSLHostConfig[] org.apache.tomcat.util.net.SSLHostConfig int int org.apache.tomcat.util.net.SSLHostConfig[] java.lang.String java.util.List org.apache.tomcat.util.net.SSLContext java.security.cert.X509Certificate[]
StackMap stack:
17: aload 16
arraylength
ifne 20
18: aload 14
aload 1
ldc "managerServlet.trustedCertsNotConfigured"
invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;)Ljava/lang/String;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
19: goto 27
20: StackMap locals:
StackMap stack:
aload 16
dup
astore 20
arraylength
istore 19
iconst_0
istore 18
goto 24
StackMap locals: org.apache.catalina.manager.ManagerServlet org.apache.tomcat.util.res.StringManager java.util.Map org.apache.catalina.connector.Connector[] org.apache.catalina.connector.Connector int int org.apache.catalina.connector.Connector[] org.apache.tomcat.util.net.SSLHostConfig[] org.apache.tomcat.util.net.SSLHostConfig int int org.apache.tomcat.util.net.SSLHostConfig[] java.lang.String java.util.List org.apache.tomcat.util.net.SSLContext java.security.cert.X509Certificate[] top int int java.security.cert.Certificate[]
StackMap stack:
21: aload 20
iload 18
aaload
astore 17
start local 17 22: aload 14
aload 17
invokevirtual java.security.cert.Certificate.toString:()Ljava/lang/String;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 17 23: iinc 18 1
StackMap locals:
StackMap stack:
24: iload 18
iload 19
if_icmplt 21
end local 16 end local 15 25: goto 27
26: StackMap locals: org.apache.catalina.manager.ManagerServlet org.apache.tomcat.util.res.StringManager java.util.Map org.apache.catalina.connector.Connector[] org.apache.catalina.connector.Connector int int org.apache.catalina.connector.Connector[] org.apache.tomcat.util.net.SSLHostConfig[] org.apache.tomcat.util.net.SSLHostConfig int int org.apache.tomcat.util.net.SSLHostConfig[] java.lang.String java.util.List
StackMap stack:
aload 14
aload 1
ldc "managerServlet.certsNotAvailable"
invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;)Ljava/lang/String;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
27: StackMap locals:
StackMap stack:
aload 2
aload 13
aload 14
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 14 end local 13 end local 9 28: iinc 10 1
StackMap locals: org.apache.catalina.manager.ManagerServlet org.apache.tomcat.util.res.StringManager java.util.Map org.apache.catalina.connector.Connector[] org.apache.catalina.connector.Connector int int org.apache.catalina.connector.Connector[] org.apache.tomcat.util.net.SSLHostConfig[] top int int org.apache.tomcat.util.net.SSLHostConfig[]
StackMap stack:
29: iload 10
iload 11
if_icmplt 7
end local 8 30: goto 34
31: StackMap locals: org.apache.catalina.manager.ManagerServlet org.apache.tomcat.util.res.StringManager java.util.Map org.apache.catalina.connector.Connector[] org.apache.catalina.connector.Connector int int org.apache.catalina.connector.Connector[]
StackMap stack:
new java.util.ArrayList
dup
iconst_1
invokespecial java.util.ArrayList.<init>:(I)V
astore 8
start local 8 32: aload 8
aload 1
ldc "managerServlet.notSslConnector"
invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;)Ljava/lang/String;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
33: aload 2
aload 4
invokevirtual org.apache.catalina.connector.Connector.toString:()Ljava/lang/String;
aload 8
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 8 end local 4 34: StackMap locals: org.apache.catalina.manager.ManagerServlet org.apache.tomcat.util.res.StringManager java.util.Map org.apache.catalina.connector.Connector[] top int int org.apache.catalina.connector.Connector[]
StackMap stack:
iinc 5 1
StackMap locals:
StackMap stack:
35: iload 5
iload 6
if_icmplt 3
36: aload 2
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 37 0 this Lorg/apache/catalina/manager/ManagerServlet;
0 37 1 smClient Lorg/apache/tomcat/util/res/StringManager;
1 37 2 result Ljava/util/Map<Ljava/lang/String;Ljava/util/List<Ljava/lang/String;>;>;
2 37 3 connectors [Lorg/apache/catalina/connector/Connector;
4 34 4 connector Lorg/apache/catalina/connector/Connector;
6 30 8 sslHostConfigs [Lorg/apache/tomcat/util/net/SSLHostConfig;
8 28 9 sslHostConfig Lorg/apache/tomcat/util/net/SSLHostConfig;
9 28 13 name Ljava/lang/String;
10 28 14 certList Ljava/util/List<Ljava/lang/String;>;
13 25 15 sslContext Lorg/apache/tomcat/util/net/SSLContext;
14 25 16 certs [Ljava/security/cert/X509Certificate;
22 23 17 cert Ljava/security/cert/Certificate;
32 34 8 certList Ljava/util/List<Ljava/lang/String;>;
Signature: (Lorg/apache/tomcat/util/res/StringManager;)Ljava/util/Map<Ljava/lang/String;Ljava/util/List<Ljava/lang/String;>;>;
MethodParameters:
Name Flags
smClient
private org.apache.catalina.connector.Connector[] getConnectors();
descriptor: ()[Lorg/apache/catalina/connector/Connector;
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=3, args_size=1
start local 0 0: aload 0
getfield org.apache.catalina.manager.ManagerServlet.host:Lorg/apache/catalina/Host;
invokeinterface org.apache.catalina.Host.getParent:()Lorg/apache/catalina/Container;
checkcast org.apache.catalina.Engine
astore 1
start local 1 1: aload 1
invokeinterface org.apache.catalina.Engine.getService:()Lorg/apache/catalina/Service;
astore 2
start local 2 2: aload 2
invokeinterface org.apache.catalina.Service.findConnectors:()[Lorg/apache/catalina/connector/Connector;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/catalina/manager/ManagerServlet;
1 3 1 e Lorg/apache/catalina/Engine;
2 3 2 s Lorg/apache/catalina/Service;
}
SourceFile: "ManagerServlet.java"
InnerClasses:
public abstract Entry = java.util.Map$Entry of java.util.Map
public final Type = org.apache.tomcat.util.net.SSLHostConfigCertificate$Type of org.apache.tomcat.util.net.SSLHostConfigCertificate