public class org.apache.catalina.startup.HostConfig implements org.apache.catalina.LifecycleListener
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.apache.catalina.startup.HostConfig
super_class: java.lang.Object
{
private static final org.apache.juli.logging.Log log;
descriptor: Lorg/apache/juli/logging/Log;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
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 static final long FILE_MODIFICATION_RESOLUTION_MS;
descriptor: J
flags: (0x001c) ACC_PROTECTED, ACC_STATIC, ACC_FINAL
ConstantValue: 1000
protected java.lang.String contextClass;
descriptor: Ljava/lang/String;
flags: (0x0004) ACC_PROTECTED
protected org.apache.catalina.Host host;
descriptor: Lorg/apache/catalina/Host;
flags: (0x0004) ACC_PROTECTED
protected javax.management.ObjectName oname;
descriptor: Ljavax/management/ObjectName;
flags: (0x0004) ACC_PROTECTED
protected boolean deployXML;
descriptor: Z
flags: (0x0004) ACC_PROTECTED
protected boolean copyXML;
descriptor: Z
flags: (0x0004) ACC_PROTECTED
protected boolean unpackWARs;
descriptor: Z
flags: (0x0004) ACC_PROTECTED
protected final java.util.Map<java.lang.String, org.apache.catalina.startup.HostConfig$DeployedApplication> deployed;
descriptor: Ljava/util/Map;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
Signature: Ljava/util/Map<Ljava/lang/String;Lorg/apache/catalina/startup/HostConfig$DeployedApplication;>;
protected final java.util.ArrayList<java.lang.String> serviced;
descriptor: Ljava/util/ArrayList;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
Signature: Ljava/util/ArrayList<Ljava/lang/String;>;
protected org.apache.tomcat.util.digester.Digester digester;
descriptor: Lorg/apache/tomcat/util/digester/Digester;
flags: (0x0004) ACC_PROTECTED
private final java.lang.Object digesterLock;
descriptor: Ljava/lang/Object;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
protected final java.util.Set<java.lang.String> invalidWars;
descriptor: Ljava/util/Set;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
Signature: Ljava/util/Set<Ljava/lang/String;>;
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Lorg/apache/catalina/startup/HostConfig;
invokestatic org.apache.juli.logging.LogFactory.getLog:(Ljava/lang/Class;)Lorg/apache/juli/logging/Log;
putstatic org.apache.catalina.startup.HostConfig.log:Lorg/apache/juli/logging/Log;
1: ldc Lorg/apache/catalina/startup/HostConfig;
invokestatic org.apache.tomcat.util.res.StringManager.getManager:(Ljava/lang/Class;)Lorg/apache/tomcat/util/res/StringManager;
putstatic org.apache.catalina.startup.HostConfig.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=3, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
ldc "org.apache.catalina.core.StandardContext"
putfield org.apache.catalina.startup.HostConfig.contextClass:Ljava/lang/String;
2: aload 0
aconst_null
putfield org.apache.catalina.startup.HostConfig.host:Lorg/apache/catalina/Host;
3: aload 0
aconst_null
putfield org.apache.catalina.startup.HostConfig.oname:Ljavax/management/ObjectName;
4: aload 0
iconst_0
putfield org.apache.catalina.startup.HostConfig.deployXML:Z
5: aload 0
iconst_0
putfield org.apache.catalina.startup.HostConfig.copyXML:Z
6: aload 0
iconst_0
putfield org.apache.catalina.startup.HostConfig.unpackWARs:Z
7: aload 0
8: new java.util.concurrent.ConcurrentHashMap
dup
invokespecial java.util.concurrent.ConcurrentHashMap.<init>:()V
putfield org.apache.catalina.startup.HostConfig.deployed:Ljava/util/Map;
9: aload 0
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
putfield org.apache.catalina.startup.HostConfig.serviced:Ljava/util/ArrayList;
10: aload 0
aload 0
getfield org.apache.catalina.startup.HostConfig.contextClass:Ljava/lang/String;
invokestatic org.apache.catalina.startup.HostConfig.createDigester:(Ljava/lang/String;)Lorg/apache/tomcat/util/digester/Digester;
putfield org.apache.catalina.startup.HostConfig.digester:Lorg/apache/tomcat/util/digester/Digester;
11: aload 0
new java.lang.Object
dup
invokespecial java.lang.Object.<init>:()V
putfield org.apache.catalina.startup.HostConfig.digesterLock:Ljava/lang/Object;
12: aload 0
new java.util.HashSet
dup
invokespecial java.util.HashSet.<init>:()V
putfield org.apache.catalina.startup.HostConfig.invalidWars:Ljava/util/Set;
13: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lorg/apache/catalina/startup/HostConfig;
public java.lang.String getContextClass();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.catalina.startup.HostConfig.contextClass:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/catalina/startup/HostConfig;
public void setContextClass(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.catalina.startup.HostConfig.contextClass:Ljava/lang/String;
astore 2
start local 2 1: aload 0
aload 1
putfield org.apache.catalina.startup.HostConfig.contextClass:Ljava/lang/String;
2: aload 2
aload 1
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 9
3: aload 0
getfield org.apache.catalina.startup.HostConfig.digesterLock:Ljava/lang/Object;
dup
astore 3
monitorenter
4: aload 0
aload 0
invokevirtual org.apache.catalina.startup.HostConfig.getContextClass:()Ljava/lang/String;
invokestatic org.apache.catalina.startup.HostConfig.createDigester:(Ljava/lang/String;)Lorg/apache/tomcat/util/digester/Digester;
putfield org.apache.catalina.startup.HostConfig.digester:Lorg/apache/tomcat/util/digester/Digester;
5: aload 3
monitorexit
6: goto 9
StackMap locals: org.apache.catalina.startup.HostConfig java.lang.String java.lang.String java.lang.Object
StackMap stack: java.lang.Throwable
7: aload 3
monitorexit
8: athrow
9: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lorg/apache/catalina/startup/HostConfig;
0 10 1 contextClass Ljava/lang/String;
1 10 2 oldContextClass Ljava/lang/String;
Exception table:
from to target type
4 6 7 any
7 8 7 any
MethodParameters:
Name Flags
contextClass
public boolean isDeployXML();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.catalina.startup.HostConfig.deployXML:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/catalina/startup/HostConfig;
public void setDeployXML(boolean);
descriptor: (Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
putfield org.apache.catalina.startup.HostConfig.deployXML:Z
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/catalina/startup/HostConfig;
0 2 1 deployXML Z
MethodParameters:
Name Flags
deployXML
private boolean isDeployThisXML(java.io.File, org.apache.catalina.util.ContextName);
descriptor: (Ljava/io/File;Lorg/apache/catalina/util/ContextName;)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=9, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokevirtual org.apache.catalina.startup.HostConfig.isDeployXML:()Z
istore 3
start local 3 1: getstatic org.apache.catalina.Globals.IS_SECURITY_ENABLED:Z
ifeq 13
iload 3
ifne 13
2: invokestatic java.security.Policy.getPolicy:()Ljava/security/Policy;
astore 4
start local 4 3: aload 4
ifnull 13
4: aload 1
invokevirtual java.io.File.toURI:()Ljava/net/URI;
invokevirtual java.net.URI.toURL:()Ljava/net/URL;
astore 5
start local 5 5: new java.security.CodeSource
dup
aload 5
aconst_null
invokespecial java.security.CodeSource.<init>:(Ljava/net/URL;[Ljava/security/cert/Certificate;)V
astore 6
start local 6 6: aload 4
aload 6
invokevirtual java.security.Policy.getPermissions:(Ljava/security/CodeSource;)Ljava/security/PermissionCollection;
astore 7
start local 7 7: new org.apache.catalina.security.DeployXmlPermission
dup
aload 2
invokevirtual org.apache.catalina.util.ContextName.getBaseName:()Ljava/lang/String;
invokespecial org.apache.catalina.security.DeployXmlPermission.<init>:(Ljava/lang/String;)V
astore 8
start local 8 8: aload 7
aload 8
invokevirtual java.security.PermissionCollection.implies:(Ljava/security/Permission;)Z
ifeq 13
9: iconst_1
istore 3
end local 8 end local 7 end local 6 10: goto 13
end local 5 StackMap locals: org.apache.catalina.startup.HostConfig java.io.File org.apache.catalina.util.ContextName int java.security.Policy
StackMap stack: java.net.MalformedURLException
11: astore 6
start local 6 12: getstatic org.apache.catalina.startup.HostConfig.log:Lorg/apache/juli/logging/Log;
getstatic org.apache.catalina.startup.HostConfig.sm:Lorg/apache/tomcat/util/res/StringManager;
ldc "hostConfig.docBaseUrlInvalid"
invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;)Ljava/lang/String;
aload 6
invokeinterface org.apache.juli.logging.Log.warn:(Ljava/lang/Object;Ljava/lang/Throwable;)V
end local 6 end local 4 13: StackMap locals:
StackMap stack:
iload 3
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lorg/apache/catalina/startup/HostConfig;
0 14 1 docBase Ljava/io/File;
0 14 2 cn Lorg/apache/catalina/util/ContextName;
1 14 3 deployThisXML Z
3 13 4 currentPolicy Ljava/security/Policy;
5 11 5 contextRootUrl Ljava/net/URL;
6 10 6 cs Ljava/security/CodeSource;
7 10 7 pc Ljava/security/PermissionCollection;
8 10 8 p Ljava/security/Permission;
12 13 6 e Ljava/net/MalformedURLException;
Exception table:
from to target type
4 10 11 Class java.net.MalformedURLException
MethodParameters:
Name Flags
docBase
cn
public boolean isCopyXML();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.catalina.startup.HostConfig.copyXML:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/catalina/startup/HostConfig;
public void setCopyXML(boolean);
descriptor: (Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
putfield org.apache.catalina.startup.HostConfig.copyXML:Z
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/catalina/startup/HostConfig;
0 2 1 copyXML Z
MethodParameters:
Name Flags
copyXML
public boolean isUnpackWARs();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.catalina.startup.HostConfig.unpackWARs:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/catalina/startup/HostConfig;
public void setUnpackWARs(boolean);
descriptor: (Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
putfield org.apache.catalina.startup.HostConfig.unpackWARs:Z
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/catalina/startup/HostConfig;
0 2 1 unpackWARs Z
MethodParameters:
Name Flags
unpackWARs
public void lifecycleEvent(org.apache.catalina.LifecycleEvent);
descriptor: (Lorg/apache/catalina/LifecycleEvent;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=3, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual org.apache.catalina.LifecycleEvent.getLifecycle:()Lorg/apache/catalina/Lifecycle;
checkcast org.apache.catalina.Host
putfield org.apache.catalina.startup.HostConfig.host:Lorg/apache/catalina/Host;
1: aload 0
getfield org.apache.catalina.startup.HostConfig.host:Lorg/apache/catalina/Host;
instanceof org.apache.catalina.core.StandardHost
ifeq 10
2: aload 0
aload 0
getfield org.apache.catalina.startup.HostConfig.host:Lorg/apache/catalina/Host;
checkcast org.apache.catalina.core.StandardHost
invokevirtual org.apache.catalina.core.StandardHost.isCopyXML:()Z
invokevirtual org.apache.catalina.startup.HostConfig.setCopyXML:(Z)V
3: aload 0
aload 0
getfield org.apache.catalina.startup.HostConfig.host:Lorg/apache/catalina/Host;
checkcast org.apache.catalina.core.StandardHost
invokevirtual org.apache.catalina.core.StandardHost.isDeployXML:()Z
invokevirtual org.apache.catalina.startup.HostConfig.setDeployXML:(Z)V
4: aload 0
aload 0
getfield org.apache.catalina.startup.HostConfig.host:Lorg/apache/catalina/Host;
checkcast org.apache.catalina.core.StandardHost
invokevirtual org.apache.catalina.core.StandardHost.isUnpackWARs:()Z
invokevirtual org.apache.catalina.startup.HostConfig.setUnpackWARs:(Z)V
5: aload 0
aload 0
getfield org.apache.catalina.startup.HostConfig.host:Lorg/apache/catalina/Host;
checkcast org.apache.catalina.core.StandardHost
invokevirtual org.apache.catalina.core.StandardHost.getContextClass:()Ljava/lang/String;
invokevirtual org.apache.catalina.startup.HostConfig.setContextClass:(Ljava/lang/String;)V
6: goto 10
StackMap locals:
StackMap stack: java.lang.ClassCastException
7: astore 2
start local 2 8: getstatic org.apache.catalina.startup.HostConfig.log:Lorg/apache/juli/logging/Log;
getstatic org.apache.catalina.startup.HostConfig.sm:Lorg/apache/tomcat/util/res/StringManager;
ldc "hostConfig.cce"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 1
invokevirtual org.apache.catalina.LifecycleEvent.getLifecycle:()Lorg/apache/catalina/Lifecycle;
aastore
invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
aload 2
invokeinterface org.apache.juli.logging.Log.error:(Ljava/lang/Object;Ljava/lang/Throwable;)V
9: return
end local 2 10: StackMap locals:
StackMap stack:
aload 1
invokevirtual org.apache.catalina.LifecycleEvent.getType:()Ljava/lang/String;
ldc "periodic"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 13
11: aload 0
invokevirtual org.apache.catalina.startup.HostConfig.check:()V
12: goto 21
StackMap locals:
StackMap stack:
13: aload 1
invokevirtual org.apache.catalina.LifecycleEvent.getType:()Ljava/lang/String;
ldc "before_start"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 16
14: aload 0
invokevirtual org.apache.catalina.startup.HostConfig.beforeStart:()V
15: goto 21
StackMap locals:
StackMap stack:
16: aload 1
invokevirtual org.apache.catalina.LifecycleEvent.getType:()Ljava/lang/String;
ldc "start"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 19
17: aload 0
invokevirtual org.apache.catalina.startup.HostConfig.start:()V
18: goto 21
StackMap locals:
StackMap stack:
19: aload 1
invokevirtual org.apache.catalina.LifecycleEvent.getType:()Ljava/lang/String;
ldc "stop"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 21
20: aload 0
invokevirtual org.apache.catalina.startup.HostConfig.stop:()V
21: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 22 0 this Lorg/apache/catalina/startup/HostConfig;
0 22 1 event Lorg/apache/catalina/LifecycleEvent;
8 10 2 e Ljava/lang/ClassCastException;
Exception table:
from to target type
0 6 7 Class java.lang.ClassCastException
MethodParameters:
Name Flags
event
public synchronized void addServiced(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.catalina.startup.HostConfig.serviced:Ljava/util/ArrayList;
aload 1
invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
pop
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/catalina/startup/HostConfig;
0 2 1 name Ljava/lang/String;
MethodParameters:
Name Flags
name
public synchronized boolean isServiced(java.lang.String);
descriptor: (Ljava/lang/String;)Z
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.catalina.startup.HostConfig.serviced:Ljava/util/ArrayList;
aload 1
invokevirtual java.util.ArrayList.contains:(Ljava/lang/Object;)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/catalina/startup/HostConfig;
0 1 1 name Ljava/lang/String;
MethodParameters:
Name Flags
name
public synchronized void removeServiced(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.catalina.startup.HostConfig.serviced:Ljava/util/ArrayList;
aload 1
invokevirtual java.util.ArrayList.remove:(Ljava/lang/Object;)Z
pop
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/catalina/startup/HostConfig;
0 2 1 name Ljava/lang/String;
MethodParameters:
Name Flags
name
public long getDeploymentTime(java.lang.String);
descriptor: (Ljava/lang/String;)J
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.catalina.startup.HostConfig.deployed:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.apache.catalina.startup.HostConfig$DeployedApplication
astore 2
start local 2 1: aload 2
ifnonnull 3
2: lconst_0
lreturn
3: StackMap locals: org.apache.catalina.startup.HostConfig$DeployedApplication
StackMap stack:
aload 2
getfield org.apache.catalina.startup.HostConfig$DeployedApplication.timestamp:J
lreturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/catalina/startup/HostConfig;
0 4 1 name Ljava/lang/String;
1 4 2 app Lorg/apache/catalina/startup/HostConfig$DeployedApplication;
MethodParameters:
Name Flags
name
public boolean isDeployed(java.lang.String);
descriptor: (Ljava/lang/String;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.catalina.startup.HostConfig.deployed:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.containsKey:(Ljava/lang/Object;)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/catalina/startup/HostConfig;
0 1 1 name Ljava/lang/String;
MethodParameters:
Name Flags
name
protected static org.apache.tomcat.util.digester.Digester createDigester(java.lang.String);
descriptor: (Ljava/lang/String;)Lorg/apache/tomcat/util/digester/Digester;
flags: (0x000c) ACC_PROTECTED, ACC_STATIC
Code:
stack=4, locals=2, args_size=1
start local 0 0: new org.apache.tomcat.util.digester.Digester
dup
invokespecial org.apache.tomcat.util.digester.Digester.<init>:()V
astore 1
start local 1 1: aload 1
iconst_0
invokevirtual org.apache.tomcat.util.digester.Digester.setValidating:(Z)V
2: aload 1
ldc "Context"
aload 0
ldc "className"
invokevirtual org.apache.tomcat.util.digester.Digester.addObjectCreate:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
3: aload 1
ldc "Context"
invokevirtual org.apache.tomcat.util.digester.Digester.addSetProperties:(Ljava/lang/String;)V
4: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 contextClassName Ljava/lang/String;
1 5 1 digester Lorg/apache/tomcat/util/digester/Digester;
MethodParameters:
Name Flags
contextClassName
protected java.io.File returnCanonicalPath(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/io/File;
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: new java.io.File
dup
aload 1
invokespecial java.io.File.<init>:(Ljava/lang/String;)V
astore 2
start local 2 1: aload 2
invokevirtual java.io.File.isAbsolute:()Z
ifne 3
2: new java.io.File
dup
aload 0
getfield org.apache.catalina.startup.HostConfig.host:Lorg/apache/catalina/Host;
invokeinterface org.apache.catalina.Host.getCatalinaBase:()Ljava/io/File;
aload 1
invokespecial java.io.File.<init>:(Ljava/io/File;Ljava/lang/String;)V
astore 2
3: StackMap locals: java.io.File
StackMap stack:
aload 2
invokevirtual java.io.File.getCanonicalFile:()Ljava/io/File;
4: areturn
5: StackMap locals:
StackMap stack: java.io.IOException
pop
6: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/apache/catalina/startup/HostConfig;
0 7 1 path Ljava/lang/String;
1 7 2 file Ljava/io/File;
Exception table:
from to target type
3 4 5 Class java.io.IOException
MethodParameters:
Name Flags
path
public java.lang.String getConfigBaseName();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.catalina.startup.HostConfig.host:Lorg/apache/catalina/Host;
invokeinterface org.apache.catalina.Host.getConfigBaseFile:()Ljava/io/File;
invokevirtual java.io.File.getAbsolutePath:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/catalina/startup/HostConfig;
protected void deployApps();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=4, args_size=1
start local 0 0: aload 0
getfield org.apache.catalina.startup.HostConfig.host:Lorg/apache/catalina/Host;
invokeinterface org.apache.catalina.Host.getAppBaseFile:()Ljava/io/File;
astore 1
start local 1 1: aload 0
getfield org.apache.catalina.startup.HostConfig.host:Lorg/apache/catalina/Host;
invokeinterface org.apache.catalina.Host.getConfigBaseFile:()Ljava/io/File;
astore 2
start local 2 2: aload 0
aload 1
invokevirtual java.io.File.list:()[Ljava/lang/String;
invokevirtual org.apache.catalina.startup.HostConfig.filterAppPaths:([Ljava/lang/String;)[Ljava/lang/String;
astore 3
start local 3 3: aload 0
aload 2
aload 2
invokevirtual java.io.File.list:()[Ljava/lang/String;
invokevirtual org.apache.catalina.startup.HostConfig.deployDescriptors:(Ljava/io/File;[Ljava/lang/String;)V
4: aload 0
aload 1
aload 3
invokevirtual org.apache.catalina.startup.HostConfig.deployWARs:(Ljava/io/File;[Ljava/lang/String;)V
5: aload 0
aload 1
aload 3
invokevirtual org.apache.catalina.startup.HostConfig.deployDirectories:(Ljava/io/File;[Ljava/lang/String;)V
6: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/apache/catalina/startup/HostConfig;
1 7 1 appBase Ljava/io/File;
2 7 2 configBase Ljava/io/File;
3 7 3 filteredAppPaths [Ljava/lang/String;
protected java.lang.String[] filterAppPaths(java.lang.String[]);
descriptor: ([Ljava/lang/String;)[Ljava/lang/String;
flags: (0x0004) ACC_PROTECTED
Code:
stack=7, locals=9, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.catalina.startup.HostConfig.host:Lorg/apache/catalina/Host;
invokeinterface org.apache.catalina.Host.getDeployIgnorePattern:()Ljava/util/regex/Pattern;
astore 2
start local 2 1: aload 2
ifnull 2
aload 1
ifnonnull 3
2: StackMap locals: java.util.regex.Pattern
StackMap stack:
aload 1
areturn
3: StackMap locals:
StackMap stack:
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 3
start local 3 4: aconst_null
astore 4
start local 4 5: aload 1
dup
astore 8
arraylength
istore 7
iconst_0
istore 6
goto 17
StackMap locals: org.apache.catalina.startup.HostConfig java.lang.String[] java.util.regex.Pattern java.util.List java.util.regex.Matcher top int int java.lang.String[]
StackMap stack:
6: aload 8
iload 6
aaload
astore 5
start local 5 7: aload 4
ifnonnull 10
8: aload 2
aload 5
invokevirtual java.util.regex.Pattern.matcher:(Ljava/lang/CharSequence;)Ljava/util/regex/Matcher;
astore 4
9: goto 11
10: StackMap locals: org.apache.catalina.startup.HostConfig java.lang.String[] java.util.regex.Pattern java.util.List java.util.regex.Matcher java.lang.String int int java.lang.String[]
StackMap stack:
aload 4
aload 5
invokevirtual java.util.regex.Matcher.reset:(Ljava/lang/CharSequence;)Ljava/util/regex/Matcher;
pop
11: StackMap locals:
StackMap stack:
aload 4
invokevirtual java.util.regex.Matcher.matches:()Z
ifeq 15
12: getstatic org.apache.catalina.startup.HostConfig.log:Lorg/apache/juli/logging/Log;
invokeinterface org.apache.juli.logging.Log.isDebugEnabled:()Z
ifeq 16
13: getstatic org.apache.catalina.startup.HostConfig.log:Lorg/apache/juli/logging/Log;
getstatic org.apache.catalina.startup.HostConfig.sm:Lorg/apache/tomcat/util/res/StringManager;
ldc "hostConfig.ignorePath"
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;
invokeinterface org.apache.juli.logging.Log.debug:(Ljava/lang/Object;)V
14: goto 16
15: StackMap locals:
StackMap stack:
aload 3
aload 5
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 5 16: StackMap locals: org.apache.catalina.startup.HostConfig java.lang.String[] java.util.regex.Pattern java.util.List java.util.regex.Matcher top int int java.lang.String[]
StackMap stack:
iinc 6 1
StackMap locals:
StackMap stack:
17: iload 6
iload 7
if_icmplt 6
18: aload 3
iconst_0
anewarray java.lang.String
invokeinterface java.util.List.toArray:([Ljava/lang/Object;)[Ljava/lang/Object;
checkcast java.lang.String[]
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 19 0 this Lorg/apache/catalina/startup/HostConfig;
0 19 1 unfilteredAppPaths [Ljava/lang/String;
1 19 2 filter Ljava/util/regex/Pattern;
4 19 3 filteredList Ljava/util/List<Ljava/lang/String;>;
5 19 4 matcher Ljava/util/regex/Matcher;
7 16 5 appPath Ljava/lang/String;
MethodParameters:
Name Flags
unfilteredAppPaths
protected void deployApps(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=6, locals=9, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.catalina.startup.HostConfig.host:Lorg/apache/catalina/Host;
invokeinterface org.apache.catalina.Host.getAppBaseFile:()Ljava/io/File;
astore 2
start local 2 1: aload 0
getfield org.apache.catalina.startup.HostConfig.host:Lorg/apache/catalina/Host;
invokeinterface org.apache.catalina.Host.getConfigBaseFile:()Ljava/io/File;
astore 3
start local 3 2: new org.apache.catalina.util.ContextName
dup
aload 1
iconst_0
invokespecial org.apache.catalina.util.ContextName.<init>:(Ljava/lang/String;Z)V
astore 4
start local 4 3: aload 4
invokevirtual org.apache.catalina.util.ContextName.getBaseName:()Ljava/lang/String;
astore 5
start local 5 4: aload 0
aload 4
invokevirtual org.apache.catalina.util.ContextName.getName:()Ljava/lang/String;
invokevirtual org.apache.catalina.startup.HostConfig.deploymentExists:(Ljava/lang/String;)Z
ifeq 6
5: return
6: StackMap locals: org.apache.catalina.startup.HostConfig java.lang.String java.io.File java.io.File org.apache.catalina.util.ContextName java.lang.String
StackMap stack:
new java.io.File
dup
aload 3
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 6
start local 6 7: aload 6
invokevirtual java.io.File.exists:()Z
ifeq 10
8: aload 0
aload 4
aload 6
invokevirtual org.apache.catalina.startup.HostConfig.deployDescriptor:(Lorg/apache/catalina/util/ContextName;Ljava/io/File;)V
9: return
10: StackMap locals: java.io.File
StackMap stack:
new java.io.File
dup
aload 2
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 7
start local 7 11: aload 7
invokevirtual java.io.File.exists:()Z
ifeq 14
12: aload 0
aload 4
aload 7
invokevirtual org.apache.catalina.startup.HostConfig.deployWAR:(Lorg/apache/catalina/util/ContextName;Ljava/io/File;)V
13: return
14: StackMap locals: java.io.File
StackMap stack:
new java.io.File
dup
aload 2
aload 5
invokespecial java.io.File.<init>:(Ljava/io/File;Ljava/lang/String;)V
astore 8
start local 8 15: aload 8
invokevirtual java.io.File.exists:()Z
ifeq 17
16: aload 0
aload 4
aload 8
invokevirtual org.apache.catalina.startup.HostConfig.deployDirectory:(Lorg/apache/catalina/util/ContextName;Ljava/io/File;)V
17: StackMap locals: java.io.File
StackMap stack:
return
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 18 0 this Lorg/apache/catalina/startup/HostConfig;
0 18 1 name Ljava/lang/String;
1 18 2 appBase Ljava/io/File;
2 18 3 configBase Ljava/io/File;
3 18 4 cn Lorg/apache/catalina/util/ContextName;
4 18 5 baseName Ljava/lang/String;
7 18 6 xml Ljava/io/File;
11 18 7 war Ljava/io/File;
15 18 8 dir Ljava/io/File;
MethodParameters:
Name Flags
name
protected void deployDescriptors(java.io.File, java.lang.String[]);
descriptor: (Ljava/io/File;[Ljava/lang/String;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=7, locals=11, args_size=3
start local 0 start local 1 start local 2 0: aload 2
ifnonnull 2
1: return
2: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.catalina.startup.HostConfig.host:Lorg/apache/catalina/Host;
invokeinterface org.apache.catalina.Host.getStartStopExecutor:()Ljava/util/concurrent/ExecutorService;
astore 3
start local 3 3: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 4
start local 4 4: aload 2
dup
astore 8
arraylength
istore 7
iconst_0
istore 6
goto 15
StackMap locals: org.apache.catalina.startup.HostConfig java.io.File java.lang.String[] java.util.concurrent.ExecutorService java.util.List top int int java.lang.String[]
StackMap stack:
5: aload 8
iload 6
aaload
astore 5
start local 5 6: new java.io.File
dup
aload 1
aload 5
invokespecial java.io.File.<init>:(Ljava/io/File;Ljava/lang/String;)V
astore 9
start local 9 7: aload 5
getstatic java.util.Locale.ENGLISH:Ljava/util/Locale;
invokevirtual java.lang.String.toLowerCase:(Ljava/util/Locale;)Ljava/lang/String;
ldc ".xml"
invokevirtual java.lang.String.endsWith:(Ljava/lang/String;)Z
ifeq 14
8: new org.apache.catalina.util.ContextName
dup
aload 5
iconst_1
invokespecial org.apache.catalina.util.ContextName.<init>:(Ljava/lang/String;Z)V
astore 10
start local 10 9: aload 0
aload 10
invokevirtual org.apache.catalina.util.ContextName.getName:()Ljava/lang/String;
invokevirtual org.apache.catalina.startup.HostConfig.isServiced:(Ljava/lang/String;)Z
ifne 14
aload 0
aload 10
invokevirtual org.apache.catalina.util.ContextName.getName:()Ljava/lang/String;
invokevirtual org.apache.catalina.startup.HostConfig.deploymentExists:(Ljava/lang/String;)Z
ifeq 11
10: goto 14
11: StackMap locals: org.apache.catalina.startup.HostConfig java.io.File java.lang.String[] java.util.concurrent.ExecutorService java.util.List java.lang.String int int java.lang.String[] java.io.File org.apache.catalina.util.ContextName
StackMap stack:
aload 4
12: aload 3
new org.apache.catalina.startup.HostConfig$DeployDescriptor
dup
aload 0
aload 10
aload 9
invokespecial org.apache.catalina.startup.HostConfig$DeployDescriptor.<init>:(Lorg/apache/catalina/startup/HostConfig;Lorg/apache/catalina/util/ContextName;Ljava/io/File;)V
invokeinterface java.util.concurrent.ExecutorService.submit:(Ljava/lang/Runnable;)Ljava/util/concurrent/Future;
13: invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 10 end local 9 end local 5 14: StackMap locals: org.apache.catalina.startup.HostConfig java.io.File java.lang.String[] java.util.concurrent.ExecutorService java.util.List top int int java.lang.String[]
StackMap stack:
iinc 6 1
StackMap locals:
StackMap stack:
15: iload 6
iload 7
if_icmplt 5
16: aload 4
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 6
goto 26
StackMap locals: org.apache.catalina.startup.HostConfig java.io.File java.lang.String[] java.util.concurrent.ExecutorService java.util.List top java.util.Iterator
StackMap stack:
17: aload 6
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.util.concurrent.Future
astore 5
start local 5 18: aload 5
invokeinterface java.util.concurrent.Future.get:()Ljava/lang/Object;
pop
19: goto 26
StackMap locals: org.apache.catalina.startup.HostConfig java.io.File java.lang.String[] java.util.concurrent.ExecutorService java.util.List java.util.concurrent.Future java.util.Iterator
StackMap stack: java.lang.Exception
20: astore 7
start local 7 21: getstatic org.apache.catalina.startup.HostConfig.log:Lorg/apache/juli/logging/Log;
getstatic org.apache.catalina.startup.HostConfig.sm:Lorg/apache/tomcat/util/res/StringManager;
22: ldc "hostConfig.deployDescriptor.threaded.error"
23: invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;)Ljava/lang/String;
24: aload 7
25: invokeinterface org.apache.juli.logging.Log.error:(Ljava/lang/Object;Ljava/lang/Throwable;)V
end local 7 end local 5 26: StackMap locals: org.apache.catalina.startup.HostConfig java.io.File java.lang.String[] java.util.concurrent.ExecutorService java.util.List top java.util.Iterator
StackMap stack:
aload 6
invokeinterface java.util.Iterator.hasNext:()Z
ifne 17
27: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 28 0 this Lorg/apache/catalina/startup/HostConfig;
0 28 1 configBase Ljava/io/File;
0 28 2 files [Ljava/lang/String;
3 28 3 es Ljava/util/concurrent/ExecutorService;
4 28 4 results Ljava/util/List<Ljava/util/concurrent/Future<*>;>;
6 14 5 file Ljava/lang/String;
7 14 9 contextXml Ljava/io/File;
9 14 10 cn Lorg/apache/catalina/util/ContextName;
18 26 5 result Ljava/util/concurrent/Future<*>;
21 26 7 e Ljava/lang/Exception;
Exception table:
from to target type
18 19 20 Class java.lang.Exception
MethodParameters:
Name Flags
configBase
files
protected void deployDescriptor(org.apache.catalina.util.ContextName, java.io.File);
descriptor: (Lorg/apache/catalina/util/ContextName;Ljava/io/File;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=10, locals=21, args_size=3
start local 0 start local 1 start local 2 0: new org.apache.catalina.startup.HostConfig$DeployedApplication
dup
aload 1
invokevirtual org.apache.catalina.util.ContextName.getName:()Ljava/lang/String;
iconst_1
invokespecial org.apache.catalina.startup.HostConfig$DeployedApplication.<init>:(Ljava/lang/String;Z)V
1: astore 3
start local 3 2: lconst_0
lstore 4
start local 4 3: getstatic org.apache.catalina.startup.HostConfig.log:Lorg/apache/juli/logging/Log;
invokeinterface org.apache.juli.logging.Log.isInfoEnabled:()Z
ifeq 8
4: invokestatic java.lang.System.currentTimeMillis:()J
lstore 4
5: getstatic org.apache.catalina.startup.HostConfig.log:Lorg/apache/juli/logging/Log;
getstatic org.apache.catalina.startup.HostConfig.sm:Lorg/apache/tomcat/util/res/StringManager;
ldc "hostConfig.deployDescriptor"
iconst_1
anewarray java.lang.Object
dup
iconst_0
6: aload 2
invokevirtual java.io.File.getAbsolutePath:()Ljava/lang/String;
aastore
7: invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokeinterface org.apache.juli.logging.Log.info:(Ljava/lang/Object;)V
8: StackMap locals: org.apache.catalina.startup.HostConfig$DeployedApplication long
StackMap stack:
aconst_null
astore 6
start local 6 9: iconst_0
istore 7
start local 7 10: iconst_0
istore 8
start local 8 11: aconst_null
astore 9
start local 9 12: aconst_null
astore 10
aconst_null
astore 11
13: new java.io.FileInputStream
dup
aload 2
invokespecial java.io.FileInputStream.<init>:(Ljava/io/File;)V
astore 12
start local 12 14: aload 0
getfield org.apache.catalina.startup.HostConfig.digesterLock:Ljava/lang/Object;
dup
astore 13
monitorenter
15: aload 0
getfield org.apache.catalina.startup.HostConfig.digester:Lorg/apache/tomcat/util/digester/Digester;
aload 12
invokevirtual org.apache.tomcat.util.digester.Digester.parse:(Ljava/io/InputStream;)Ljava/lang/Object;
checkcast org.apache.catalina.Context
astore 6
16: goto 32
StackMap locals: org.apache.catalina.startup.HostConfig org.apache.catalina.util.ContextName java.io.File org.apache.catalina.startup.HostConfig$DeployedApplication long org.apache.catalina.Context int int java.io.File java.lang.Throwable java.lang.Throwable java.io.FileInputStream java.lang.Object
StackMap stack: java.lang.Exception
17: astore 14
start local 14 18: getstatic org.apache.catalina.startup.HostConfig.log:Lorg/apache/juli/logging/Log;
getstatic org.apache.catalina.startup.HostConfig.sm:Lorg/apache/tomcat/util/res/StringManager;
19: ldc "hostConfig.deployDescriptor.error"
iconst_1
anewarray java.lang.Object
dup
iconst_0
20: aload 2
invokevirtual java.io.File.getAbsolutePath:()Ljava/lang/String;
aastore
21: invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
22: aload 14
23: invokeinterface org.apache.juli.logging.Log.error:(Ljava/lang/Object;Ljava/lang/Throwable;)V
end local 14 24: aload 0
getfield org.apache.catalina.startup.HostConfig.digester:Lorg/apache/tomcat/util/digester/Digester;
invokevirtual org.apache.tomcat.util.digester.Digester.reset:()V
25: aload 6
ifnonnull 35
26: new org.apache.catalina.startup.FailedContext
dup
invokespecial org.apache.catalina.startup.FailedContext.<init>:()V
astore 6
goto 35
27: StackMap locals:
StackMap stack: java.lang.Throwable
astore 15
28: aload 0
getfield org.apache.catalina.startup.HostConfig.digester:Lorg/apache/tomcat/util/digester/Digester;
invokevirtual org.apache.tomcat.util.digester.Digester.reset:()V
29: aload 6
ifnonnull 31
30: new org.apache.catalina.startup.FailedContext
dup
invokespecial org.apache.catalina.startup.FailedContext.<init>:()V
astore 6
31: StackMap locals: org.apache.catalina.startup.HostConfig org.apache.catalina.util.ContextName java.io.File org.apache.catalina.startup.HostConfig$DeployedApplication long org.apache.catalina.Context int int java.io.File java.lang.Throwable java.lang.Throwable java.io.FileInputStream java.lang.Object top java.lang.Throwable
StackMap stack:
aload 15
athrow
32: StackMap locals: org.apache.catalina.startup.HostConfig org.apache.catalina.util.ContextName java.io.File org.apache.catalina.startup.HostConfig$DeployedApplication long org.apache.catalina.Context int int java.io.File java.lang.Throwable java.lang.Throwable java.io.FileInputStream java.lang.Object
StackMap stack:
aload 0
getfield org.apache.catalina.startup.HostConfig.digester:Lorg/apache/tomcat/util/digester/Digester;
invokevirtual org.apache.tomcat.util.digester.Digester.reset:()V
33: aload 6
ifnonnull 35
34: new org.apache.catalina.startup.FailedContext
dup
invokespecial org.apache.catalina.startup.FailedContext.<init>:()V
astore 6
35: StackMap locals:
StackMap stack:
aload 13
monitorexit
36: goto 39
StackMap locals:
StackMap stack: java.lang.Throwable
37: aload 13
monitorexit
38: athrow
39: StackMap locals:
StackMap stack:
aload 6
invokeinterface org.apache.catalina.Context.getPath:()Ljava/lang/String;
ifnull 43
40: getstatic org.apache.catalina.startup.HostConfig.log:Lorg/apache/juli/logging/Log;
getstatic org.apache.catalina.startup.HostConfig.sm:Lorg/apache/tomcat/util/res/StringManager;
ldc "hostConfig.deployDescriptor.path"
iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 6
invokeinterface org.apache.catalina.Context.getPath:()Ljava/lang/String;
aastore
dup
iconst_1
41: aload 2
invokevirtual java.io.File.getAbsolutePath:()Ljava/lang/String;
aastore
42: invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokeinterface org.apache.juli.logging.Log.warn:(Ljava/lang/Object;)V
43: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.catalina.startup.HostConfig.host:Lorg/apache/catalina/Host;
invokeinterface org.apache.catalina.Host.getConfigClass:()Ljava/lang/String;
invokestatic java.lang.Class.forName:(Ljava/lang/String;)Ljava/lang/Class;
astore 13
start local 13 44: aload 13
iconst_0
anewarray java.lang.Class
invokevirtual java.lang.Class.getConstructor:([Ljava/lang/Class;)Ljava/lang/reflect/Constructor;
iconst_0
anewarray java.lang.Object
invokevirtual java.lang.reflect.Constructor.newInstance:([Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.apache.catalina.LifecycleListener
astore 14
start local 14 45: aload 6
aload 14
invokeinterface org.apache.catalina.Context.addLifecycleListener:(Lorg/apache/catalina/LifecycleListener;)V
46: aload 6
aload 2
invokevirtual java.io.File.toURI:()Ljava/net/URI;
invokevirtual java.net.URI.toURL:()Ljava/net/URL;
invokeinterface org.apache.catalina.Context.setConfigFile:(Ljava/net/URL;)V
47: aload 6
aload 1
invokevirtual org.apache.catalina.util.ContextName.getName:()Ljava/lang/String;
invokeinterface org.apache.catalina.Context.setName:(Ljava/lang/String;)V
48: aload 6
aload 1
invokevirtual org.apache.catalina.util.ContextName.getPath:()Ljava/lang/String;
invokeinterface org.apache.catalina.Context.setPath:(Ljava/lang/String;)V
49: aload 6
aload 1
invokevirtual org.apache.catalina.util.ContextName.getVersion:()Ljava/lang/String;
invokeinterface org.apache.catalina.Context.setWebappVersion:(Ljava/lang/String;)V
50: aload 6
invokeinterface org.apache.catalina.Context.getDocBase:()Ljava/lang/String;
ifnull 83
51: new java.io.File
dup
aload 6
invokeinterface org.apache.catalina.Context.getDocBase:()Ljava/lang/String;
invokespecial java.io.File.<init>:(Ljava/lang/String;)V
astore 15
start local 15 52: aload 15
invokevirtual java.io.File.isAbsolute:()Z
ifne 54
53: new java.io.File
dup
aload 0
getfield org.apache.catalina.startup.HostConfig.host:Lorg/apache/catalina/Host;
invokeinterface org.apache.catalina.Host.getAppBaseFile:()Ljava/io/File;
aload 6
invokeinterface org.apache.catalina.Context.getDocBase:()Ljava/lang/String;
invokespecial java.io.File.<init>:(Ljava/io/File;Ljava/lang/String;)V
astore 15
54: StackMap locals: java.lang.Class org.apache.catalina.LifecycleListener java.io.File
StackMap stack:
aload 15
invokevirtual java.io.File.getCanonicalPath:()Ljava/lang/String;
55: new java.lang.StringBuilder
dup
aload 0
getfield org.apache.catalina.startup.HostConfig.host:Lorg/apache/catalina/Host;
invokeinterface org.apache.catalina.Host.getAppBaseFile:()Ljava/io/File;
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
getstatic java.io.File.separator:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
56: invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
57: ifne 79
58: iconst_1
istore 8
59: aload 3
getfield org.apache.catalina.startup.HostConfig$DeployedApplication.redeployResources:Ljava/util/LinkedHashMap;
60: aload 2
invokevirtual java.io.File.getAbsolutePath:()Ljava/lang/String;
61: aload 2
invokevirtual java.io.File.lastModified:()J
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
62: invokevirtual java.util.LinkedHashMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
63: aload 3
getfield org.apache.catalina.startup.HostConfig$DeployedApplication.redeployResources:Ljava/util/LinkedHashMap;
aload 15
invokevirtual java.io.File.getAbsolutePath:()Ljava/lang/String;
64: aload 15
invokevirtual java.io.File.lastModified:()J
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
65: invokevirtual java.util.LinkedHashMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
66: aload 15
invokevirtual java.io.File.getAbsolutePath:()Ljava/lang/String;
getstatic java.util.Locale.ENGLISH:Ljava/util/Locale;
invokevirtual java.lang.String.toLowerCase:(Ljava/util/Locale;)Ljava/lang/String;
ldc ".war"
invokevirtual java.lang.String.endsWith:(Ljava/lang/String;)Z
ifeq 68
67: iconst_1
istore 7
68: StackMap locals:
StackMap stack:
new java.io.File
dup
aload 0
getfield org.apache.catalina.startup.HostConfig.host:Lorg/apache/catalina/Host;
invokeinterface org.apache.catalina.Host.getAppBaseFile:()Ljava/io/File;
new java.lang.StringBuilder
dup
aload 1
invokevirtual org.apache.catalina.util.ContextName.getBaseName:()Ljava/lang/String;
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 16
start local 16 69: aload 16
invokevirtual java.io.File.exists:()Z
ifeq 73
70: getstatic org.apache.catalina.startup.HostConfig.log:Lorg/apache/juli/logging/Log;
getstatic org.apache.catalina.startup.HostConfig.sm:Lorg/apache/tomcat/util/res/StringManager;
ldc "hostConfig.deployDescriptor.hiddenWar"
iconst_2
anewarray java.lang.Object
dup
iconst_0
71: aload 2
invokevirtual java.io.File.getAbsolutePath:()Ljava/lang/String;
aastore
dup
iconst_1
aload 16
invokevirtual java.io.File.getAbsolutePath:()Ljava/lang/String;
aastore
72: invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokeinterface org.apache.juli.logging.Log.warn:(Ljava/lang/Object;)V
73: StackMap locals: java.io.File
StackMap stack:
new java.io.File
dup
aload 0
getfield org.apache.catalina.startup.HostConfig.host:Lorg/apache/catalina/Host;
invokeinterface org.apache.catalina.Host.getAppBaseFile:()Ljava/io/File;
aload 1
invokevirtual org.apache.catalina.util.ContextName.getBaseName:()Ljava/lang/String;
invokespecial java.io.File.<init>:(Ljava/io/File;Ljava/lang/String;)V
astore 17
start local 17 74: aload 17
invokevirtual java.io.File.exists:()Z
ifeq 83
75: getstatic org.apache.catalina.startup.HostConfig.log:Lorg/apache/juli/logging/Log;
getstatic org.apache.catalina.startup.HostConfig.sm:Lorg/apache/tomcat/util/res/StringManager;
ldc "hostConfig.deployDescriptor.hiddenDir"
iconst_2
anewarray java.lang.Object
dup
iconst_0
76: aload 2
invokevirtual java.io.File.getAbsolutePath:()Ljava/lang/String;
aastore
dup
iconst_1
aload 17
invokevirtual java.io.File.getAbsolutePath:()Ljava/lang/String;
aastore
77: invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokeinterface org.apache.juli.logging.Log.warn:(Ljava/lang/Object;)V
end local 17 end local 16 78: goto 83
79: StackMap locals:
StackMap stack:
getstatic org.apache.catalina.startup.HostConfig.log:Lorg/apache/juli/logging/Log;
getstatic org.apache.catalina.startup.HostConfig.sm:Lorg/apache/tomcat/util/res/StringManager;
ldc "hostConfig.deployDescriptor.localDocBaseSpecified"
iconst_1
anewarray java.lang.Object
dup
iconst_0
80: aload 15
aastore
81: invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokeinterface org.apache.juli.logging.Log.warn:(Ljava/lang/Object;)V
82: aload 6
aconst_null
invokeinterface org.apache.catalina.Context.setDocBase:(Ljava/lang/String;)V
end local 15 83: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.catalina.startup.HostConfig.host:Lorg/apache/catalina/Host;
aload 6
invokeinterface org.apache.catalina.Host.addChild:(Lorg/apache/catalina/Container;)V
end local 14 end local 13 84: aload 12
ifnull 188
aload 12
invokevirtual java.io.FileInputStream.close:()V
goto 188
StackMap locals: org.apache.catalina.startup.HostConfig org.apache.catalina.util.ContextName java.io.File org.apache.catalina.startup.HostConfig$DeployedApplication long org.apache.catalina.Context int int java.io.File java.lang.Throwable java.lang.Throwable java.io.FileInputStream
StackMap stack: java.lang.Throwable
85: astore 10
aload 12
ifnull 86
aload 12
invokevirtual java.io.FileInputStream.close:()V
end local 12 StackMap locals:
StackMap stack:
86: aload 10
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
87: astore 11
aload 10
ifnonnull 88
aload 11
astore 10
goto 89
StackMap locals:
StackMap stack:
88: aload 10
aload 11
if_acmpeq 89
aload 10
aload 11
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
89: aload 10
athrow
StackMap locals: org.apache.catalina.startup.HostConfig org.apache.catalina.util.ContextName java.io.File org.apache.catalina.startup.HostConfig$DeployedApplication long org.apache.catalina.Context int int java.io.File
StackMap stack: java.lang.Throwable
90: astore 10
start local 10 91: aload 10
invokestatic org.apache.tomcat.util.ExceptionUtils.handleThrowable:(Ljava/lang/Throwable;)V
92: getstatic org.apache.catalina.startup.HostConfig.log:Lorg/apache/juli/logging/Log;
getstatic org.apache.catalina.startup.HostConfig.sm:Lorg/apache/tomcat/util/res/StringManager;
ldc "hostConfig.deployDescriptor.error"
iconst_1
anewarray java.lang.Object
dup
iconst_0
93: aload 2
invokevirtual java.io.File.getAbsolutePath:()Ljava/lang/String;
aastore
94: invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
95: aload 10
96: invokeinterface org.apache.juli.logging.Log.error:(Ljava/lang/Object;Ljava/lang/Throwable;)V
end local 10 97: new java.io.File
dup
aload 0
getfield org.apache.catalina.startup.HostConfig.host:Lorg/apache/catalina/Host;
invokeinterface org.apache.catalina.Host.getAppBaseFile:()Ljava/io/File;
aload 1
invokevirtual org.apache.catalina.util.ContextName.getBaseName:()Ljava/lang/String;
invokespecial java.io.File.<init>:(Ljava/io/File;Ljava/lang/String;)V
astore 9
98: aload 6
invokeinterface org.apache.catalina.Context.getDocBase:()Ljava/lang/String;
ifnull 103
99: aload 6
invokeinterface org.apache.catalina.Context.getDocBase:()Ljava/lang/String;
getstatic java.util.Locale.ENGLISH:Ljava/util/Locale;
invokevirtual java.lang.String.toLowerCase:(Ljava/util/Locale;)Ljava/lang/String;
ldc ".war"
invokevirtual java.lang.String.endsWith:(Ljava/lang/String;)Z
ifne 103
100: new java.io.File
dup
aload 6
invokeinterface org.apache.catalina.Context.getDocBase:()Ljava/lang/String;
invokespecial java.io.File.<init>:(Ljava/lang/String;)V
astore 9
101: aload 9
invokevirtual java.io.File.isAbsolute:()Z
ifne 103
102: new java.io.File
dup
aload 0
getfield org.apache.catalina.startup.HostConfig.host:Lorg/apache/catalina/Host;
invokeinterface org.apache.catalina.Host.getAppBaseFile:()Ljava/io/File;
aload 6
invokeinterface org.apache.catalina.Context.getDocBase:()Ljava/lang/String;
invokespecial java.io.File.<init>:(Ljava/io/File;Ljava/lang/String;)V
astore 9
103: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.catalina.startup.HostConfig.unpackWARs:Z
istore 19
start local 19 104: iload 19
ifeq 106
aload 6
instanceof org.apache.catalina.core.StandardContext
ifeq 106
105: aload 6
checkcast org.apache.catalina.core.StandardContext
invokevirtual org.apache.catalina.core.StandardContext.getUnpackWAR:()Z
istore 19
106: StackMap locals: org.apache.catalina.startup.HostConfig org.apache.catalina.util.ContextName java.io.File org.apache.catalina.startup.HostConfig$DeployedApplication long org.apache.catalina.Context int int java.io.File top top top top top top top top top int
StackMap stack:
iload 7
ifeq 115
107: iload 19
ifeq 113
108: aload 3
getfield org.apache.catalina.startup.HostConfig$DeployedApplication.redeployResources:Ljava/util/LinkedHashMap;
aload 9
invokevirtual java.io.File.getAbsolutePath:()Ljava/lang/String;
109: aload 9
invokevirtual java.io.File.lastModified:()J
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
110: invokevirtual java.util.LinkedHashMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
111: aload 0
aload 3
aload 9
invokevirtual java.io.File.getAbsolutePath:()Ljava/lang/String;
aload 6
invokevirtual org.apache.catalina.startup.HostConfig.addWatchedResources:(Lorg/apache/catalina/startup/HostConfig$DeployedApplication;Ljava/lang/String;Lorg/apache/catalina/Context;)V
112: goto 140
113: StackMap locals:
StackMap stack:
aload 0
aload 3
aconst_null
aload 6
invokevirtual org.apache.catalina.startup.HostConfig.addWatchedResources:(Lorg/apache/catalina/startup/HostConfig$DeployedApplication;Ljava/lang/String;Lorg/apache/catalina/Context;)V
114: goto 140
115: StackMap locals:
StackMap stack:
iload 8
ifne 126
116: new java.io.File
dup
new java.lang.StringBuilder
dup
aload 9
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 ".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/lang/String;)V
astore 20
start local 20 117: aload 20
invokevirtual java.io.File.exists:()Z
ifeq 122
118: aload 3
getfield org.apache.catalina.startup.HostConfig$DeployedApplication.redeployResources:Ljava/util/LinkedHashMap;
aload 20
invokevirtual java.io.File.getAbsolutePath:()Ljava/lang/String;
119: aload 20
invokevirtual java.io.File.lastModified:()J
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
120: invokevirtual java.util.LinkedHashMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
121: goto 126
122: StackMap locals: java.io.File
StackMap stack:
aload 3
getfield org.apache.catalina.startup.HostConfig$DeployedApplication.redeployResources:Ljava/util/LinkedHashMap;
123: aload 20
invokevirtual java.io.File.getAbsolutePath:()Ljava/lang/String;
124: lconst_0
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
125: invokevirtual java.util.LinkedHashMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 20 126: StackMap locals:
StackMap stack:
iload 19
ifeq 134
127: aload 3
getfield org.apache.catalina.startup.HostConfig$DeployedApplication.redeployResources:Ljava/util/LinkedHashMap;
aload 9
invokevirtual java.io.File.getAbsolutePath:()Ljava/lang/String;
128: aload 9
invokevirtual java.io.File.lastModified:()J
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
129: invokevirtual java.util.LinkedHashMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
130: aload 0
aload 3
131: aload 9
invokevirtual java.io.File.getAbsolutePath:()Ljava/lang/String;
aload 6
132: invokevirtual org.apache.catalina.startup.HostConfig.addWatchedResources:(Lorg/apache/catalina/startup/HostConfig$DeployedApplication;Ljava/lang/String;Lorg/apache/catalina/Context;)V
133: goto 135
134: StackMap locals:
StackMap stack:
aload 0
aload 3
aconst_null
aload 6
invokevirtual org.apache.catalina.startup.HostConfig.addWatchedResources:(Lorg/apache/catalina/startup/HostConfig$DeployedApplication;Ljava/lang/String;Lorg/apache/catalina/Context;)V
135: StackMap locals:
StackMap stack:
iload 8
ifne 140
136: aload 3
getfield org.apache.catalina.startup.HostConfig$DeployedApplication.redeployResources:Ljava/util/LinkedHashMap;
137: aload 2
invokevirtual java.io.File.getAbsolutePath:()Ljava/lang/String;
138: aload 2
invokevirtual java.io.File.lastModified:()J
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
139: invokevirtual java.util.LinkedHashMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
140: StackMap locals:
StackMap stack:
aload 0
aload 3
invokevirtual org.apache.catalina.startup.HostConfig.addGlobalRedeployResources:(Lorg/apache/catalina/startup/HostConfig$DeployedApplication;)V
end local 19 141: goto 232
142: StackMap locals: org.apache.catalina.startup.HostConfig org.apache.catalina.util.ContextName java.io.File org.apache.catalina.startup.HostConfig$DeployedApplication long org.apache.catalina.Context int int java.io.File
StackMap stack: java.lang.Throwable
astore 18
143: new java.io.File
dup
aload 0
getfield org.apache.catalina.startup.HostConfig.host:Lorg/apache/catalina/Host;
invokeinterface org.apache.catalina.Host.getAppBaseFile:()Ljava/io/File;
aload 1
invokevirtual org.apache.catalina.util.ContextName.getBaseName:()Ljava/lang/String;
invokespecial java.io.File.<init>:(Ljava/io/File;Ljava/lang/String;)V
astore 9
144: aload 6
invokeinterface org.apache.catalina.Context.getDocBase:()Ljava/lang/String;
ifnull 149
145: aload 6
invokeinterface org.apache.catalina.Context.getDocBase:()Ljava/lang/String;
getstatic java.util.Locale.ENGLISH:Ljava/util/Locale;
invokevirtual java.lang.String.toLowerCase:(Ljava/util/Locale;)Ljava/lang/String;
ldc ".war"
invokevirtual java.lang.String.endsWith:(Ljava/lang/String;)Z
ifne 149
146: new java.io.File
dup
aload 6
invokeinterface org.apache.catalina.Context.getDocBase:()Ljava/lang/String;
invokespecial java.io.File.<init>:(Ljava/lang/String;)V
astore 9
147: aload 9
invokevirtual java.io.File.isAbsolute:()Z
ifne 149
148: new java.io.File
dup
aload 0
getfield org.apache.catalina.startup.HostConfig.host:Lorg/apache/catalina/Host;
invokeinterface org.apache.catalina.Host.getAppBaseFile:()Ljava/io/File;
aload 6
invokeinterface org.apache.catalina.Context.getDocBase:()Ljava/lang/String;
invokespecial java.io.File.<init>:(Ljava/io/File;Ljava/lang/String;)V
astore 9
149: StackMap locals: org.apache.catalina.startup.HostConfig org.apache.catalina.util.ContextName java.io.File org.apache.catalina.startup.HostConfig$DeployedApplication long org.apache.catalina.Context int int java.io.File top top top top top top top top java.lang.Throwable
StackMap stack:
aload 0
getfield org.apache.catalina.startup.HostConfig.unpackWARs:Z
istore 19
start local 19 150: iload 19
ifeq 152
aload 6
instanceof org.apache.catalina.core.StandardContext
ifeq 152
151: aload 6
checkcast org.apache.catalina.core.StandardContext
invokevirtual org.apache.catalina.core.StandardContext.getUnpackWAR:()Z
istore 19
152: StackMap locals: int
StackMap stack:
iload 7
ifeq 161
153: iload 19
ifeq 159
154: aload 3
getfield org.apache.catalina.startup.HostConfig$DeployedApplication.redeployResources:Ljava/util/LinkedHashMap;
aload 9
invokevirtual java.io.File.getAbsolutePath:()Ljava/lang/String;
155: aload 9
invokevirtual java.io.File.lastModified:()J
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
156: invokevirtual java.util.LinkedHashMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
157: aload 0
aload 3
aload 9
invokevirtual java.io.File.getAbsolutePath:()Ljava/lang/String;
aload 6
invokevirtual org.apache.catalina.startup.HostConfig.addWatchedResources:(Lorg/apache/catalina/startup/HostConfig$DeployedApplication;Ljava/lang/String;Lorg/apache/catalina/Context;)V
158: goto 186
159: StackMap locals:
StackMap stack:
aload 0
aload 3
aconst_null
aload 6
invokevirtual org.apache.catalina.startup.HostConfig.addWatchedResources:(Lorg/apache/catalina/startup/HostConfig$DeployedApplication;Ljava/lang/String;Lorg/apache/catalina/Context;)V
160: goto 186
161: StackMap locals:
StackMap stack:
iload 8
ifne 172
162: new java.io.File
dup
new java.lang.StringBuilder
dup
aload 9
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 ".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/lang/String;)V
astore 20
start local 20 163: aload 20
invokevirtual java.io.File.exists:()Z
ifeq 168
164: aload 3
getfield org.apache.catalina.startup.HostConfig$DeployedApplication.redeployResources:Ljava/util/LinkedHashMap;
aload 20
invokevirtual java.io.File.getAbsolutePath:()Ljava/lang/String;
165: aload 20
invokevirtual java.io.File.lastModified:()J
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
166: invokevirtual java.util.LinkedHashMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
167: goto 172
168: StackMap locals: java.io.File
StackMap stack:
aload 3
getfield org.apache.catalina.startup.HostConfig$DeployedApplication.redeployResources:Ljava/util/LinkedHashMap;
169: aload 20
invokevirtual java.io.File.getAbsolutePath:()Ljava/lang/String;
170: lconst_0
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
171: invokevirtual java.util.LinkedHashMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 20 172: StackMap locals:
StackMap stack:
iload 19
ifeq 180
173: aload 3
getfield org.apache.catalina.startup.HostConfig$DeployedApplication.redeployResources:Ljava/util/LinkedHashMap;
aload 9
invokevirtual java.io.File.getAbsolutePath:()Ljava/lang/String;
174: aload 9
invokevirtual java.io.File.lastModified:()J
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
175: invokevirtual java.util.LinkedHashMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
176: aload 0
aload 3
177: aload 9
invokevirtual java.io.File.getAbsolutePath:()Ljava/lang/String;
aload 6
178: invokevirtual org.apache.catalina.startup.HostConfig.addWatchedResources:(Lorg/apache/catalina/startup/HostConfig$DeployedApplication;Ljava/lang/String;Lorg/apache/catalina/Context;)V
179: goto 181
180: StackMap locals:
StackMap stack:
aload 0
aload 3
aconst_null
aload 6
invokevirtual org.apache.catalina.startup.HostConfig.addWatchedResources:(Lorg/apache/catalina/startup/HostConfig$DeployedApplication;Ljava/lang/String;Lorg/apache/catalina/Context;)V
181: StackMap locals:
StackMap stack:
iload 8
ifne 186
182: aload 3
getfield org.apache.catalina.startup.HostConfig$DeployedApplication.redeployResources:Ljava/util/LinkedHashMap;
183: aload 2
invokevirtual java.io.File.getAbsolutePath:()Ljava/lang/String;
184: aload 2
invokevirtual java.io.File.lastModified:()J
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
185: invokevirtual java.util.LinkedHashMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
186: StackMap locals:
StackMap stack:
aload 0
aload 3
invokevirtual org.apache.catalina.startup.HostConfig.addGlobalRedeployResources:(Lorg/apache/catalina/startup/HostConfig$DeployedApplication;)V
end local 19 187: aload 18
athrow
188: StackMap locals: org.apache.catalina.startup.HostConfig org.apache.catalina.util.ContextName java.io.File org.apache.catalina.startup.HostConfig$DeployedApplication long org.apache.catalina.Context int int java.io.File
StackMap stack:
new java.io.File
dup
aload 0
getfield org.apache.catalina.startup.HostConfig.host:Lorg/apache/catalina/Host;
invokeinterface org.apache.catalina.Host.getAppBaseFile:()Ljava/io/File;
aload 1
invokevirtual org.apache.catalina.util.ContextName.getBaseName:()Ljava/lang/String;
invokespecial java.io.File.<init>:(Ljava/io/File;Ljava/lang/String;)V
astore 9
189: aload 6
invokeinterface org.apache.catalina.Context.getDocBase:()Ljava/lang/String;
ifnull 194
190: aload 6
invokeinterface org.apache.catalina.Context.getDocBase:()Ljava/lang/String;
getstatic java.util.Locale.ENGLISH:Ljava/util/Locale;
invokevirtual java.lang.String.toLowerCase:(Ljava/util/Locale;)Ljava/lang/String;
ldc ".war"
invokevirtual java.lang.String.endsWith:(Ljava/lang/String;)Z
ifne 194
191: new java.io.File
dup
aload 6
invokeinterface org.apache.catalina.Context.getDocBase:()Ljava/lang/String;
invokespecial java.io.File.<init>:(Ljava/lang/String;)V
astore 9
192: aload 9
invokevirtual java.io.File.isAbsolute:()Z
ifne 194
193: new java.io.File
dup
aload 0
getfield org.apache.catalina.startup.HostConfig.host:Lorg/apache/catalina/Host;
invokeinterface org.apache.catalina.Host.getAppBaseFile:()Ljava/io/File;
aload 6
invokeinterface org.apache.catalina.Context.getDocBase:()Ljava/lang/String;
invokespecial java.io.File.<init>:(Ljava/io/File;Ljava/lang/String;)V
astore 9
194: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.catalina.startup.HostConfig.unpackWARs:Z
istore 19
start local 19 195: iload 19
ifeq 197
aload 6
instanceof org.apache.catalina.core.StandardContext
ifeq 197
196: aload 6
checkcast org.apache.catalina.core.StandardContext
invokevirtual org.apache.catalina.core.StandardContext.getUnpackWAR:()Z
istore 19
197: StackMap locals: org.apache.catalina.startup.HostConfig org.apache.catalina.util.ContextName java.io.File org.apache.catalina.startup.HostConfig$DeployedApplication long org.apache.catalina.Context int int java.io.File top top top top top top top top top int
StackMap stack:
iload 7
ifeq 206
198: iload 19
ifeq 204
199: aload 3
getfield org.apache.catalina.startup.HostConfig$DeployedApplication.redeployResources:Ljava/util/LinkedHashMap;
aload 9
invokevirtual java.io.File.getAbsolutePath:()Ljava/lang/String;
200: aload 9
invokevirtual java.io.File.lastModified:()J
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
201: invokevirtual java.util.LinkedHashMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
202: aload 0
aload 3
aload 9
invokevirtual java.io.File.getAbsolutePath:()Ljava/lang/String;
aload 6
invokevirtual org.apache.catalina.startup.HostConfig.addWatchedResources:(Lorg/apache/catalina/startup/HostConfig$DeployedApplication;Ljava/lang/String;Lorg/apache/catalina/Context;)V
203: goto 231
204: StackMap locals:
StackMap stack:
aload 0
aload 3
aconst_null
aload 6
invokevirtual org.apache.catalina.startup.HostConfig.addWatchedResources:(Lorg/apache/catalina/startup/HostConfig$DeployedApplication;Ljava/lang/String;Lorg/apache/catalina/Context;)V
205: goto 231
206: StackMap locals:
StackMap stack:
iload 8
ifne 217
207: new java.io.File
dup
new java.lang.StringBuilder
dup
aload 9
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 ".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/lang/String;)V
astore 20
start local 20 208: aload 20
invokevirtual java.io.File.exists:()Z
ifeq 213
209: aload 3
getfield org.apache.catalina.startup.HostConfig$DeployedApplication.redeployResources:Ljava/util/LinkedHashMap;
aload 20
invokevirtual java.io.File.getAbsolutePath:()Ljava/lang/String;
210: aload 20
invokevirtual java.io.File.lastModified:()J
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
211: invokevirtual java.util.LinkedHashMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
212: goto 217
213: StackMap locals: java.io.File
StackMap stack:
aload 3
getfield org.apache.catalina.startup.HostConfig$DeployedApplication.redeployResources:Ljava/util/LinkedHashMap;
214: aload 20
invokevirtual java.io.File.getAbsolutePath:()Ljava/lang/String;
215: lconst_0
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
216: invokevirtual java.util.LinkedHashMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 20 217: StackMap locals:
StackMap stack:
iload 19
ifeq 225
218: aload 3
getfield org.apache.catalina.startup.HostConfig$DeployedApplication.redeployResources:Ljava/util/LinkedHashMap;
aload 9
invokevirtual java.io.File.getAbsolutePath:()Ljava/lang/String;
219: aload 9
invokevirtual java.io.File.lastModified:()J
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
220: invokevirtual java.util.LinkedHashMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
221: aload 0
aload 3
222: aload 9
invokevirtual java.io.File.getAbsolutePath:()Ljava/lang/String;
aload 6
223: invokevirtual org.apache.catalina.startup.HostConfig.addWatchedResources:(Lorg/apache/catalina/startup/HostConfig$DeployedApplication;Ljava/lang/String;Lorg/apache/catalina/Context;)V
224: goto 226
225: StackMap locals:
StackMap stack:
aload 0
aload 3
aconst_null
aload 6
invokevirtual org.apache.catalina.startup.HostConfig.addWatchedResources:(Lorg/apache/catalina/startup/HostConfig$DeployedApplication;Ljava/lang/String;Lorg/apache/catalina/Context;)V
226: StackMap locals:
StackMap stack:
iload 8
ifne 231
227: aload 3
getfield org.apache.catalina.startup.HostConfig$DeployedApplication.redeployResources:Ljava/util/LinkedHashMap;
228: aload 2
invokevirtual java.io.File.getAbsolutePath:()Ljava/lang/String;
229: aload 2
invokevirtual java.io.File.lastModified:()J
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
230: invokevirtual java.util.LinkedHashMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
231: StackMap locals:
StackMap stack:
aload 0
aload 3
invokevirtual org.apache.catalina.startup.HostConfig.addGlobalRedeployResources:(Lorg/apache/catalina/startup/HostConfig$DeployedApplication;)V
end local 19 232: StackMap locals: org.apache.catalina.startup.HostConfig org.apache.catalina.util.ContextName java.io.File org.apache.catalina.startup.HostConfig$DeployedApplication long org.apache.catalina.Context int int java.io.File
StackMap stack:
aload 0
getfield org.apache.catalina.startup.HostConfig.host:Lorg/apache/catalina/Host;
aload 6
invokeinterface org.apache.catalina.Context.getName:()Ljava/lang/String;
invokeinterface org.apache.catalina.Host.findChild:(Ljava/lang/String;)Lorg/apache/catalina/Container;
ifnull 234
233: aload 0
getfield org.apache.catalina.startup.HostConfig.deployed:Ljava/util/Map;
aload 6
invokeinterface org.apache.catalina.Context.getName:()Ljava/lang/String;
aload 3
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
234: StackMap locals:
StackMap stack:
getstatic org.apache.catalina.startup.HostConfig.log:Lorg/apache/juli/logging/Log;
invokeinterface org.apache.juli.logging.Log.isInfoEnabled:()Z
ifeq 238
235: getstatic org.apache.catalina.startup.HostConfig.log:Lorg/apache/juli/logging/Log;
getstatic org.apache.catalina.startup.HostConfig.sm:Lorg/apache/tomcat/util/res/StringManager;
ldc "hostConfig.deployDescriptor.finished"
iconst_2
anewarray java.lang.Object
dup
iconst_0
236: aload 2
invokevirtual java.io.File.getAbsolutePath:()Ljava/lang/String;
aastore
dup
iconst_1
invokestatic java.lang.System.currentTimeMillis:()J
lload 4
lsub
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
aastore
237: invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokeinterface org.apache.juli.logging.Log.info:(Ljava/lang/Object;)V
238: StackMap locals:
StackMap stack:
return
end local 9 end local 8 end local 7 end local 6 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 239 0 this Lorg/apache/catalina/startup/HostConfig;
0 239 1 cn Lorg/apache/catalina/util/ContextName;
0 239 2 contextXml Ljava/io/File;
2 239 3 deployedApp Lorg/apache/catalina/startup/HostConfig$DeployedApplication;
3 239 4 startTime J
9 239 6 context Lorg/apache/catalina/Context;
10 239 7 isExternalWar Z
11 239 8 isExternal Z
12 239 9 expandedDocBase Ljava/io/File;
14 86 12 fis Ljava/io/FileInputStream;
18 24 14 e Ljava/lang/Exception;
44 84 13 clazz Ljava/lang/Class<*>;
45 84 14 listener Lorg/apache/catalina/LifecycleListener;
52 83 15 docBase Ljava/io/File;
69 78 16 war Ljava/io/File;
74 78 17 dir Ljava/io/File;
91 97 10 t Ljava/lang/Throwable;
104 141 19 unpackWAR Z
150 187 19 unpackWAR Z
195 232 19 unpackWAR Z
117 126 20 warDocBase Ljava/io/File;
163 172 20 warDocBase Ljava/io/File;
208 217 20 warDocBase Ljava/io/File;
Exception table:
from to target type
15 16 17 Class java.lang.Exception
15 24 27 any
15 36 37 any
37 38 37 any
14 84 85 any
13 87 87 any
12 90 90 Class java.lang.Throwable
12 97 142 any
MethodParameters:
Name Flags
cn
contextXml
protected void deployWARs(java.io.File, java.lang.String[]);
descriptor: (Ljava/io/File;[Ljava/lang/String;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=7, locals=14, args_size=3
start local 0 start local 1 start local 2 0: aload 2
ifnonnull 2
1: return
2: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.catalina.startup.HostConfig.host:Lorg/apache/catalina/Host;
invokeinterface org.apache.catalina.Host.getStartStopExecutor:()Ljava/util/concurrent/ExecutorService;
astore 3
start local 3 3: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 4
start local 4 4: aload 2
dup
astore 8
arraylength
istore 7
iconst_0
istore 6
goto 42
StackMap locals: org.apache.catalina.startup.HostConfig java.io.File java.lang.String[] java.util.concurrent.ExecutorService java.util.List top int int java.lang.String[]
StackMap stack:
5: aload 8
iload 6
aaload
astore 5
start local 5 6: aload 5
ldc "META-INF"
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 8
7: goto 41
8: StackMap locals: org.apache.catalina.startup.HostConfig java.io.File java.lang.String[] java.util.concurrent.ExecutorService java.util.List java.lang.String int int java.lang.String[]
StackMap stack:
aload 5
ldc "WEB-INF"
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 10
9: goto 41
10: StackMap locals:
StackMap stack:
new java.io.File
dup
aload 1
aload 5
invokespecial java.io.File.<init>:(Ljava/io/File;Ljava/lang/String;)V
astore 9
start local 9 11: aload 5
getstatic java.util.Locale.ENGLISH:Ljava/util/Locale;
invokevirtual java.lang.String.toLowerCase:(Ljava/util/Locale;)Ljava/lang/String;
ldc ".war"
invokevirtual java.lang.String.endsWith:(Ljava/lang/String;)Z
ifeq 41
12: aload 9
invokevirtual java.io.File.isFile:()Z
ifeq 41
aload 0
getfield org.apache.catalina.startup.HostConfig.invalidWars:Ljava/util/Set;
aload 5
invokeinterface java.util.Set.contains:(Ljava/lang/Object;)Z
ifne 41
13: new org.apache.catalina.util.ContextName
dup
aload 5
iconst_1
invokespecial org.apache.catalina.util.ContextName.<init>:(Ljava/lang/String;Z)V
astore 10
start local 10 14: aload 0
aload 10
invokevirtual org.apache.catalina.util.ContextName.getName:()Ljava/lang/String;
invokevirtual org.apache.catalina.startup.HostConfig.isServiced:(Ljava/lang/String;)Z
ifeq 16
15: goto 41
16: StackMap locals: java.io.File org.apache.catalina.util.ContextName
StackMap stack:
aload 0
aload 10
invokevirtual org.apache.catalina.util.ContextName.getName:()Ljava/lang/String;
invokevirtual org.apache.catalina.startup.HostConfig.deploymentExists:(Ljava/lang/String;)Z
ifeq 34
17: aload 0
getfield org.apache.catalina.startup.HostConfig.deployed:Ljava/util/Map;
aload 10
invokevirtual org.apache.catalina.util.ContextName.getName:()Ljava/lang/String;
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.apache.catalina.startup.HostConfig$DeployedApplication
astore 11
start local 11 18: aload 0
getfield org.apache.catalina.startup.HostConfig.unpackWARs:Z
istore 12
start local 12 19: iload 12
ifeq 21
aload 0
getfield org.apache.catalina.startup.HostConfig.host:Lorg/apache/catalina/Host;
aload 10
invokevirtual org.apache.catalina.util.ContextName.getName:()Ljava/lang/String;
invokeinterface org.apache.catalina.Host.findChild:(Ljava/lang/String;)Lorg/apache/catalina/Container;
instanceof org.apache.catalina.core.StandardContext
ifeq 21
20: aload 0
getfield org.apache.catalina.startup.HostConfig.host:Lorg/apache/catalina/Host;
aload 10
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.core.StandardContext
invokevirtual org.apache.catalina.core.StandardContext.getUnpackWAR:()Z
istore 12
21: StackMap locals: org.apache.catalina.startup.HostConfig$DeployedApplication int
StackMap stack:
iload 12
ifne 41
aload 11
ifnull 41
22: new java.io.File
dup
aload 1
aload 10
invokevirtual org.apache.catalina.util.ContextName.getBaseName:()Ljava/lang/String;
invokespecial java.io.File.<init>:(Ljava/io/File;Ljava/lang/String;)V
astore 13
start local 13 23: aload 13
invokevirtual java.io.File.exists:()Z
ifeq 32
24: aload 11
getfield org.apache.catalina.startup.HostConfig$DeployedApplication.loggedDirWarning:Z
ifne 41
25: getstatic org.apache.catalina.startup.HostConfig.log:Lorg/apache/juli/logging/Log;
getstatic org.apache.catalina.startup.HostConfig.sm:Lorg/apache/tomcat/util/res/StringManager;
26: ldc "hostConfig.deployWar.hiddenDir"
iconst_2
anewarray java.lang.Object
dup
iconst_0
27: aload 13
invokevirtual java.io.File.getAbsoluteFile:()Ljava/io/File;
aastore
dup
iconst_1
28: aload 9
invokevirtual java.io.File.getAbsoluteFile:()Ljava/io/File;
aastore
29: invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokeinterface org.apache.juli.logging.Log.warn:(Ljava/lang/Object;)V
30: aload 11
iconst_1
putfield org.apache.catalina.startup.HostConfig$DeployedApplication.loggedDirWarning:Z
31: goto 41
32: StackMap locals: java.io.File
StackMap stack:
aload 11
iconst_0
putfield org.apache.catalina.startup.HostConfig$DeployedApplication.loggedDirWarning:Z
end local 13 33: goto 41
end local 12 end local 11 34: StackMap locals:
StackMap stack:
aload 0
aload 1
aload 10
invokevirtual org.apache.catalina.util.ContextName.getBaseName:()Ljava/lang/String;
invokevirtual org.apache.catalina.startup.HostConfig.validateContextPath:(Ljava/io/File;Ljava/lang/String;)Z
ifne 40
35: getstatic org.apache.catalina.startup.HostConfig.log:Lorg/apache/juli/logging/Log;
getstatic org.apache.catalina.startup.HostConfig.sm:Lorg/apache/tomcat/util/res/StringManager;
36: ldc "hostConfig.illegalWarName"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 5
aastore
37: invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokeinterface org.apache.juli.logging.Log.error:(Ljava/lang/Object;)V
38: aload 0
getfield org.apache.catalina.startup.HostConfig.invalidWars:Ljava/util/Set;
aload 5
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
39: goto 41
40: StackMap locals:
StackMap stack:
aload 4
aload 3
new org.apache.catalina.startup.HostConfig$DeployWar
dup
aload 0
aload 10
aload 9
invokespecial org.apache.catalina.startup.HostConfig$DeployWar.<init>:(Lorg/apache/catalina/startup/HostConfig;Lorg/apache/catalina/util/ContextName;Ljava/io/File;)V
invokeinterface java.util.concurrent.ExecutorService.submit:(Ljava/lang/Runnable;)Ljava/util/concurrent/Future;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 10 end local 9 end local 5 41: StackMap locals: org.apache.catalina.startup.HostConfig java.io.File java.lang.String[] java.util.concurrent.ExecutorService java.util.List top int int java.lang.String[]
StackMap stack:
iinc 6 1
StackMap locals:
StackMap stack:
42: iload 6
iload 7
if_icmplt 5
43: aload 4
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 6
goto 53
StackMap locals: org.apache.catalina.startup.HostConfig java.io.File java.lang.String[] java.util.concurrent.ExecutorService java.util.List top java.util.Iterator
StackMap stack:
44: aload 6
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.util.concurrent.Future
astore 5
start local 5 45: aload 5
invokeinterface java.util.concurrent.Future.get:()Ljava/lang/Object;
pop
46: goto 53
StackMap locals: org.apache.catalina.startup.HostConfig java.io.File java.lang.String[] java.util.concurrent.ExecutorService java.util.List java.util.concurrent.Future java.util.Iterator
StackMap stack: java.lang.Exception
47: astore 7
start local 7 48: getstatic org.apache.catalina.startup.HostConfig.log:Lorg/apache/juli/logging/Log;
getstatic org.apache.catalina.startup.HostConfig.sm:Lorg/apache/tomcat/util/res/StringManager;
49: ldc "hostConfig.deployWar.threaded.error"
50: invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;)Ljava/lang/String;
51: aload 7
52: invokeinterface org.apache.juli.logging.Log.error:(Ljava/lang/Object;Ljava/lang/Throwable;)V
end local 7 end local 5 53: StackMap locals: org.apache.catalina.startup.HostConfig java.io.File java.lang.String[] java.util.concurrent.ExecutorService java.util.List top java.util.Iterator
StackMap stack:
aload 6
invokeinterface java.util.Iterator.hasNext:()Z
ifne 44
54: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 55 0 this Lorg/apache/catalina/startup/HostConfig;
0 55 1 appBase Ljava/io/File;
0 55 2 files [Ljava/lang/String;
3 55 3 es Ljava/util/concurrent/ExecutorService;
4 55 4 results Ljava/util/List<Ljava/util/concurrent/Future<*>;>;
6 41 5 file Ljava/lang/String;
11 41 9 war Ljava/io/File;
14 41 10 cn Lorg/apache/catalina/util/ContextName;
18 34 11 app Lorg/apache/catalina/startup/HostConfig$DeployedApplication;
19 34 12 unpackWAR Z
23 33 13 dir Ljava/io/File;
45 53 5 result Ljava/util/concurrent/Future<*>;
48 53 7 e Ljava/lang/Exception;
Exception table:
from to target type
45 46 47 Class java.lang.Exception
MethodParameters:
Name Flags
appBase
files
private boolean validateContextPath(java.io.File, java.lang.String);
descriptor: (Ljava/io/File;Ljava/lang/String;)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=6, args_size=3
start local 0 start local 1 start local 2 0: aconst_null
astore 4
start local 4 1: aload 1
invokevirtual java.io.File.getCanonicalPath:()Ljava/lang/String;
astore 5
start local 5 2: new java.lang.StringBuilder
dup
aload 5
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
astore 3
start local 3 3: aload 5
getstatic java.io.File.separator:Ljava/lang/String;
invokevirtual java.lang.String.endsWith:(Ljava/lang/String;)Z
ifeq 8
4: aload 3
aload 2
iconst_1
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
5: bipush 47
getstatic java.io.File.separatorChar:C
6: invokevirtual java.lang.String.replace:(CC)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
7: goto 9
8: StackMap locals: java.lang.StringBuilder java.lang.String java.lang.String
StackMap stack:
aload 3
aload 2
bipush 47
getstatic java.io.File.separatorChar:C
invokevirtual java.lang.String.replace:(CC)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
9: StackMap locals:
StackMap stack:
new java.io.File
dup
aload 3
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.io.File.<init>:(Ljava/lang/String;)V
invokevirtual java.io.File.getCanonicalPath:()Ljava/lang/String;
10: astore 4
11: aload 4
getstatic java.io.File.separator:Ljava/lang/String;
invokevirtual java.lang.String.endsWith:(Ljava/lang/String;)Z
ifeq 16
12: aload 3
getstatic java.io.File.separator:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
end local 5 13: goto 16
end local 3 StackMap locals: org.apache.catalina.startup.HostConfig java.io.File java.lang.String top java.lang.String
StackMap stack: java.io.IOException
14: pop
15: iconst_0
ireturn
start local 3 16: StackMap locals: org.apache.catalina.startup.HostConfig java.io.File java.lang.String java.lang.StringBuilder java.lang.String
StackMap stack:
aload 4
aload 3
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ireturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 this Lorg/apache/catalina/startup/HostConfig;
0 17 1 appBase Ljava/io/File;
0 17 2 contextPath Ljava/lang/String;
3 14 3 docBase Ljava/lang/StringBuilder;
16 17 3 docBase Ljava/lang/StringBuilder;
1 17 4 canonicalDocBase Ljava/lang/String;
2 13 5 canonicalAppBase Ljava/lang/String;
Exception table:
from to target type
1 13 14 Class java.io.IOException
MethodParameters:
Name Flags
appBase
contextPath
protected void deployWAR(org.apache.catalina.util.ContextName, java.io.File);
descriptor: (Lorg/apache/catalina/util/ContextName;Ljava/io/File;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=12, locals=19, args_size=3
start local 0 start local 1 start local 2 0: new java.io.File
dup
aload 0
getfield org.apache.catalina.startup.HostConfig.host:Lorg/apache/catalina/Host;
invokeinterface org.apache.catalina.Host.getAppBaseFile:()Ljava/io/File;
1: new java.lang.StringBuilder
dup
aload 1
invokevirtual org.apache.catalina.util.ContextName.getBaseName:()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;
ldc "META-INF/context.xml"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
2: invokespecial java.io.File.<init>:(Ljava/io/File;Ljava/lang/String;)V
astore 3
start local 3 3: new java.io.File
dup
aload 0
getfield org.apache.catalina.startup.HostConfig.host:Lorg/apache/catalina/Host;
invokeinterface org.apache.catalina.Host.getAppBaseFile:()Ljava/io/File;
new java.lang.StringBuilder
dup
aload 1
invokevirtual org.apache.catalina.util.ContextName.getBaseName:()Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc "/META-INF/war-tracker"
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 4
start local 4 4: iconst_0
istore 5
start local 5 5: aconst_null
astore 6
aconst_null
astore 7
6: new java.util.jar.JarFile
dup
aload 2
invokespecial java.util.jar.JarFile.<init>:(Ljava/io/File;)V
astore 8
start local 8 7: aload 8
ldc "META-INF/context.xml"
invokevirtual java.util.jar.JarFile.getJarEntry:(Ljava/lang/String;)Ljava/util/jar/JarEntry;
astore 9
start local 9 8: aload 9
ifnull 10
9: iconst_1
istore 5
end local 9 10: StackMap locals: org.apache.catalina.startup.HostConfig org.apache.catalina.util.ContextName java.io.File java.io.File java.io.File int java.lang.Throwable java.lang.Throwable java.util.jar.JarFile
StackMap stack:
aload 8
ifnull 17
aload 8
invokevirtual java.util.jar.JarFile.close:()V
goto 17
StackMap locals:
StackMap stack: java.lang.Throwable
11: astore 6
aload 8
ifnull 12
aload 8
invokevirtual java.util.jar.JarFile.close:()V
end local 8 StackMap locals:
StackMap stack:
12: aload 6
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
13: astore 7
aload 6
ifnonnull 14
aload 7
astore 6
goto 15
StackMap locals:
StackMap stack:
14: aload 6
aload 7
if_acmpeq 15
aload 6
aload 7
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
15: aload 6
athrow
StackMap locals: org.apache.catalina.startup.HostConfig org.apache.catalina.util.ContextName java.io.File java.io.File java.io.File int
StackMap stack: java.io.IOException
16: pop
17: StackMap locals:
StackMap stack:
iconst_0
istore 6
start local 6 18: aload 3
invokevirtual java.io.File.exists:()Z
ifeq 21
aload 0
getfield org.apache.catalina.startup.HostConfig.unpackWARs:Z
ifeq 21
19: aload 4
invokevirtual java.io.File.exists:()Z
ifeq 20
aload 4
invokevirtual java.io.File.lastModified:()J
aload 2
invokevirtual java.io.File.lastModified:()J
lcmp
ifne 21
20: StackMap locals: int
StackMap stack:
iconst_1
istore 6
21: StackMap locals:
StackMap stack:
aconst_null
astore 7
start local 7 22: aload 0
aload 2
aload 1
invokevirtual org.apache.catalina.startup.HostConfig.isDeployThisXML:(Ljava/io/File;Lorg/apache/catalina/util/ContextName;)Z
istore 8
start local 8 23: iload 8
ifeq 51
iload 6
ifeq 51
aload 0
getfield org.apache.catalina.startup.HostConfig.copyXML:Z
ifne 51
24: aload 0
getfield org.apache.catalina.startup.HostConfig.digesterLock:Ljava/lang/Object;
dup
astore 9
monitorenter
25: aload 0
getfield org.apache.catalina.startup.HostConfig.digester:Lorg/apache/tomcat/util/digester/Digester;
aload 3
invokevirtual org.apache.tomcat.util.digester.Digester.parse:(Ljava/io/File;)Ljava/lang/Object;
checkcast org.apache.catalina.Context
astore 7
26: goto 42
StackMap locals: org.apache.catalina.startup.HostConfig org.apache.catalina.util.ContextName java.io.File java.io.File java.io.File int int org.apache.catalina.Context int java.lang.Object
StackMap stack: java.lang.Exception
27: astore 10
start local 10 28: getstatic org.apache.catalina.startup.HostConfig.log:Lorg/apache/juli/logging/Log;
getstatic org.apache.catalina.startup.HostConfig.sm:Lorg/apache/tomcat/util/res/StringManager;
29: ldc "hostConfig.deployDescriptor.error"
iconst_1
anewarray java.lang.Object
dup
iconst_0
30: aload 2
invokevirtual java.io.File.getAbsolutePath:()Ljava/lang/String;
aastore
31: invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
32: aload 10
33: invokeinterface org.apache.juli.logging.Log.error:(Ljava/lang/Object;Ljava/lang/Throwable;)V
end local 10 34: aload 0
getfield org.apache.catalina.startup.HostConfig.digester:Lorg/apache/tomcat/util/digester/Digester;
invokevirtual org.apache.tomcat.util.digester.Digester.reset:()V
35: aload 7
ifnonnull 45
36: new org.apache.catalina.startup.FailedContext
dup
invokespecial org.apache.catalina.startup.FailedContext.<init>:()V
astore 7
goto 45
37: StackMap locals:
StackMap stack: java.lang.Throwable
astore 11
38: aload 0
getfield org.apache.catalina.startup.HostConfig.digester:Lorg/apache/tomcat/util/digester/Digester;
invokevirtual org.apache.tomcat.util.digester.Digester.reset:()V
39: aload 7
ifnonnull 41
40: new org.apache.catalina.startup.FailedContext
dup
invokespecial org.apache.catalina.startup.FailedContext.<init>:()V
astore 7
41: StackMap locals: org.apache.catalina.startup.HostConfig org.apache.catalina.util.ContextName java.io.File java.io.File java.io.File int int org.apache.catalina.Context int java.lang.Object top java.lang.Throwable
StackMap stack:
aload 11
athrow
42: StackMap locals: org.apache.catalina.startup.HostConfig org.apache.catalina.util.ContextName java.io.File java.io.File java.io.File int int org.apache.catalina.Context int java.lang.Object
StackMap stack:
aload 0
getfield org.apache.catalina.startup.HostConfig.digester:Lorg/apache/tomcat/util/digester/Digester;
invokevirtual org.apache.tomcat.util.digester.Digester.reset:()V
43: aload 7
ifnonnull 45
44: new org.apache.catalina.startup.FailedContext
dup
invokespecial org.apache.catalina.startup.FailedContext.<init>:()V
astore 7
45: StackMap locals:
StackMap stack:
aload 9
monitorexit
46: goto 49
StackMap locals:
StackMap stack: java.lang.Throwable
47: aload 9
monitorexit
48: athrow
49: StackMap locals:
StackMap stack:
aload 7
aload 3
invokevirtual java.io.File.toURI:()Ljava/net/URI;
invokevirtual java.net.URI.toURL:()Ljava/net/URL;
invokeinterface org.apache.catalina.Context.setConfigFile:(Ljava/net/URL;)V
50: goto 123
StackMap locals:
StackMap stack:
51: iload 8
ifeq 102
iload 5
ifeq 102
52: aload 0
getfield org.apache.catalina.startup.HostConfig.digesterLock:Ljava/lang/Object;
dup
astore 9
monitorenter
53: aconst_null
astore 10
aconst_null
astore 11
54: new java.util.jar.JarFile
dup
aload 2
invokespecial java.util.jar.JarFile.<init>:(Ljava/io/File;)V
astore 12
start local 12 55: aload 12
ldc "META-INF/context.xml"
invokevirtual java.util.jar.JarFile.getJarEntry:(Ljava/lang/String;)Ljava/util/jar/JarEntry;
astore 13
start local 13 56: aconst_null
astore 14
aconst_null
astore 15
57: aload 12
aload 13
invokevirtual java.util.jar.JarFile.getInputStream:(Ljava/util/zip/ZipEntry;)Ljava/io/InputStream;
astore 16
start local 16 58: aload 0
getfield org.apache.catalina.startup.HostConfig.digester:Lorg/apache/tomcat/util/digester/Digester;
aload 16
invokevirtual org.apache.tomcat.util.digester.Digester.parse:(Ljava/io/InputStream;)Ljava/lang/Object;
checkcast org.apache.catalina.Context
astore 7
59: aload 16
ifnull 65
aload 16
invokevirtual java.io.InputStream.close:()V
goto 65
StackMap locals: org.apache.catalina.startup.HostConfig org.apache.catalina.util.ContextName java.io.File java.io.File java.io.File int int org.apache.catalina.Context int java.lang.Object java.lang.Throwable java.lang.Throwable java.util.jar.JarFile java.util.jar.JarEntry java.lang.Throwable java.lang.Throwable java.io.InputStream
StackMap stack: java.lang.Throwable
60: astore 14
aload 16
ifnull 61
aload 16
invokevirtual java.io.InputStream.close:()V
end local 16 StackMap locals:
StackMap stack:
61: aload 14
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
62: astore 15
aload 14
ifnonnull 63
aload 15
astore 14
goto 64
StackMap locals:
StackMap stack:
63: aload 14
aload 15
if_acmpeq 64
aload 14
aload 15
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
64: aload 14
athrow
end local 13 65: StackMap locals:
StackMap stack:
aload 12
ifnull 92
aload 12
invokevirtual java.util.jar.JarFile.close:()V
goto 92
StackMap locals:
StackMap stack: java.lang.Throwable
66: astore 10
aload 12
ifnull 67
aload 12
invokevirtual java.util.jar.JarFile.close:()V
end local 12 StackMap locals:
StackMap stack:
67: aload 10
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
68: astore 11
aload 10
ifnonnull 69
aload 11
astore 10
goto 70
StackMap locals:
StackMap stack:
69: aload 10
aload 11
if_acmpeq 70
aload 10
aload 11
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
70: aload 10
athrow
StackMap locals: org.apache.catalina.startup.HostConfig org.apache.catalina.util.ContextName java.io.File java.io.File java.io.File int int org.apache.catalina.Context int java.lang.Object
StackMap stack: java.lang.Exception
71: astore 10
start local 10 72: getstatic org.apache.catalina.startup.HostConfig.log:Lorg/apache/juli/logging/Log;
getstatic org.apache.catalina.startup.HostConfig.sm:Lorg/apache/tomcat/util/res/StringManager;
73: ldc "hostConfig.deployDescriptor.error"
iconst_1
anewarray java.lang.Object
dup
iconst_0
74: aload 2
invokevirtual java.io.File.getAbsolutePath:()Ljava/lang/String;
aastore
75: invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
76: aload 10
77: invokeinterface org.apache.juli.logging.Log.error:(Ljava/lang/Object;Ljava/lang/Throwable;)V
end local 10 78: aload 0
getfield org.apache.catalina.startup.HostConfig.digester:Lorg/apache/tomcat/util/digester/Digester;
invokevirtual org.apache.tomcat.util.digester.Digester.reset:()V
79: aload 7
ifnonnull 81
80: new org.apache.catalina.startup.FailedContext
dup
invokespecial org.apache.catalina.startup.FailedContext.<init>:()V
astore 7
81: StackMap locals:
StackMap stack:
aload 7
82: aload 2
ldc "META-INF/context.xml"
invokestatic org.apache.tomcat.util.buf.UriUtil.buildJarUrl:(Ljava/io/File;Ljava/lang/String;)Ljava/net/URL;
83: invokeinterface org.apache.catalina.Context.setConfigFile:(Ljava/net/URL;)V
goto 98
84: StackMap locals:
StackMap stack: java.lang.Throwable
astore 17
85: aload 0
getfield org.apache.catalina.startup.HostConfig.digester:Lorg/apache/tomcat/util/digester/Digester;
invokevirtual org.apache.tomcat.util.digester.Digester.reset:()V
86: aload 7
ifnonnull 88
87: new org.apache.catalina.startup.FailedContext
dup
invokespecial org.apache.catalina.startup.FailedContext.<init>:()V
astore 7
88: StackMap locals: org.apache.catalina.startup.HostConfig org.apache.catalina.util.ContextName java.io.File java.io.File java.io.File int int org.apache.catalina.Context int java.lang.Object top top top top top top top java.lang.Throwable
StackMap stack:
aload 7
89: aload 2
ldc "META-INF/context.xml"
invokestatic org.apache.tomcat.util.buf.UriUtil.buildJarUrl:(Ljava/io/File;Ljava/lang/String;)Ljava/net/URL;
90: invokeinterface org.apache.catalina.Context.setConfigFile:(Ljava/net/URL;)V
91: aload 17
athrow
92: StackMap locals: org.apache.catalina.startup.HostConfig org.apache.catalina.util.ContextName java.io.File java.io.File java.io.File int int org.apache.catalina.Context int java.lang.Object
StackMap stack:
aload 0
getfield org.apache.catalina.startup.HostConfig.digester:Lorg/apache/tomcat/util/digester/Digester;
invokevirtual org.apache.tomcat.util.digester.Digester.reset:()V
93: aload 7
ifnonnull 95
94: new org.apache.catalina.startup.FailedContext
dup
invokespecial org.apache.catalina.startup.FailedContext.<init>:()V
astore 7
95: StackMap locals:
StackMap stack:
aload 7
96: aload 2
ldc "META-INF/context.xml"
invokestatic org.apache.tomcat.util.buf.UriUtil.buildJarUrl:(Ljava/io/File;Ljava/lang/String;)Ljava/net/URL;
97: invokeinterface org.apache.catalina.Context.setConfigFile:(Ljava/net/URL;)V
98: StackMap locals:
StackMap stack:
aload 9
monitorexit
99: goto 123
StackMap locals:
StackMap stack: java.lang.Throwable
100: aload 9
monitorexit
101: athrow
102: StackMap locals:
StackMap stack:
iload 8
ifne 108
iload 5
ifeq 108
103: getstatic org.apache.catalina.startup.HostConfig.log:Lorg/apache/juli/logging/Log;
getstatic org.apache.catalina.startup.HostConfig.sm:Lorg/apache/tomcat/util/res/StringManager;
ldc "hostConfig.deployDescriptor.blocked"
iconst_3
anewarray java.lang.Object
dup
iconst_0
104: aload 1
invokevirtual org.apache.catalina.util.ContextName.getPath:()Ljava/lang/String;
aastore
dup
iconst_1
ldc "META-INF/context.xml"
aastore
dup
iconst_2
105: new java.io.File
dup
aload 0
getfield org.apache.catalina.startup.HostConfig.host:Lorg/apache/catalina/Host;
invokeinterface org.apache.catalina.Host.getConfigBaseFile:()Ljava/io/File;
new java.lang.StringBuilder
dup
aload 1
invokevirtual org.apache.catalina.util.ContextName.getBaseName:()Ljava/lang/String;
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
aastore
106: invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokeinterface org.apache.juli.logging.Log.error:(Ljava/lang/Object;)V
107: goto 123
108: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.catalina.startup.HostConfig.contextClass:Ljava/lang/String;
invokestatic java.lang.Class.forName:(Ljava/lang/String;)Ljava/lang/Class;
iconst_0
anewarray java.lang.Class
invokevirtual java.lang.Class.getConstructor:([Ljava/lang/Class;)Ljava/lang/reflect/Constructor;
iconst_0
anewarray java.lang.Object
invokevirtual java.lang.reflect.Constructor.newInstance:([Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.apache.catalina.Context
astore 7
109: goto 123
StackMap locals:
StackMap stack: java.lang.Throwable
110: astore 9
start local 9 111: aload 9
invokestatic org.apache.tomcat.util.ExceptionUtils.handleThrowable:(Ljava/lang/Throwable;)V
112: getstatic org.apache.catalina.startup.HostConfig.log:Lorg/apache/juli/logging/Log;
getstatic org.apache.catalina.startup.HostConfig.sm:Lorg/apache/tomcat/util/res/StringManager;
ldc "hostConfig.deployWar.error"
iconst_1
anewarray java.lang.Object
dup
iconst_0
113: aload 2
invokevirtual java.io.File.getAbsolutePath:()Ljava/lang/String;
aastore
114: invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
115: aload 9
116: invokeinterface org.apache.juli.logging.Log.error:(Ljava/lang/Object;Ljava/lang/Throwable;)V
end local 9 117: aload 7
ifnonnull 125
118: new org.apache.catalina.startup.FailedContext
dup
invokespecial org.apache.catalina.startup.FailedContext.<init>:()V
astore 7
goto 125
119: StackMap locals:
StackMap stack: java.lang.Throwable
astore 18
120: aload 7
ifnonnull 122
121: new org.apache.catalina.startup.FailedContext
dup
invokespecial org.apache.catalina.startup.FailedContext.<init>:()V
astore 7
122: StackMap locals: org.apache.catalina.startup.HostConfig org.apache.catalina.util.ContextName java.io.File java.io.File java.io.File int int org.apache.catalina.Context int top top top top top top top top top java.lang.Throwable
StackMap stack:
aload 18
athrow
123: StackMap locals: org.apache.catalina.startup.HostConfig org.apache.catalina.util.ContextName java.io.File java.io.File java.io.File int int org.apache.catalina.Context int
StackMap stack:
aload 7
ifnonnull 125
124: new org.apache.catalina.startup.FailedContext
dup
invokespecial org.apache.catalina.startup.FailedContext.<init>:()V
astore 7
125: StackMap locals:
StackMap stack:
iconst_0
istore 9
start local 9 126: iload 8
ifeq 160
127: aload 0
getfield org.apache.catalina.startup.HostConfig.host:Lorg/apache/catalina/Host;
instanceof org.apache.catalina.core.StandardHost
ifeq 129
128: aload 0
getfield org.apache.catalina.startup.HostConfig.host:Lorg/apache/catalina/Host;
checkcast org.apache.catalina.core.StandardHost
invokevirtual org.apache.catalina.core.StandardHost.isCopyXML:()Z
istore 9
129: StackMap locals: int
StackMap stack:
iload 9
ifne 131
aload 7
instanceof org.apache.catalina.core.StandardContext
ifeq 131
130: aload 7
checkcast org.apache.catalina.core.StandardContext
invokevirtual org.apache.catalina.core.StandardContext.getCopyXML:()Z
istore 9
131: StackMap locals:
StackMap stack:
iload 5
ifeq 160
iload 9
ifeq 160
132: new java.io.File
dup
aload 0
getfield org.apache.catalina.startup.HostConfig.host:Lorg/apache/catalina/Host;
invokeinterface org.apache.catalina.Host.getConfigBaseFile:()Ljava/io/File;
133: new java.lang.StringBuilder
dup
aload 1
invokevirtual org.apache.catalina.util.ContextName.getBaseName:()Ljava/lang/String;
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;
134: invokespecial java.io.File.<init>:(Ljava/io/File;Ljava/lang/String;)V
astore 3
135: aconst_null
astore 10
aconst_null
astore 11
136: new java.util.jar.JarFile
dup
aload 2
invokespecial java.util.jar.JarFile.<init>:(Ljava/io/File;)V
astore 12
start local 12 137: aload 12
ldc "META-INF/context.xml"
invokevirtual java.util.jar.JarFile.getJarEntry:(Ljava/lang/String;)Ljava/util/jar/JarEntry;
astore 13
start local 13 138: aconst_null
astore 14
aconst_null
astore 15
139: aload 12
aload 13
invokevirtual java.util.jar.JarFile.getInputStream:(Ljava/util/zip/ZipEntry;)Ljava/io/InputStream;
astore 16
start local 16 140: new java.io.FileOutputStream
dup
aload 3
invokespecial java.io.FileOutputStream.<init>:(Ljava/io/File;)V
astore 17
start local 17 141: aload 16
aload 17
invokestatic org.apache.catalina.util.IOTools.flow:(Ljava/io/InputStream;Ljava/io/OutputStream;)V
142: aload 17
ifnull 145
aload 17
invokevirtual java.io.OutputStream.close:()V
goto 145
StackMap locals: org.apache.catalina.startup.HostConfig org.apache.catalina.util.ContextName java.io.File java.io.File java.io.File int int org.apache.catalina.Context int int java.lang.Throwable java.lang.Throwable java.util.jar.JarFile java.util.jar.JarEntry java.lang.Throwable java.lang.Throwable java.io.InputStream java.io.OutputStream
StackMap stack: java.lang.Throwable
143: astore 14
aload 17
ifnull 144
aload 17
invokevirtual java.io.OutputStream.close:()V
end local 17 StackMap locals:
StackMap stack:
144: aload 14
athrow
StackMap locals:
StackMap stack:
145: aload 16
ifnull 153
aload 16
invokevirtual java.io.InputStream.close:()V
goto 153
StackMap locals:
StackMap stack: java.lang.Throwable
146: astore 15
aload 14
ifnonnull 147
aload 15
astore 14
goto 148
StackMap locals:
StackMap stack:
147: aload 14
aload 15
if_acmpeq 148
aload 14
aload 15
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
148: aload 16
ifnull 149
aload 16
invokevirtual java.io.InputStream.close:()V
end local 16 StackMap locals:
StackMap stack:
149: aload 14
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
150: astore 15
aload 14
ifnonnull 151
aload 15
astore 14
goto 152
StackMap locals:
StackMap stack:
151: aload 14
aload 15
if_acmpeq 152
aload 14
aload 15
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
152: aload 14
athrow
end local 13 153: StackMap locals:
StackMap stack:
aload 12
ifnull 160
aload 12
invokevirtual java.util.jar.JarFile.close:()V
goto 160
StackMap locals:
StackMap stack: java.lang.Throwable
154: astore 10
aload 12
ifnull 155
aload 12
invokevirtual java.util.jar.JarFile.close:()V
end local 12 StackMap locals:
StackMap stack:
155: aload 10
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
156: astore 11
aload 10
ifnonnull 157
aload 11
astore 10
goto 158
StackMap locals:
StackMap stack:
157: aload 10
aload 11
if_acmpeq 158
aload 10
aload 11
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
158: aload 10
athrow
StackMap locals: org.apache.catalina.startup.HostConfig org.apache.catalina.util.ContextName java.io.File java.io.File java.io.File int int org.apache.catalina.Context int int
StackMap stack: java.io.IOException
159: pop
160: StackMap locals:
StackMap stack:
new org.apache.catalina.startup.HostConfig$DeployedApplication
dup
aload 1
invokevirtual org.apache.catalina.util.ContextName.getName:()Ljava/lang/String;
161: aload 3
invokevirtual java.io.File.exists:()Z
ifeq 163
iload 8
ifeq 163
iload 9
ifeq 163
162: iconst_1
goto 164
StackMap locals: org.apache.catalina.startup.HostConfig org.apache.catalina.util.ContextName java.io.File java.io.File java.io.File int int org.apache.catalina.Context int int
StackMap stack: new 160 new 160 java.lang.String
163: iconst_0
StackMap locals: org.apache.catalina.startup.HostConfig org.apache.catalina.util.ContextName java.io.File java.io.File java.io.File int int org.apache.catalina.Context int int
StackMap stack: new 160 new 160 java.lang.String int
164: invokespecial org.apache.catalina.startup.HostConfig$DeployedApplication.<init>:(Ljava/lang/String;Z)V
astore 10
start local 10 165: lconst_0
lstore 11
start local 11 166: getstatic org.apache.catalina.startup.HostConfig.log:Lorg/apache/juli/logging/Log;
invokeinterface org.apache.juli.logging.Log.isInfoEnabled:()Z
ifeq 171
167: invokestatic java.lang.System.currentTimeMillis:()J
lstore 11
168: getstatic org.apache.catalina.startup.HostConfig.log:Lorg/apache/juli/logging/Log;
getstatic org.apache.catalina.startup.HostConfig.sm:Lorg/apache/tomcat/util/res/StringManager;
ldc "hostConfig.deployWar"
iconst_1
anewarray java.lang.Object
dup
iconst_0
169: aload 2
invokevirtual java.io.File.getAbsolutePath:()Ljava/lang/String;
aastore
170: invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokeinterface org.apache.juli.logging.Log.info:(Ljava/lang/Object;)V
171: StackMap locals: org.apache.catalina.startup.HostConfig$DeployedApplication long
StackMap stack:
aload 10
getfield org.apache.catalina.startup.HostConfig$DeployedApplication.redeployResources:Ljava/util/LinkedHashMap;
172: aload 2
invokevirtual java.io.File.getAbsolutePath:()Ljava/lang/String;
aload 2
invokevirtual java.io.File.lastModified:()J
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
173: invokevirtual java.util.LinkedHashMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
174: iload 8
ifeq 179
aload 3
invokevirtual java.io.File.exists:()Z
ifeq 179
iload 9
ifeq 179
175: aload 10
getfield org.apache.catalina.startup.HostConfig$DeployedApplication.redeployResources:Ljava/util/LinkedHashMap;
aload 3
invokevirtual java.io.File.getAbsolutePath:()Ljava/lang/String;
176: aload 3
invokevirtual java.io.File.lastModified:()J
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
177: invokevirtual java.util.LinkedHashMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
178: goto 186
179: StackMap locals:
StackMap stack:
aload 10
getfield org.apache.catalina.startup.HostConfig$DeployedApplication.redeployResources:Ljava/util/LinkedHashMap;
180: new java.io.File
dup
aload 0
getfield org.apache.catalina.startup.HostConfig.host:Lorg/apache/catalina/Host;
invokeinterface org.apache.catalina.Host.getConfigBaseFile:()Ljava/io/File;
181: new java.lang.StringBuilder
dup
aload 1
invokevirtual org.apache.catalina.util.ContextName.getBaseName:()Ljava/lang/String;
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;
182: invokespecial java.io.File.<init>:(Ljava/io/File;Ljava/lang/String;)V
183: invokevirtual java.io.File.getAbsolutePath:()Ljava/lang/String;
184: lconst_0
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
185: invokevirtual java.util.LinkedHashMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
186: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.catalina.startup.HostConfig.host:Lorg/apache/catalina/Host;
invokeinterface org.apache.catalina.Host.getConfigClass:()Ljava/lang/String;
invokestatic java.lang.Class.forName:(Ljava/lang/String;)Ljava/lang/Class;
astore 13
start local 13 187: aload 13
iconst_0
anewarray java.lang.Class
invokevirtual java.lang.Class.getConstructor:([Ljava/lang/Class;)Ljava/lang/reflect/Constructor;
iconst_0
anewarray java.lang.Object
invokevirtual java.lang.reflect.Constructor.newInstance:([Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.apache.catalina.LifecycleListener
astore 14
start local 14 188: aload 7
aload 14
invokeinterface org.apache.catalina.Context.addLifecycleListener:(Lorg/apache/catalina/LifecycleListener;)V
189: aload 7
aload 1
invokevirtual org.apache.catalina.util.ContextName.getName:()Ljava/lang/String;
invokeinterface org.apache.catalina.Context.setName:(Ljava/lang/String;)V
190: aload 7
aload 1
invokevirtual org.apache.catalina.util.ContextName.getPath:()Ljava/lang/String;
invokeinterface org.apache.catalina.Context.setPath:(Ljava/lang/String;)V
191: aload 7
aload 1
invokevirtual org.apache.catalina.util.ContextName.getVersion:()Ljava/lang/String;
invokeinterface org.apache.catalina.Context.setWebappVersion:(Ljava/lang/String;)V
192: aload 7
new java.lang.StringBuilder
dup
aload 1
invokevirtual org.apache.catalina.util.ContextName.getBaseName:()Ljava/lang/String;
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;
invokeinterface org.apache.catalina.Context.setDocBase:(Ljava/lang/String;)V
193: aload 0
getfield org.apache.catalina.startup.HostConfig.host:Lorg/apache/catalina/Host;
aload 7
invokeinterface org.apache.catalina.Host.addChild:(Lorg/apache/catalina/Container;)V
end local 14 end local 13 194: goto 241
StackMap locals:
StackMap stack: java.lang.Throwable
195: astore 13
start local 13 196: aload 13
invokestatic org.apache.tomcat.util.ExceptionUtils.handleThrowable:(Ljava/lang/Throwable;)V
197: getstatic org.apache.catalina.startup.HostConfig.log:Lorg/apache/juli/logging/Log;
getstatic org.apache.catalina.startup.HostConfig.sm:Lorg/apache/tomcat/util/res/StringManager;
ldc "hostConfig.deployWar.error"
iconst_1
anewarray java.lang.Object
dup
iconst_0
198: aload 2
invokevirtual java.io.File.getAbsolutePath:()Ljava/lang/String;
aastore
199: invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
200: aload 13
201: invokeinterface org.apache.juli.logging.Log.error:(Ljava/lang/Object;Ljava/lang/Throwable;)V
end local 13 202: aload 0
getfield org.apache.catalina.startup.HostConfig.unpackWARs:Z
istore 16
start local 16 203: iload 16
ifeq 205
aload 7
instanceof org.apache.catalina.core.StandardContext
ifeq 205
204: aload 7
checkcast org.apache.catalina.core.StandardContext
invokevirtual org.apache.catalina.core.StandardContext.getUnpackWAR:()Z
istore 16
205: StackMap locals: org.apache.catalina.startup.HostConfig org.apache.catalina.util.ContextName java.io.File java.io.File java.io.File int int org.apache.catalina.Context int int org.apache.catalina.startup.HostConfig$DeployedApplication long top top top int
StackMap stack:
iload 16
ifeq 218
aload 7
invokeinterface org.apache.catalina.Context.getDocBase:()Ljava/lang/String;
ifnull 218
206: new java.io.File
dup
aload 0
getfield org.apache.catalina.startup.HostConfig.host:Lorg/apache/catalina/Host;
invokeinterface org.apache.catalina.Host.getAppBaseFile:()Ljava/io/File;
aload 1
invokevirtual org.apache.catalina.util.ContextName.getBaseName:()Ljava/lang/String;
invokespecial java.io.File.<init>:(Ljava/io/File;Ljava/lang/String;)V
astore 17
start local 17 207: aload 10
getfield org.apache.catalina.startup.HostConfig$DeployedApplication.redeployResources:Ljava/util/LinkedHashMap;
aload 17
invokevirtual java.io.File.getAbsolutePath:()Ljava/lang/String;
208: aload 17
invokevirtual java.io.File.lastModified:()J
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
209: invokevirtual java.util.LinkedHashMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
210: aload 0
aload 10
aload 17
invokevirtual java.io.File.getAbsolutePath:()Ljava/lang/String;
211: aload 7
212: invokevirtual org.apache.catalina.startup.HostConfig.addWatchedResources:(Lorg/apache/catalina/startup/HostConfig$DeployedApplication;Ljava/lang/String;Lorg/apache/catalina/Context;)V
213: iload 8
ifeq 219
iload 9
ifne 219
iload 5
ifne 214
aload 3
invokevirtual java.io.File.exists:()Z
ifeq 219
214: StackMap locals: java.io.File
StackMap stack:
aload 10
getfield org.apache.catalina.startup.HostConfig$DeployedApplication.redeployResources:Ljava/util/LinkedHashMap;
aload 3
invokevirtual java.io.File.getAbsolutePath:()Ljava/lang/String;
215: aload 3
invokevirtual java.io.File.lastModified:()J
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
216: invokevirtual java.util.LinkedHashMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 17 217: goto 219
218: StackMap locals:
StackMap stack:
aload 0
aload 10
aconst_null
aload 7
invokevirtual org.apache.catalina.startup.HostConfig.addWatchedResources:(Lorg/apache/catalina/startup/HostConfig$DeployedApplication;Ljava/lang/String;Lorg/apache/catalina/Context;)V
219: StackMap locals:
StackMap stack:
aload 0
aload 10
invokevirtual org.apache.catalina.startup.HostConfig.addGlobalRedeployResources:(Lorg/apache/catalina/startup/HostConfig$DeployedApplication;)V
end local 16 220: goto 259
221: StackMap locals: org.apache.catalina.startup.HostConfig org.apache.catalina.util.ContextName java.io.File java.io.File java.io.File int int org.apache.catalina.Context int int org.apache.catalina.startup.HostConfig$DeployedApplication long
StackMap stack: java.lang.Throwable
astore 15
222: aload 0
getfield org.apache.catalina.startup.HostConfig.unpackWARs:Z
istore 16
start local 16 223: iload 16
ifeq 225
aload 7
instanceof org.apache.catalina.core.StandardContext
ifeq 225
224: aload 7
checkcast org.apache.catalina.core.StandardContext
invokevirtual org.apache.catalina.core.StandardContext.getUnpackWAR:()Z
istore 16
225: StackMap locals: org.apache.catalina.startup.HostConfig org.apache.catalina.util.ContextName java.io.File java.io.File java.io.File int int org.apache.catalina.Context int int org.apache.catalina.startup.HostConfig$DeployedApplication long top top java.lang.Throwable int
StackMap stack:
iload 16
ifeq 238
aload 7
invokeinterface org.apache.catalina.Context.getDocBase:()Ljava/lang/String;
ifnull 238
226: new java.io.File
dup
aload 0
getfield org.apache.catalina.startup.HostConfig.host:Lorg/apache/catalina/Host;
invokeinterface org.apache.catalina.Host.getAppBaseFile:()Ljava/io/File;
aload 1
invokevirtual org.apache.catalina.util.ContextName.getBaseName:()Ljava/lang/String;
invokespecial java.io.File.<init>:(Ljava/io/File;Ljava/lang/String;)V
astore 17
start local 17 227: aload 10
getfield org.apache.catalina.startup.HostConfig$DeployedApplication.redeployResources:Ljava/util/LinkedHashMap;
aload 17
invokevirtual java.io.File.getAbsolutePath:()Ljava/lang/String;
228: aload 17
invokevirtual java.io.File.lastModified:()J
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
229: invokevirtual java.util.LinkedHashMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
230: aload 0
aload 10
aload 17
invokevirtual java.io.File.getAbsolutePath:()Ljava/lang/String;
231: aload 7
232: invokevirtual org.apache.catalina.startup.HostConfig.addWatchedResources:(Lorg/apache/catalina/startup/HostConfig$DeployedApplication;Ljava/lang/String;Lorg/apache/catalina/Context;)V
233: iload 8
ifeq 239
iload 9
ifne 239
iload 5
ifne 234
aload 3
invokevirtual java.io.File.exists:()Z
ifeq 239
234: StackMap locals: java.io.File
StackMap stack:
aload 10
getfield org.apache.catalina.startup.HostConfig$DeployedApplication.redeployResources:Ljava/util/LinkedHashMap;
aload 3
invokevirtual java.io.File.getAbsolutePath:()Ljava/lang/String;
235: aload 3
invokevirtual java.io.File.lastModified:()J
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
236: invokevirtual java.util.LinkedHashMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 17 237: goto 239
238: StackMap locals:
StackMap stack:
aload 0
aload 10
aconst_null
aload 7
invokevirtual org.apache.catalina.startup.HostConfig.addWatchedResources:(Lorg/apache/catalina/startup/HostConfig$DeployedApplication;Ljava/lang/String;Lorg/apache/catalina/Context;)V
239: StackMap locals:
StackMap stack:
aload 0
aload 10
invokevirtual org.apache.catalina.startup.HostConfig.addGlobalRedeployResources:(Lorg/apache/catalina/startup/HostConfig$DeployedApplication;)V
end local 16 240: aload 15
athrow
241: StackMap locals: org.apache.catalina.startup.HostConfig org.apache.catalina.util.ContextName java.io.File java.io.File java.io.File int int org.apache.catalina.Context int int org.apache.catalina.startup.HostConfig$DeployedApplication long
StackMap stack:
aload 0
getfield org.apache.catalina.startup.HostConfig.unpackWARs:Z
istore 16
start local 16 242: iload 16
ifeq 244
aload 7
instanceof org.apache.catalina.core.StandardContext
ifeq 244
243: aload 7
checkcast org.apache.catalina.core.StandardContext
invokevirtual org.apache.catalina.core.StandardContext.getUnpackWAR:()Z
istore 16
244: StackMap locals: org.apache.catalina.startup.HostConfig org.apache.catalina.util.ContextName java.io.File java.io.File java.io.File int int org.apache.catalina.Context int int org.apache.catalina.startup.HostConfig$DeployedApplication long top top top int
StackMap stack:
iload 16
ifeq 257
aload 7
invokeinterface org.apache.catalina.Context.getDocBase:()Ljava/lang/String;
ifnull 257
245: new java.io.File
dup
aload 0
getfield org.apache.catalina.startup.HostConfig.host:Lorg/apache/catalina/Host;
invokeinterface org.apache.catalina.Host.getAppBaseFile:()Ljava/io/File;
aload 1
invokevirtual org.apache.catalina.util.ContextName.getBaseName:()Ljava/lang/String;
invokespecial java.io.File.<init>:(Ljava/io/File;Ljava/lang/String;)V
astore 17
start local 17 246: aload 10
getfield org.apache.catalina.startup.HostConfig$DeployedApplication.redeployResources:Ljava/util/LinkedHashMap;
aload 17
invokevirtual java.io.File.getAbsolutePath:()Ljava/lang/String;
247: aload 17
invokevirtual java.io.File.lastModified:()J
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
248: invokevirtual java.util.LinkedHashMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
249: aload 0
aload 10
aload 17
invokevirtual java.io.File.getAbsolutePath:()Ljava/lang/String;
250: aload 7
251: invokevirtual org.apache.catalina.startup.HostConfig.addWatchedResources:(Lorg/apache/catalina/startup/HostConfig$DeployedApplication;Ljava/lang/String;Lorg/apache/catalina/Context;)V
252: iload 8
ifeq 258
iload 9
ifne 258
iload 5
ifne 253
aload 3
invokevirtual java.io.File.exists:()Z
ifeq 258
253: StackMap locals: java.io.File
StackMap stack:
aload 10
getfield org.apache.catalina.startup.HostConfig$DeployedApplication.redeployResources:Ljava/util/LinkedHashMap;
aload 3
invokevirtual java.io.File.getAbsolutePath:()Ljava/lang/String;
254: aload 3
invokevirtual java.io.File.lastModified:()J
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
255: invokevirtual java.util.LinkedHashMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 17 256: goto 258
257: StackMap locals:
StackMap stack:
aload 0
aload 10
aconst_null
aload 7
invokevirtual org.apache.catalina.startup.HostConfig.addWatchedResources:(Lorg/apache/catalina/startup/HostConfig$DeployedApplication;Ljava/lang/String;Lorg/apache/catalina/Context;)V
258: StackMap locals:
StackMap stack:
aload 0
aload 10
invokevirtual org.apache.catalina.startup.HostConfig.addGlobalRedeployResources:(Lorg/apache/catalina/startup/HostConfig$DeployedApplication;)V
end local 16 259: StackMap locals: org.apache.catalina.startup.HostConfig org.apache.catalina.util.ContextName java.io.File java.io.File java.io.File int int org.apache.catalina.Context int int org.apache.catalina.startup.HostConfig$DeployedApplication long
StackMap stack:
aload 0
getfield org.apache.catalina.startup.HostConfig.deployed:Ljava/util/Map;
aload 1
invokevirtual org.apache.catalina.util.ContextName.getName:()Ljava/lang/String;
aload 10
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
260: getstatic org.apache.catalina.startup.HostConfig.log:Lorg/apache/juli/logging/Log;
invokeinterface org.apache.juli.logging.Log.isInfoEnabled:()Z
ifeq 264
261: getstatic org.apache.catalina.startup.HostConfig.log:Lorg/apache/juli/logging/Log;
getstatic org.apache.catalina.startup.HostConfig.sm:Lorg/apache/tomcat/util/res/StringManager;
ldc "hostConfig.deployWar.finished"
iconst_2
anewarray java.lang.Object
dup
iconst_0
262: aload 2
invokevirtual java.io.File.getAbsolutePath:()Ljava/lang/String;
aastore
dup
iconst_1
invokestatic java.lang.System.currentTimeMillis:()J
lload 11
lsub
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
aastore
263: invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokeinterface org.apache.juli.logging.Log.info:(Ljava/lang/Object;)V
264: StackMap locals:
StackMap stack:
return
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 265 0 this Lorg/apache/catalina/startup/HostConfig;
0 265 1 cn Lorg/apache/catalina/util/ContextName;
0 265 2 war Ljava/io/File;
3 265 3 xml Ljava/io/File;
4 265 4 warTracker Ljava/io/File;
5 265 5 xmlInWar Z
7 12 8 jar Ljava/util/jar/JarFile;
8 10 9 entry Ljava/util/jar/JarEntry;
18 265 6 useXml Z
22 265 7 context Lorg/apache/catalina/Context;
23 265 8 deployThisXML Z
28 34 10 e Ljava/lang/Exception;
55 67 12 jar Ljava/util/jar/JarFile;
56 65 13 entry Ljava/util/jar/JarEntry;
58 61 16 istream Ljava/io/InputStream;
72 78 10 e Ljava/lang/Exception;
111 117 9 t Ljava/lang/Throwable;
126 265 9 copyThisXml Z
137 155 12 jar Ljava/util/jar/JarFile;
138 153 13 entry Ljava/util/jar/JarEntry;
140 149 16 istream Ljava/io/InputStream;
141 144 17 ostream Ljava/io/OutputStream;
165 265 10 deployedApp Lorg/apache/catalina/startup/HostConfig$DeployedApplication;
166 265 11 startTime J
187 194 13 clazz Ljava/lang/Class<*>;
188 194 14 listener Lorg/apache/catalina/LifecycleListener;
196 202 13 t Ljava/lang/Throwable;
203 220 16 unpackWAR Z
223 240 16 unpackWAR Z
242 259 16 unpackWAR Z
207 217 17 docBase Ljava/io/File;
227 237 17 docBase Ljava/io/File;
246 256 17 docBase Ljava/io/File;
Exception table:
from to target type
7 10 11 any
6 13 13 any
5 16 16 Class java.io.IOException
25 26 27 Class java.lang.Exception
25 34 37 any
25 46 47 any
47 48 47 any
58 59 60 any
57 62 62 any
55 65 66 any
54 68 68 any
53 71 71 Class java.lang.Exception
53 78 84 any
53 99 100 any
100 101 100 any
23 109 110 Class java.lang.Throwable
23 117 119 any
141 142 143 any
140 145 146 any
139 150 150 any
137 153 154 any
136 156 156 any
135 159 159 Class java.io.IOException
171 194 195 Class java.lang.Throwable
171 202 221 any
MethodParameters:
Name Flags
cn
war
protected void deployDirectories(java.io.File, java.lang.String[]);
descriptor: (Ljava/io/File;[Ljava/lang/String;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=7, locals=11, args_size=3
start local 0 start local 1 start local 2 0: aload 2
ifnonnull 2
1: return
2: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.catalina.startup.HostConfig.host:Lorg/apache/catalina/Host;
invokeinterface org.apache.catalina.Host.getStartStopExecutor:()Ljava/util/concurrent/ExecutorService;
astore 3
start local 3 3: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 4
start local 4 4: aload 2
dup
astore 8
arraylength
istore 7
iconst_0
istore 6
goto 17
StackMap locals: org.apache.catalina.startup.HostConfig java.io.File java.lang.String[] java.util.concurrent.ExecutorService java.util.List top int int java.lang.String[]
StackMap stack:
5: aload 8
iload 6
aaload
astore 5
start local 5 6: aload 5
ldc "META-INF"
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 8
7: goto 16
8: StackMap locals: org.apache.catalina.startup.HostConfig java.io.File java.lang.String[] java.util.concurrent.ExecutorService java.util.List java.lang.String int int java.lang.String[]
StackMap stack:
aload 5
ldc "WEB-INF"
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 10
9: goto 16
10: StackMap locals:
StackMap stack:
new java.io.File
dup
aload 1
aload 5
invokespecial java.io.File.<init>:(Ljava/io/File;Ljava/lang/String;)V
astore 9
start local 9 11: aload 9
invokevirtual java.io.File.isDirectory:()Z
ifeq 16
12: new org.apache.catalina.util.ContextName
dup
aload 5
iconst_0
invokespecial org.apache.catalina.util.ContextName.<init>:(Ljava/lang/String;Z)V
astore 10
start local 10 13: aload 0
aload 10
invokevirtual org.apache.catalina.util.ContextName.getName:()Ljava/lang/String;
invokevirtual org.apache.catalina.startup.HostConfig.isServiced:(Ljava/lang/String;)Z
ifne 16
aload 0
aload 10
invokevirtual org.apache.catalina.util.ContextName.getName:()Ljava/lang/String;
invokevirtual org.apache.catalina.startup.HostConfig.deploymentExists:(Ljava/lang/String;)Z
ifeq 15
14: goto 16
15: StackMap locals: java.io.File org.apache.catalina.util.ContextName
StackMap stack:
aload 4
aload 3
new org.apache.catalina.startup.HostConfig$DeployDirectory
dup
aload 0
aload 10
aload 9
invokespecial org.apache.catalina.startup.HostConfig$DeployDirectory.<init>:(Lorg/apache/catalina/startup/HostConfig;Lorg/apache/catalina/util/ContextName;Ljava/io/File;)V
invokeinterface java.util.concurrent.ExecutorService.submit:(Ljava/lang/Runnable;)Ljava/util/concurrent/Future;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 10 end local 9 end local 5 16: StackMap locals: org.apache.catalina.startup.HostConfig java.io.File java.lang.String[] java.util.concurrent.ExecutorService java.util.List top int int java.lang.String[]
StackMap stack:
iinc 6 1
StackMap locals:
StackMap stack:
17: iload 6
iload 7
if_icmplt 5
18: aload 4
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 6
goto 28
StackMap locals: org.apache.catalina.startup.HostConfig java.io.File java.lang.String[] java.util.concurrent.ExecutorService java.util.List top java.util.Iterator
StackMap stack:
19: aload 6
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.util.concurrent.Future
astore 5
start local 5 20: aload 5
invokeinterface java.util.concurrent.Future.get:()Ljava/lang/Object;
pop
21: goto 28
StackMap locals: org.apache.catalina.startup.HostConfig java.io.File java.lang.String[] java.util.concurrent.ExecutorService java.util.List java.util.concurrent.Future java.util.Iterator
StackMap stack: java.lang.Exception
22: astore 7
start local 7 23: getstatic org.apache.catalina.startup.HostConfig.log:Lorg/apache/juli/logging/Log;
getstatic org.apache.catalina.startup.HostConfig.sm:Lorg/apache/tomcat/util/res/StringManager;
24: ldc "hostConfig.deployDir.threaded.error"
25: invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;)Ljava/lang/String;
26: aload 7
27: invokeinterface org.apache.juli.logging.Log.error:(Ljava/lang/Object;Ljava/lang/Throwable;)V
end local 7 end local 5 28: StackMap locals: org.apache.catalina.startup.HostConfig java.io.File java.lang.String[] java.util.concurrent.ExecutorService java.util.List top java.util.Iterator
StackMap stack:
aload 6
invokeinterface java.util.Iterator.hasNext:()Z
ifne 19
29: return
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/startup/HostConfig;
0 30 1 appBase Ljava/io/File;
0 30 2 files [Ljava/lang/String;
3 30 3 es Ljava/util/concurrent/ExecutorService;
4 30 4 results Ljava/util/List<Ljava/util/concurrent/Future<*>;>;
6 16 5 file Ljava/lang/String;
11 16 9 dir Ljava/io/File;
13 16 10 cn Lorg/apache/catalina/util/ContextName;
20 28 5 result Ljava/util/concurrent/Future<*>;
23 28 7 e Ljava/lang/Exception;
Exception table:
from to target type
20 21 22 Class java.lang.Exception
MethodParameters:
Name Flags
appBase
files
protected void deployDirectory(org.apache.catalina.util.ContextName, java.io.File);
descriptor: (Lorg/apache/catalina/util/ContextName;Ljava/io/File;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=10, locals=15, args_size=3
start local 0 start local 1 start local 2 0: lconst_0
lstore 3
start local 3 1: getstatic org.apache.catalina.startup.HostConfig.log:Lorg/apache/juli/logging/Log;
invokeinterface org.apache.juli.logging.Log.isInfoEnabled:()Z
ifeq 6
2: invokestatic java.lang.System.currentTimeMillis:()J
lstore 3
3: getstatic org.apache.catalina.startup.HostConfig.log:Lorg/apache/juli/logging/Log;
getstatic org.apache.catalina.startup.HostConfig.sm:Lorg/apache/tomcat/util/res/StringManager;
ldc "hostConfig.deployDir"
iconst_1
anewarray java.lang.Object
dup
iconst_0
4: aload 2
invokevirtual java.io.File.getAbsolutePath:()Ljava/lang/String;
aastore
5: invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokeinterface org.apache.juli.logging.Log.info:(Ljava/lang/Object;)V
6: StackMap locals: long
StackMap stack:
aconst_null
astore 5
start local 5 7: new java.io.File
dup
aload 2
ldc "META-INF/context.xml"
invokespecial java.io.File.<init>:(Ljava/io/File;Ljava/lang/String;)V
astore 6
start local 6 8: new java.io.File
dup
aload 0
getfield org.apache.catalina.startup.HostConfig.host:Lorg/apache/catalina/Host;
invokeinterface org.apache.catalina.Host.getConfigBaseFile:()Ljava/io/File;
new java.lang.StringBuilder
dup
aload 1
invokevirtual org.apache.catalina.util.ContextName.getBaseName:()Ljava/lang/String;
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
9: astore 7
start local 7 10: aload 0
invokevirtual org.apache.catalina.startup.HostConfig.isCopyXML:()Z
istore 9
start local 9 11: aload 0
aload 2
aload 1
invokevirtual org.apache.catalina.startup.HostConfig.isDeployThisXML:(Ljava/io/File;Lorg/apache/catalina/util/ContextName;)Z
istore 10
start local 10 12: iload 10
ifeq 47
aload 6
invokevirtual java.io.File.exists:()Z
ifeq 47
13: aload 0
getfield org.apache.catalina.startup.HostConfig.digesterLock:Ljava/lang/Object;
dup
astore 11
monitorenter
14: aload 0
getfield org.apache.catalina.startup.HostConfig.digester:Lorg/apache/tomcat/util/digester/Digester;
aload 6
invokevirtual org.apache.tomcat.util.digester.Digester.parse:(Ljava/io/File;)Ljava/lang/Object;
checkcast org.apache.catalina.Context
astore 5
15: goto 32
StackMap locals: org.apache.catalina.startup.HostConfig org.apache.catalina.util.ContextName java.io.File long org.apache.catalina.Context java.io.File java.io.File top int int java.lang.Object
StackMap stack: java.lang.Exception
16: astore 12
start local 12 17: getstatic org.apache.catalina.startup.HostConfig.log:Lorg/apache/juli/logging/Log;
getstatic org.apache.catalina.startup.HostConfig.sm:Lorg/apache/tomcat/util/res/StringManager;
18: ldc "hostConfig.deployDescriptor.error"
iconst_1
anewarray java.lang.Object
dup
iconst_0
19: aload 6
aastore
20: invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
21: aload 12
22: invokeinterface org.apache.juli.logging.Log.error:(Ljava/lang/Object;Ljava/lang/Throwable;)V
23: new org.apache.catalina.startup.FailedContext
dup
invokespecial org.apache.catalina.startup.FailedContext.<init>:()V
astore 5
end local 12 24: aload 0
getfield org.apache.catalina.startup.HostConfig.digester:Lorg/apache/tomcat/util/digester/Digester;
invokevirtual org.apache.tomcat.util.digester.Digester.reset:()V
25: aload 5
ifnonnull 35
26: new org.apache.catalina.startup.FailedContext
dup
invokespecial org.apache.catalina.startup.FailedContext.<init>:()V
astore 5
goto 35
27: StackMap locals:
StackMap stack: java.lang.Throwable
astore 13
28: aload 0
getfield org.apache.catalina.startup.HostConfig.digester:Lorg/apache/tomcat/util/digester/Digester;
invokevirtual org.apache.tomcat.util.digester.Digester.reset:()V
29: aload 5
ifnonnull 31
30: new org.apache.catalina.startup.FailedContext
dup
invokespecial org.apache.catalina.startup.FailedContext.<init>:()V
astore 5
31: StackMap locals: org.apache.catalina.startup.HostConfig org.apache.catalina.util.ContextName java.io.File long org.apache.catalina.Context java.io.File java.io.File top int int java.lang.Object top java.lang.Throwable
StackMap stack:
aload 13
athrow
32: StackMap locals: org.apache.catalina.startup.HostConfig org.apache.catalina.util.ContextName java.io.File long org.apache.catalina.Context java.io.File java.io.File top int int java.lang.Object
StackMap stack:
aload 0
getfield org.apache.catalina.startup.HostConfig.digester:Lorg/apache/tomcat/util/digester/Digester;
invokevirtual org.apache.tomcat.util.digester.Digester.reset:()V
33: aload 5
ifnonnull 35
34: new org.apache.catalina.startup.FailedContext
dup
invokespecial org.apache.catalina.startup.FailedContext.<init>:()V
astore 5
35: StackMap locals:
StackMap stack:
aload 11
monitorexit
36: goto 39
StackMap locals:
StackMap stack: java.lang.Throwable
37: aload 11
monitorexit
38: athrow
39: StackMap locals:
StackMap stack:
iload 9
ifne 41
aload 5
instanceof org.apache.catalina.core.StandardContext
ifeq 41
40: aload 5
checkcast org.apache.catalina.core.StandardContext
invokevirtual org.apache.catalina.core.StandardContext.getCopyXML:()Z
istore 9
41: StackMap locals:
StackMap stack:
iload 9
ifeq 45
42: aload 6
invokevirtual java.io.File.toPath:()Ljava/nio/file/Path;
aload 7
invokevirtual java.io.File.toPath:()Ljava/nio/file/Path;
iconst_0
anewarray java.nio.file.CopyOption
invokestatic java.nio.file.Files.copy:(Ljava/nio/file/Path;Ljava/nio/file/Path;[Ljava/nio/file/CopyOption;)Ljava/nio/file/Path;
pop
43: aload 5
aload 7
invokevirtual java.io.File.toURI:()Ljava/net/URI;
invokevirtual java.net.URI.toURL:()Ljava/net/URL;
invokeinterface org.apache.catalina.Context.setConfigFile:(Ljava/net/URL;)V
44: goto 54
45: StackMap locals:
StackMap stack:
aload 5
aload 6
invokevirtual java.io.File.toURI:()Ljava/net/URI;
invokevirtual java.net.URI.toURL:()Ljava/net/URL;
invokeinterface org.apache.catalina.Context.setConfigFile:(Ljava/net/URL;)V
46: goto 54
StackMap locals:
StackMap stack:
47: iload 10
ifne 53
aload 6
invokevirtual java.io.File.exists:()Z
ifeq 53
48: getstatic org.apache.catalina.startup.HostConfig.log:Lorg/apache/juli/logging/Log;
getstatic org.apache.catalina.startup.HostConfig.sm:Lorg/apache/tomcat/util/res/StringManager;
ldc "hostConfig.deployDescriptor.blocked"
iconst_3
anewarray java.lang.Object
dup
iconst_0
49: aload 1
invokevirtual org.apache.catalina.util.ContextName.getPath:()Ljava/lang/String;
aastore
dup
iconst_1
aload 6
aastore
dup
iconst_2
aload 7
aastore
50: invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokeinterface org.apache.juli.logging.Log.error:(Ljava/lang/Object;)V
51: new org.apache.catalina.startup.FailedContext
dup
invokespecial org.apache.catalina.startup.FailedContext.<init>:()V
astore 5
52: goto 54
53: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.catalina.startup.HostConfig.contextClass:Ljava/lang/String;
invokestatic java.lang.Class.forName:(Ljava/lang/String;)Ljava/lang/Class;
iconst_0
anewarray java.lang.Class
invokevirtual java.lang.Class.getConstructor:([Ljava/lang/Class;)Ljava/lang/reflect/Constructor;
iconst_0
anewarray java.lang.Object
invokevirtual java.lang.reflect.Constructor.newInstance:([Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.apache.catalina.Context
astore 5
54: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.catalina.startup.HostConfig.host:Lorg/apache/catalina/Host;
invokeinterface org.apache.catalina.Host.getConfigClass:()Ljava/lang/String;
invokestatic java.lang.Class.forName:(Ljava/lang/String;)Ljava/lang/Class;
astore 11
start local 11 55: aload 11
iconst_0
anewarray java.lang.Class
invokevirtual java.lang.Class.getConstructor:([Ljava/lang/Class;)Ljava/lang/reflect/Constructor;
iconst_0
anewarray java.lang.Object
invokevirtual java.lang.reflect.Constructor.newInstance:([Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.apache.catalina.LifecycleListener
astore 12
start local 12 56: aload 5
aload 12
invokeinterface org.apache.catalina.Context.addLifecycleListener:(Lorg/apache/catalina/LifecycleListener;)V
57: aload 5
aload 1
invokevirtual org.apache.catalina.util.ContextName.getName:()Ljava/lang/String;
invokeinterface org.apache.catalina.Context.setName:(Ljava/lang/String;)V
58: aload 5
aload 1
invokevirtual org.apache.catalina.util.ContextName.getPath:()Ljava/lang/String;
invokeinterface org.apache.catalina.Context.setPath:(Ljava/lang/String;)V
59: aload 5
aload 1
invokevirtual org.apache.catalina.util.ContextName.getVersion:()Ljava/lang/String;
invokeinterface org.apache.catalina.Context.setWebappVersion:(Ljava/lang/String;)V
60: aload 5
aload 1
invokevirtual org.apache.catalina.util.ContextName.getBaseName:()Ljava/lang/String;
invokeinterface org.apache.catalina.Context.setDocBase:(Ljava/lang/String;)V
61: aload 0
getfield org.apache.catalina.startup.HostConfig.host:Lorg/apache/catalina/Host;
aload 5
invokeinterface org.apache.catalina.Host.addChild:(Lorg/apache/catalina/Container;)V
end local 12 end local 11 62: goto 148
StackMap locals:
StackMap stack: java.lang.Throwable
63: astore 11
start local 11 64: aload 11
invokestatic org.apache.tomcat.util.ExceptionUtils.handleThrowable:(Ljava/lang/Throwable;)V
65: getstatic org.apache.catalina.startup.HostConfig.log:Lorg/apache/juli/logging/Log;
getstatic org.apache.catalina.startup.HostConfig.sm:Lorg/apache/tomcat/util/res/StringManager;
ldc "hostConfig.deployDir.error"
iconst_1
anewarray java.lang.Object
dup
iconst_0
66: aload 2
invokevirtual java.io.File.getAbsolutePath:()Ljava/lang/String;
aastore
67: invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
68: aload 11
69: invokeinterface org.apache.juli.logging.Log.error:(Ljava/lang/Object;Ljava/lang/Throwable;)V
end local 11 70: new org.apache.catalina.startup.HostConfig$DeployedApplication
dup
aload 1
invokevirtual org.apache.catalina.util.ContextName.getName:()Ljava/lang/String;
71: aload 6
invokevirtual java.io.File.exists:()Z
ifeq 73
iload 10
ifeq 73
iload 9
ifeq 73
72: iconst_1
goto 74
StackMap locals: org.apache.catalina.startup.HostConfig org.apache.catalina.util.ContextName java.io.File long org.apache.catalina.Context java.io.File java.io.File top int int
StackMap stack: new 70 new 70 java.lang.String
73: iconst_0
StackMap locals: org.apache.catalina.startup.HostConfig org.apache.catalina.util.ContextName java.io.File long org.apache.catalina.Context java.io.File java.io.File top int int
StackMap stack: new 70 new 70 java.lang.String int
74: invokespecial org.apache.catalina.startup.HostConfig$DeployedApplication.<init>:(Ljava/lang/String;Z)V
astore 8
start local 8 75: aload 8
getfield org.apache.catalina.startup.HostConfig$DeployedApplication.redeployResources:Ljava/util/LinkedHashMap;
new java.lang.StringBuilder
dup
aload 2
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 ".war"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
76: lconst_0
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
77: invokevirtual java.util.LinkedHashMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
78: aload 8
getfield org.apache.catalina.startup.HostConfig$DeployedApplication.redeployResources:Ljava/util/LinkedHashMap;
aload 2
invokevirtual java.io.File.getAbsolutePath:()Ljava/lang/String;
79: aload 2
invokevirtual java.io.File.lastModified:()J
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
80: invokevirtual java.util.LinkedHashMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
81: iload 10
ifeq 97
aload 6
invokevirtual java.io.File.exists:()Z
ifeq 97
82: iload 9
ifeq 88
83: aload 8
getfield org.apache.catalina.startup.HostConfig$DeployedApplication.redeployResources:Ljava/util/LinkedHashMap;
84: aload 7
invokevirtual java.io.File.getAbsolutePath:()Ljava/lang/String;
85: aload 7
invokevirtual java.io.File.lastModified:()J
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
86: invokevirtual java.util.LinkedHashMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
87: goto 106
88: StackMap locals: org.apache.catalina.startup.HostConfig org.apache.catalina.util.ContextName java.io.File long org.apache.catalina.Context java.io.File java.io.File org.apache.catalina.startup.HostConfig$DeployedApplication int int
StackMap stack:
aload 8
getfield org.apache.catalina.startup.HostConfig$DeployedApplication.redeployResources:Ljava/util/LinkedHashMap;
89: aload 6
invokevirtual java.io.File.getAbsolutePath:()Ljava/lang/String;
90: aload 6
invokevirtual java.io.File.lastModified:()J
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
91: invokevirtual java.util.LinkedHashMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
92: aload 8
getfield org.apache.catalina.startup.HostConfig$DeployedApplication.redeployResources:Ljava/util/LinkedHashMap;
93: aload 7
invokevirtual java.io.File.getAbsolutePath:()Ljava/lang/String;
94: lconst_0
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
95: invokevirtual java.util.LinkedHashMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
96: goto 106
97: StackMap locals:
StackMap stack:
aload 8
getfield org.apache.catalina.startup.HostConfig$DeployedApplication.redeployResources:Ljava/util/LinkedHashMap;
98: aload 7
invokevirtual java.io.File.getAbsolutePath:()Ljava/lang/String;
99: lconst_0
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
100: invokevirtual java.util.LinkedHashMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
101: aload 6
invokevirtual java.io.File.exists:()Z
ifne 106
102: aload 8
getfield org.apache.catalina.startup.HostConfig$DeployedApplication.redeployResources:Ljava/util/LinkedHashMap;
103: aload 6
invokevirtual java.io.File.getAbsolutePath:()Ljava/lang/String;
104: lconst_0
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
105: invokevirtual java.util.LinkedHashMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
106: StackMap locals:
StackMap stack:
aload 0
aload 8
aload 2
invokevirtual java.io.File.getAbsolutePath:()Ljava/lang/String;
aload 5
invokevirtual org.apache.catalina.startup.HostConfig.addWatchedResources:(Lorg/apache/catalina/startup/HostConfig$DeployedApplication;Ljava/lang/String;Lorg/apache/catalina/Context;)V
107: aload 0
aload 8
invokevirtual org.apache.catalina.startup.HostConfig.addGlobalRedeployResources:(Lorg/apache/catalina/startup/HostConfig$DeployedApplication;)V
goto 186
end local 8 108: StackMap locals: org.apache.catalina.startup.HostConfig org.apache.catalina.util.ContextName java.io.File long org.apache.catalina.Context java.io.File java.io.File top int int
StackMap stack: java.lang.Throwable
astore 14
109: new org.apache.catalina.startup.HostConfig$DeployedApplication
dup
aload 1
invokevirtual org.apache.catalina.util.ContextName.getName:()Ljava/lang/String;
110: aload 6
invokevirtual java.io.File.exists:()Z
ifeq 112
iload 10
ifeq 112
iload 9
ifeq 112
111: iconst_1
goto 113
StackMap locals: org.apache.catalina.startup.HostConfig org.apache.catalina.util.ContextName java.io.File long org.apache.catalina.Context java.io.File java.io.File top int int top top top java.lang.Throwable
StackMap stack: new 109 new 109 java.lang.String
112: iconst_0
StackMap locals: org.apache.catalina.startup.HostConfig org.apache.catalina.util.ContextName java.io.File long org.apache.catalina.Context java.io.File java.io.File top int int top top top java.lang.Throwable
StackMap stack: new 109 new 109 java.lang.String int
113: invokespecial org.apache.catalina.startup.HostConfig$DeployedApplication.<init>:(Ljava/lang/String;Z)V
astore 8
start local 8 114: aload 8
getfield org.apache.catalina.startup.HostConfig$DeployedApplication.redeployResources:Ljava/util/LinkedHashMap;
new java.lang.StringBuilder
dup
aload 2
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 ".war"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
115: lconst_0
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
116: invokevirtual java.util.LinkedHashMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
117: aload 8
getfield org.apache.catalina.startup.HostConfig$DeployedApplication.redeployResources:Ljava/util/LinkedHashMap;
aload 2
invokevirtual java.io.File.getAbsolutePath:()Ljava/lang/String;
118: aload 2
invokevirtual java.io.File.lastModified:()J
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
119: invokevirtual java.util.LinkedHashMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
120: iload 10
ifeq 136
aload 6
invokevirtual java.io.File.exists:()Z
ifeq 136
121: iload 9
ifeq 127
122: aload 8
getfield org.apache.catalina.startup.HostConfig$DeployedApplication.redeployResources:Ljava/util/LinkedHashMap;
123: aload 7
invokevirtual java.io.File.getAbsolutePath:()Ljava/lang/String;
124: aload 7
invokevirtual java.io.File.lastModified:()J
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
125: invokevirtual java.util.LinkedHashMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
126: goto 145
127: StackMap locals: org.apache.catalina.startup.HostConfig org.apache.catalina.util.ContextName java.io.File long org.apache.catalina.Context java.io.File java.io.File org.apache.catalina.startup.HostConfig$DeployedApplication int int top top top java.lang.Throwable
StackMap stack:
aload 8
getfield org.apache.catalina.startup.HostConfig$DeployedApplication.redeployResources:Ljava/util/LinkedHashMap;
128: aload 6
invokevirtual java.io.File.getAbsolutePath:()Ljava/lang/String;
129: aload 6
invokevirtual java.io.File.lastModified:()J
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
130: invokevirtual java.util.LinkedHashMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
131: aload 8
getfield org.apache.catalina.startup.HostConfig$DeployedApplication.redeployResources:Ljava/util/LinkedHashMap;
132: aload 7
invokevirtual java.io.File.getAbsolutePath:()Ljava/lang/String;
133: lconst_0
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
134: invokevirtual java.util.LinkedHashMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
135: goto 145
136: StackMap locals:
StackMap stack:
aload 8
getfield org.apache.catalina.startup.HostConfig$DeployedApplication.redeployResources:Ljava/util/LinkedHashMap;
137: aload 7
invokevirtual java.io.File.getAbsolutePath:()Ljava/lang/String;
138: lconst_0
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
139: invokevirtual java.util.LinkedHashMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
140: aload 6
invokevirtual java.io.File.exists:()Z
ifne 145
141: aload 8
getfield org.apache.catalina.startup.HostConfig$DeployedApplication.redeployResources:Ljava/util/LinkedHashMap;
142: aload 6
invokevirtual java.io.File.getAbsolutePath:()Ljava/lang/String;
143: lconst_0
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
144: invokevirtual java.util.LinkedHashMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
145: StackMap locals:
StackMap stack:
aload 0
aload 8
aload 2
invokevirtual java.io.File.getAbsolutePath:()Ljava/lang/String;
aload 5
invokevirtual org.apache.catalina.startup.HostConfig.addWatchedResources:(Lorg/apache/catalina/startup/HostConfig$DeployedApplication;Ljava/lang/String;Lorg/apache/catalina/Context;)V
146: aload 0
aload 8
invokevirtual org.apache.catalina.startup.HostConfig.addGlobalRedeployResources:(Lorg/apache/catalina/startup/HostConfig$DeployedApplication;)V
147: aload 14
athrow
end local 8 148: StackMap locals: org.apache.catalina.startup.HostConfig org.apache.catalina.util.ContextName java.io.File long org.apache.catalina.Context java.io.File java.io.File top int int
StackMap stack:
new org.apache.catalina.startup.HostConfig$DeployedApplication
dup
aload 1
invokevirtual org.apache.catalina.util.ContextName.getName:()Ljava/lang/String;
149: aload 6
invokevirtual java.io.File.exists:()Z
ifeq 151
iload 10
ifeq 151
iload 9
ifeq 151
150: iconst_1
goto 152
StackMap locals: org.apache.catalina.startup.HostConfig org.apache.catalina.util.ContextName java.io.File long org.apache.catalina.Context java.io.File java.io.File top int int
StackMap stack: new 148 new 148 java.lang.String
151: iconst_0
StackMap locals: org.apache.catalina.startup.HostConfig org.apache.catalina.util.ContextName java.io.File long org.apache.catalina.Context java.io.File java.io.File top int int
StackMap stack: new 148 new 148 java.lang.String int
152: invokespecial org.apache.catalina.startup.HostConfig$DeployedApplication.<init>:(Ljava/lang/String;Z)V
astore 8
start local 8 153: aload 8
getfield org.apache.catalina.startup.HostConfig$DeployedApplication.redeployResources:Ljava/util/LinkedHashMap;
new java.lang.StringBuilder
dup
aload 2
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 ".war"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
154: lconst_0
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
155: invokevirtual java.util.LinkedHashMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
156: aload 8
getfield org.apache.catalina.startup.HostConfig$DeployedApplication.redeployResources:Ljava/util/LinkedHashMap;
aload 2
invokevirtual java.io.File.getAbsolutePath:()Ljava/lang/String;
157: aload 2
invokevirtual java.io.File.lastModified:()J
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
158: invokevirtual java.util.LinkedHashMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
159: iload 10
ifeq 175
aload 6
invokevirtual java.io.File.exists:()Z
ifeq 175
160: iload 9
ifeq 166
161: aload 8
getfield org.apache.catalina.startup.HostConfig$DeployedApplication.redeployResources:Ljava/util/LinkedHashMap;
162: aload 7
invokevirtual java.io.File.getAbsolutePath:()Ljava/lang/String;
163: aload 7
invokevirtual java.io.File.lastModified:()J
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
164: invokevirtual java.util.LinkedHashMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
165: goto 184
166: StackMap locals: org.apache.catalina.startup.HostConfig org.apache.catalina.util.ContextName java.io.File long org.apache.catalina.Context java.io.File java.io.File org.apache.catalina.startup.HostConfig$DeployedApplication int int
StackMap stack:
aload 8
getfield org.apache.catalina.startup.HostConfig$DeployedApplication.redeployResources:Ljava/util/LinkedHashMap;
167: aload 6
invokevirtual java.io.File.getAbsolutePath:()Ljava/lang/String;
168: aload 6
invokevirtual java.io.File.lastModified:()J
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
169: invokevirtual java.util.LinkedHashMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
170: aload 8
getfield org.apache.catalina.startup.HostConfig$DeployedApplication.redeployResources:Ljava/util/LinkedHashMap;
171: aload 7
invokevirtual java.io.File.getAbsolutePath:()Ljava/lang/String;
172: lconst_0
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
173: invokevirtual java.util.LinkedHashMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
174: goto 184
175: StackMap locals:
StackMap stack:
aload 8
getfield org.apache.catalina.startup.HostConfig$DeployedApplication.redeployResources:Ljava/util/LinkedHashMap;
176: aload 7
invokevirtual java.io.File.getAbsolutePath:()Ljava/lang/String;
177: lconst_0
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
178: invokevirtual java.util.LinkedHashMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
179: aload 6
invokevirtual java.io.File.exists:()Z
ifne 184
180: aload 8
getfield org.apache.catalina.startup.HostConfig$DeployedApplication.redeployResources:Ljava/util/LinkedHashMap;
181: aload 6
invokevirtual java.io.File.getAbsolutePath:()Ljava/lang/String;
182: lconst_0
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
183: invokevirtual java.util.LinkedHashMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
184: StackMap locals:
StackMap stack:
aload 0
aload 8
aload 2
invokevirtual java.io.File.getAbsolutePath:()Ljava/lang/String;
aload 5
invokevirtual org.apache.catalina.startup.HostConfig.addWatchedResources:(Lorg/apache/catalina/startup/HostConfig$DeployedApplication;Ljava/lang/String;Lorg/apache/catalina/Context;)V
185: aload 0
aload 8
invokevirtual org.apache.catalina.startup.HostConfig.addGlobalRedeployResources:(Lorg/apache/catalina/startup/HostConfig$DeployedApplication;)V
186: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.catalina.startup.HostConfig.deployed:Ljava/util/Map;
aload 1
invokevirtual org.apache.catalina.util.ContextName.getName:()Ljava/lang/String;
aload 8
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
187: getstatic org.apache.catalina.startup.HostConfig.log:Lorg/apache/juli/logging/Log;
invokeinterface org.apache.juli.logging.Log.isInfoEnabled:()Z
ifeq 191
188: getstatic org.apache.catalina.startup.HostConfig.log:Lorg/apache/juli/logging/Log;
getstatic org.apache.catalina.startup.HostConfig.sm:Lorg/apache/tomcat/util/res/StringManager;
ldc "hostConfig.deployDir.finished"
iconst_2
anewarray java.lang.Object
dup
iconst_0
189: aload 2
invokevirtual java.io.File.getAbsolutePath:()Ljava/lang/String;
aastore
dup
iconst_1
invokestatic java.lang.System.currentTimeMillis:()J
lload 3
lsub
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
aastore
190: invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokeinterface org.apache.juli.logging.Log.info:(Ljava/lang/Object;)V
191: 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 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 192 0 this Lorg/apache/catalina/startup/HostConfig;
0 192 1 cn Lorg/apache/catalina/util/ContextName;
0 192 2 dir Ljava/io/File;
1 192 3 startTime J
7 192 5 context Lorg/apache/catalina/Context;
8 192 6 xml Ljava/io/File;
10 192 7 xmlCopy Ljava/io/File;
75 108 8 deployedApp Lorg/apache/catalina/startup/HostConfig$DeployedApplication;
114 148 8 deployedApp Lorg/apache/catalina/startup/HostConfig$DeployedApplication;
153 192 8 deployedApp Lorg/apache/catalina/startup/HostConfig$DeployedApplication;
11 192 9 copyThisXml Z
12 192 10 deployThisXML Z
17 24 12 e Ljava/lang/Exception;
55 62 11 clazz Ljava/lang/Class<*>;
56 62 12 listener Lorg/apache/catalina/LifecycleListener;
64 70 11 t Ljava/lang/Throwable;
Exception table:
from to target type
14 15 16 Class java.lang.Exception
14 24 27 any
14 36 37 any
37 38 37 any
12 62 63 Class java.lang.Throwable
12 70 108 any
MethodParameters:
Name Flags
cn
dir
protected boolean deploymentExists(java.lang.String);
descriptor: (Ljava/lang/String;)Z
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.catalina.startup.HostConfig.deployed:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.containsKey:(Ljava/lang/Object;)Z
ifne 3
1: aload 0
getfield org.apache.catalina.startup.HostConfig.host:Lorg/apache/catalina/Host;
aload 1
invokeinterface org.apache.catalina.Host.findChild:(Ljava/lang/String;)Lorg/apache/catalina/Container;
ifnonnull 3
2: iconst_0
ireturn
StackMap locals:
StackMap stack:
3: iconst_1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/catalina/startup/HostConfig;
0 4 1 contextName Ljava/lang/String;
MethodParameters:
Name Flags
contextName
protected void addWatchedResources(org.apache.catalina.startup.HostConfig$DeployedApplication, java.lang.String, org.apache.catalina.Context);
descriptor: (Lorg/apache/catalina/startup/HostConfig$DeployedApplication;Ljava/lang/String;Lorg/apache/catalina/Context;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=11, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aconst_null
astore 4
start local 4 1: aload 2
ifnull 5
2: new java.io.File
dup
aload 2
invokespecial java.io.File.<init>:(Ljava/lang/String;)V
astore 4
3: aload 4
invokevirtual java.io.File.isAbsolute:()Z
ifne 5
4: new java.io.File
dup
aload 0
getfield org.apache.catalina.startup.HostConfig.host:Lorg/apache/catalina/Host;
invokeinterface org.apache.catalina.Host.getAppBaseFile:()Ljava/io/File;
aload 2
invokespecial java.io.File.<init>:(Ljava/io/File;Ljava/lang/String;)V
astore 4
5: StackMap locals: java.io.File
StackMap stack:
aload 3
invokeinterface org.apache.catalina.Context.findWatchedResources:()[Ljava/lang/String;
astore 5
start local 5 6: aload 5
dup
astore 9
arraylength
istore 8
iconst_0
istore 7
goto 26
StackMap locals: org.apache.catalina.startup.HostConfig org.apache.catalina.startup.HostConfig$DeployedApplication java.lang.String org.apache.catalina.Context java.io.File java.lang.String[] top int int java.lang.String[]
StackMap stack:
7: aload 9
iload 7
aaload
astore 6
start local 6 8: new java.io.File
dup
aload 6
invokespecial java.io.File.<init>:(Ljava/lang/String;)V
astore 10
start local 10 9: aload 10
invokevirtual java.io.File.isAbsolute:()Z
ifne 18
10: aload 2
ifnull 13
11: new java.io.File
dup
aload 4
aload 6
invokespecial java.io.File.<init>:(Ljava/io/File;Ljava/lang/String;)V
astore 10
12: goto 18
13: StackMap locals: org.apache.catalina.startup.HostConfig org.apache.catalina.startup.HostConfig$DeployedApplication java.lang.String org.apache.catalina.Context java.io.File java.lang.String[] java.lang.String int int java.lang.String[] java.io.File
StackMap stack:
getstatic org.apache.catalina.startup.HostConfig.log:Lorg/apache/juli/logging/Log;
invokeinterface org.apache.juli.logging.Log.isDebugEnabled:()Z
ifeq 25
14: getstatic org.apache.catalina.startup.HostConfig.log:Lorg/apache/juli/logging/Log;
new java.lang.StringBuilder
dup
ldc "Ignoring non-existent WatchedResource '"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
15: aload 10
invokevirtual java.io.File.getAbsolutePath:()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;
16: invokeinterface org.apache.juli.logging.Log.debug:(Ljava/lang/Object;)V
17: goto 25
18: StackMap locals:
StackMap stack:
getstatic org.apache.catalina.startup.HostConfig.log:Lorg/apache/juli/logging/Log;
invokeinterface org.apache.juli.logging.Log.isDebugEnabled:()Z
ifeq 22
19: getstatic org.apache.catalina.startup.HostConfig.log:Lorg/apache/juli/logging/Log;
new java.lang.StringBuilder
dup
ldc "Watching WatchedResource '"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
20: aload 10
invokevirtual java.io.File.getAbsolutePath:()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;
21: invokeinterface org.apache.juli.logging.Log.debug:(Ljava/lang/Object;)V
22: StackMap locals:
StackMap stack:
aload 1
getfield org.apache.catalina.startup.HostConfig$DeployedApplication.reloadResources:Ljava/util/HashMap;
aload 10
invokevirtual java.io.File.getAbsolutePath:()Ljava/lang/String;
23: aload 10
invokevirtual java.io.File.lastModified:()J
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
24: invokevirtual java.util.HashMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 10 end local 6 25: StackMap locals: org.apache.catalina.startup.HostConfig org.apache.catalina.startup.HostConfig$DeployedApplication java.lang.String org.apache.catalina.Context java.io.File java.lang.String[] top int int java.lang.String[]
StackMap stack:
iinc 7 1
StackMap locals:
StackMap stack:
26: iload 7
iload 8
if_icmplt 7
27: 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 28 0 this Lorg/apache/catalina/startup/HostConfig;
0 28 1 app Lorg/apache/catalina/startup/HostConfig$DeployedApplication;
0 28 2 docBase Ljava/lang/String;
0 28 3 context Lorg/apache/catalina/Context;
1 28 4 docBaseFile Ljava/io/File;
6 28 5 watchedResources [Ljava/lang/String;
8 25 6 watchedResource Ljava/lang/String;
9 25 10 resource Ljava/io/File;
MethodParameters:
Name Flags
app
docBase
context
protected void addGlobalRedeployResources(org.apache.catalina.startup.HostConfig$DeployedApplication);
descriptor: (Lorg/apache/catalina/startup/HostConfig$DeployedApplication;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=4, args_size=2
start local 0 start local 1 0: new java.io.File
dup
aload 0
invokevirtual org.apache.catalina.startup.HostConfig.getConfigBaseName:()Ljava/lang/String;
ldc "context.xml.default"
invokespecial java.io.File.<init>:(Ljava/lang/String;Ljava/lang/String;)V
1: astore 2
start local 2 2: aload 2
invokevirtual java.io.File.isFile:()Z
ifeq 6
3: aload 1
getfield org.apache.catalina.startup.HostConfig$DeployedApplication.redeployResources:Ljava/util/LinkedHashMap;
aload 2
invokevirtual java.io.File.getAbsolutePath:()Ljava/lang/String;
4: aload 2
invokevirtual java.io.File.lastModified:()J
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
5: invokevirtual java.util.LinkedHashMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
6: StackMap locals: java.io.File
StackMap stack:
aload 0
ldc "conf/context.xml"
invokevirtual org.apache.catalina.startup.HostConfig.returnCanonicalPath:(Ljava/lang/String;)Ljava/io/File;
7: astore 3
start local 3 8: aload 3
invokevirtual java.io.File.isFile:()Z
ifeq 12
9: aload 1
getfield org.apache.catalina.startup.HostConfig$DeployedApplication.redeployResources:Ljava/util/LinkedHashMap;
aload 3
invokevirtual java.io.File.getAbsolutePath:()Ljava/lang/String;
10: aload 3
invokevirtual java.io.File.lastModified:()J
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
11: invokevirtual java.util.LinkedHashMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
12: StackMap locals: java.io.File
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lorg/apache/catalina/startup/HostConfig;
0 13 1 app Lorg/apache/catalina/startup/HostConfig$DeployedApplication;
2 13 2 hostContextXml Ljava/io/File;
8 13 3 globalContextXml Ljava/io/File;
MethodParameters:
Name Flags
app
protected synchronized void checkResources(org.apache.catalina.startup.HostConfig$DeployedApplication, boolean);
descriptor: (Lorg/apache/catalina/startup/HostConfig$DeployedApplication;Z)V
flags: (0x0024) ACC_PROTECTED, ACC_SYNCHRONIZED
Code:
stack=5, locals=14, args_size=3
start local 0 start local 1 start local 2 0: aload 1
getfield org.apache.catalina.startup.HostConfig$DeployedApplication.redeployResources:Ljava/util/LinkedHashMap;
invokevirtual java.util.LinkedHashMap.keySet:()Ljava/util/Set;
iconst_0
anewarray java.lang.String
invokeinterface java.util.Set.toArray:([Ljava/lang/Object;)[Ljava/lang/Object;
checkcast java.lang.String[]
1: astore 3
start local 3 2: invokestatic java.lang.System.currentTimeMillis:()J
ldc 1000
lsub
3: lstore 4
start local 4 4: iconst_0
istore 6
start local 6 5: goto 62
6: StackMap locals: java.lang.String[] long int
StackMap stack:
new java.io.File
dup
aload 3
iload 6
aaload
invokespecial java.io.File.<init>:(Ljava/lang/String;)V
astore 7
start local 7 7: getstatic org.apache.catalina.startup.HostConfig.log:Lorg/apache/juli/logging/Log;
invokeinterface org.apache.juli.logging.Log.isDebugEnabled:()Z
ifeq 11
8: getstatic org.apache.catalina.startup.HostConfig.log:Lorg/apache/juli/logging/Log;
new java.lang.StringBuilder
dup
ldc "Checking context["
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
getfield org.apache.catalina.startup.HostConfig$DeployedApplication.name:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
9: ldc "] redeploy resource "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 7
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
10: invokeinterface org.apache.juli.logging.Log.debug:(Ljava/lang/Object;)V
11: StackMap locals: java.io.File
StackMap stack:
aload 1
getfield org.apache.catalina.startup.HostConfig$DeployedApplication.redeployResources:Ljava/util/LinkedHashMap;
aload 3
iload 6
aaload
invokevirtual java.util.LinkedHashMap.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.Long
invokevirtual java.lang.Long.longValue:()J
12: lstore 8
start local 8 13: aload 7
invokevirtual java.io.File.exists:()Z
ifne 14
lload 8
lconst_0
lcmp
ifne 53
14: StackMap locals: long
StackMap stack:
aload 7
invokevirtual java.io.File.lastModified:()J
lload 8
lcmp
ifeq 61
aload 0
getfield org.apache.catalina.startup.HostConfig.host:Lorg/apache/catalina/Host;
invokeinterface org.apache.catalina.Host.getAutoDeploy:()Z
ifeq 17
15: aload 7
invokevirtual java.io.File.lastModified:()J
lload 4
lcmp
iflt 17
16: iload 2
ifeq 61
17: StackMap locals:
StackMap stack:
aload 7
invokevirtual java.io.File.isDirectory:()Z
ifeq 22
18: aload 1
getfield org.apache.catalina.startup.HostConfig$DeployedApplication.redeployResources:Ljava/util/LinkedHashMap;
aload 3
iload 6
aaload
19: aload 7
invokevirtual java.io.File.lastModified:()J
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
20: invokevirtual java.util.LinkedHashMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
21: goto 61
StackMap locals:
StackMap stack:
22: aload 1
getfield org.apache.catalina.startup.HostConfig$DeployedApplication.hasDescriptor:Z
ifeq 50
23: aload 7
invokevirtual java.io.File.getName:()Ljava/lang/String;
24: getstatic java.util.Locale.ENGLISH:Ljava/util/Locale;
25: invokevirtual java.lang.String.toLowerCase:(Ljava/util/Locale;)Ljava/lang/String;
26: ldc ".war"
invokevirtual java.lang.String.endsWith:(Ljava/lang/String;)Z
ifeq 50
27: aload 0
getfield org.apache.catalina.startup.HostConfig.host:Lorg/apache/catalina/Host;
aload 1
getfield org.apache.catalina.startup.HostConfig$DeployedApplication.name:Ljava/lang/String;
invokeinterface org.apache.catalina.Host.findChild:(Ljava/lang/String;)Lorg/apache/catalina/Container;
checkcast org.apache.catalina.Context
astore 10
start local 10 28: aload 10
invokeinterface org.apache.catalina.Context.getDocBase:()Ljava/lang/String;
astore 11
start local 11 29: aload 11
getstatic java.util.Locale.ENGLISH:Ljava/util/Locale;
invokevirtual java.lang.String.toLowerCase:(Ljava/util/Locale;)Ljava/lang/String;
ldc ".war"
invokevirtual java.lang.String.endsWith:(Ljava/lang/String;)Z
ifne 37
30: new java.io.File
dup
aload 11
invokespecial java.io.File.<init>:(Ljava/lang/String;)V
astore 12
start local 12 31: aload 12
invokevirtual java.io.File.isAbsolute:()Z
ifne 35
32: new java.io.File
dup
aload 0
getfield org.apache.catalina.startup.HostConfig.host:Lorg/apache/catalina/Host;
invokeinterface org.apache.catalina.Host.getAppBaseFile:()Ljava/io/File;
33: aload 11
34: invokespecial java.io.File.<init>:(Ljava/io/File;Ljava/lang/String;)V
astore 12
35: StackMap locals: org.apache.catalina.Context java.lang.String java.io.File
StackMap stack:
aload 0
aload 1
aload 12
aload 7
invokevirtual java.io.File.getAbsolutePath:()Ljava/lang/String;
invokevirtual org.apache.catalina.startup.HostConfig.reload:(Lorg/apache/catalina/startup/HostConfig$DeployedApplication;Ljava/io/File;Ljava/lang/String;)V
end local 12 36: goto 38
37: StackMap locals:
StackMap stack:
aload 0
aload 1
aconst_null
aconst_null
invokevirtual org.apache.catalina.startup.HostConfig.reload:(Lorg/apache/catalina/startup/HostConfig$DeployedApplication;Ljava/io/File;Ljava/lang/String;)V
38: StackMap locals:
StackMap stack:
aload 1
getfield org.apache.catalina.startup.HostConfig$DeployedApplication.redeployResources:Ljava/util/LinkedHashMap;
aload 3
iload 6
aaload
39: aload 7
invokevirtual java.io.File.lastModified:()J
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
40: invokevirtual java.util.LinkedHashMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
41: aload 1
invokestatic java.lang.System.currentTimeMillis:()J
putfield org.apache.catalina.startup.HostConfig$DeployedApplication.timestamp:J
42: aload 0
getfield org.apache.catalina.startup.HostConfig.unpackWARs:Z
istore 12
start local 12 43: iload 12
ifeq 45
aload 10
instanceof org.apache.catalina.core.StandardContext
ifeq 45
44: aload 10
checkcast org.apache.catalina.core.StandardContext
invokevirtual org.apache.catalina.core.StandardContext.getUnpackWAR:()Z
istore 12
45: StackMap locals: int
StackMap stack:
iload 12
ifeq 48
46: aload 0
aload 1
aload 10
invokeinterface org.apache.catalina.Context.getDocBase:()Ljava/lang/String;
aload 10
invokevirtual org.apache.catalina.startup.HostConfig.addWatchedResources:(Lorg/apache/catalina/startup/HostConfig$DeployedApplication;Ljava/lang/String;Lorg/apache/catalina/Context;)V
47: goto 49
48: StackMap locals:
StackMap stack:
aload 0
aload 1
aconst_null
aload 10
invokevirtual org.apache.catalina.startup.HostConfig.addWatchedResources:(Lorg/apache/catalina/startup/HostConfig$DeployedApplication;Ljava/lang/String;Lorg/apache/catalina/Context;)V
49: StackMap locals:
StackMap stack:
return
end local 12 end local 11 end local 10 50: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual org.apache.catalina.startup.HostConfig.undeploy:(Lorg/apache/catalina/startup/HostConfig$DeployedApplication;)V
51: aload 0
aload 1
aload 3
iload 6
iconst_0
invokevirtual org.apache.catalina.startup.HostConfig.deleteRedeployResources:(Lorg/apache/catalina/startup/HostConfig$DeployedApplication;[Ljava/lang/String;IZ)V
52: return
53: StackMap locals:
StackMap stack:
ldc 500
invokestatic java.lang.Thread.sleep:(J)V
54: goto 56
StackMap locals:
StackMap stack: java.lang.InterruptedException
55: pop
56: StackMap locals:
StackMap stack:
aload 7
invokevirtual java.io.File.exists:()Z
ifeq 58
57: goto 61
58: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual org.apache.catalina.startup.HostConfig.undeploy:(Lorg/apache/catalina/startup/HostConfig$DeployedApplication;)V
59: aload 0
aload 1
aload 3
iload 6
iconst_1
invokevirtual org.apache.catalina.startup.HostConfig.deleteRedeployResources:(Lorg/apache/catalina/startup/HostConfig$DeployedApplication;[Ljava/lang/String;IZ)V
60: return
end local 8 end local 7 61: StackMap locals:
StackMap stack:
iinc 6 1
StackMap locals:
StackMap stack:
62: iload 6
aload 3
arraylength
if_icmplt 6
end local 6 63: aload 1
getfield org.apache.catalina.startup.HostConfig$DeployedApplication.reloadResources:Ljava/util/HashMap;
invokevirtual java.util.HashMap.keySet:()Ljava/util/Set;
iconst_0
anewarray java.lang.String
invokeinterface java.util.Set.toArray:([Ljava/lang/Object;)[Ljava/lang/Object;
checkcast java.lang.String[]
astore 3
64: iconst_0
istore 6
start local 6 65: aload 3
dup
astore 10
arraylength
istore 9
iconst_0
istore 8
goto 84
StackMap locals: org.apache.catalina.startup.HostConfig org.apache.catalina.startup.HostConfig$DeployedApplication int java.lang.String[] long int top int int java.lang.String[]
StackMap stack:
66: aload 10
iload 8
aaload
astore 7
start local 7 67: new java.io.File
dup
aload 7
invokespecial java.io.File.<init>:(Ljava/lang/String;)V
astore 11
start local 11 68: getstatic org.apache.catalina.startup.HostConfig.log:Lorg/apache/juli/logging/Log;
invokeinterface org.apache.juli.logging.Log.isDebugEnabled:()Z
ifeq 70
69: getstatic org.apache.catalina.startup.HostConfig.log:Lorg/apache/juli/logging/Log;
new java.lang.StringBuilder
dup
ldc "Checking context["
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
getfield org.apache.catalina.startup.HostConfig$DeployedApplication.name:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "] reload resource "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 11
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokeinterface org.apache.juli.logging.Log.debug:(Ljava/lang/Object;)V
70: StackMap locals: org.apache.catalina.startup.HostConfig org.apache.catalina.startup.HostConfig$DeployedApplication int java.lang.String[] long int java.lang.String int int java.lang.String[] java.io.File
StackMap stack:
aload 1
getfield org.apache.catalina.startup.HostConfig$DeployedApplication.reloadResources:Ljava/util/HashMap;
aload 7
invokevirtual java.util.HashMap.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.Long
invokevirtual java.lang.Long.longValue:()J
lstore 12
start local 12 71: aload 11
invokevirtual java.io.File.lastModified:()J
lload 12
lcmp
ifeq 75
72: aload 0
getfield org.apache.catalina.startup.HostConfig.host:Lorg/apache/catalina/Host;
invokeinterface org.apache.catalina.Host.getAutoDeploy:()Z
ifeq 76
73: aload 11
invokevirtual java.io.File.lastModified:()J
lload 4
lcmp
iflt 76
74: iload 2
ifne 76
75: StackMap locals: long
StackMap stack:
iload 6
ifeq 82
76: StackMap locals:
StackMap stack:
iload 6
ifne 79
77: aload 0
aload 1
aconst_null
aconst_null
invokevirtual org.apache.catalina.startup.HostConfig.reload:(Lorg/apache/catalina/startup/HostConfig$DeployedApplication;Ljava/io/File;Ljava/lang/String;)V
78: iconst_1
istore 6
79: StackMap locals:
StackMap stack:
aload 1
getfield org.apache.catalina.startup.HostConfig$DeployedApplication.reloadResources:Ljava/util/HashMap;
aload 7
80: aload 11
invokevirtual java.io.File.lastModified:()J
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
81: invokevirtual java.util.HashMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
82: StackMap locals:
StackMap stack:
aload 1
invokestatic java.lang.System.currentTimeMillis:()J
putfield org.apache.catalina.startup.HostConfig$DeployedApplication.timestamp:J
end local 12 end local 11 end local 7 83: iinc 8 1
StackMap locals: org.apache.catalina.startup.HostConfig org.apache.catalina.startup.HostConfig$DeployedApplication int java.lang.String[] long int top int int java.lang.String[]
StackMap stack:
84: iload 8
iload 9
if_icmplt 66
85: return
end local 6 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 86 0 this Lorg/apache/catalina/startup/HostConfig;
0 86 1 app Lorg/apache/catalina/startup/HostConfig$DeployedApplication;
0 86 2 skipFileModificationResolutionCheck Z
2 86 3 resources [Ljava/lang/String;
4 86 4 currentTimeWithResolutionOffset J
5 63 6 i I
7 61 7 resource Ljava/io/File;
13 61 8 lastModified J
28 50 10 context Lorg/apache/catalina/Context;
29 50 11 docBase Ljava/lang/String;
31 36 12 docBaseFile Ljava/io/File;
43 50 12 unpackWAR Z
65 86 6 update Z
67 83 7 s Ljava/lang/String;
68 83 11 resource Ljava/io/File;
71 83 12 lastModified J
Exception table:
from to target type
53 54 55 Class java.lang.InterruptedException
MethodParameters:
Name Flags
app
skipFileModificationResolutionCheck
private void reload(org.apache.catalina.startup.HostConfig$DeployedApplication, java.io.File, java.lang.String);
descriptor: (Lorg/apache/catalina/startup/HostConfig$DeployedApplication;Ljava/io/File;Ljava/lang/String;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=7, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 3 0: getstatic org.apache.catalina.startup.HostConfig.log:Lorg/apache/juli/logging/Log;
invokeinterface org.apache.juli.logging.Log.isInfoEnabled:()Z
ifeq 2
1: getstatic org.apache.catalina.startup.HostConfig.log:Lorg/apache/juli/logging/Log;
getstatic org.apache.catalina.startup.HostConfig.sm:Lorg/apache/tomcat/util/res/StringManager;
ldc "hostConfig.reload"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 1
getfield org.apache.catalina.startup.HostConfig$DeployedApplication.name:Ljava/lang/String;
aastore
invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokeinterface org.apache.juli.logging.Log.info:(Ljava/lang/Object;)V
2: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.catalina.startup.HostConfig.host:Lorg/apache/catalina/Host;
aload 1
getfield org.apache.catalina.startup.HostConfig$DeployedApplication.name: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 3: aload 4
invokeinterface org.apache.catalina.Context.getState:()Lorg/apache/catalina/LifecycleState;
invokevirtual org.apache.catalina.LifecycleState.isAvailable:()Z
ifeq 10
4: aload 2
ifnull 8
aload 3
ifnull 8
5: aload 4
6: new org.apache.catalina.startup.HostConfig$ExpandedDirectoryRemovalListener
dup
aload 2
aload 3
invokespecial org.apache.catalina.startup.HostConfig$ExpandedDirectoryRemovalListener.<init>:(Ljava/io/File;Ljava/lang/String;)V
7: invokeinterface org.apache.catalina.Context.addLifecycleListener:(Lorg/apache/catalina/LifecycleListener;)V
8: StackMap locals: org.apache.catalina.Context
StackMap stack:
aload 4
invokeinterface org.apache.catalina.Context.reload:()V
9: goto 17
10: StackMap locals:
StackMap stack:
aload 2
ifnull 13
aload 3
ifnull 13
11: aload 2
invokestatic org.apache.catalina.startup.ExpandWar.delete:(Ljava/io/File;)Z
pop
12: aload 4
aload 3
invokeinterface org.apache.catalina.Context.setDocBase:(Ljava/lang/String;)V
13: StackMap locals:
StackMap stack:
aload 4
invokeinterface org.apache.catalina.Context.start:()V
14: goto 17
StackMap locals:
StackMap stack: java.lang.Exception
15: astore 5
start local 5 16: getstatic org.apache.catalina.startup.HostConfig.log:Lorg/apache/juli/logging/Log;
getstatic org.apache.catalina.startup.HostConfig.sm:Lorg/apache/tomcat/util/res/StringManager;
ldc "hostConfig.context.restart"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 1
getfield org.apache.catalina.startup.HostConfig$DeployedApplication.name:Ljava/lang/String;
aastore
invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
aload 5
invokeinterface org.apache.juli.logging.Log.error:(Ljava/lang/Object;Ljava/lang/Throwable;)V
end local 5 17: 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 18 0 this Lorg/apache/catalina/startup/HostConfig;
0 18 1 app Lorg/apache/catalina/startup/HostConfig$DeployedApplication;
0 18 2 fileToRemove Ljava/io/File;
0 18 3 newDocBase Ljava/lang/String;
3 18 4 context Lorg/apache/catalina/Context;
16 17 5 e Ljava/lang/Exception;
Exception table:
from to target type
13 14 15 Class java.lang.Exception
MethodParameters:
Name Flags
app
fileToRemove
newDocBase
private void undeploy(org.apache.catalina.startup.HostConfig$DeployedApplication);
descriptor: (Lorg/apache/catalina/startup/HostConfig$DeployedApplication;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=7, locals=4, args_size=2
start local 0 start local 1 0: getstatic org.apache.catalina.startup.HostConfig.log:Lorg/apache/juli/logging/Log;
invokeinterface org.apache.juli.logging.Log.isInfoEnabled:()Z
ifeq 2
1: getstatic org.apache.catalina.startup.HostConfig.log:Lorg/apache/juli/logging/Log;
getstatic org.apache.catalina.startup.HostConfig.sm:Lorg/apache/tomcat/util/res/StringManager;
ldc "hostConfig.undeploy"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 1
getfield org.apache.catalina.startup.HostConfig$DeployedApplication.name:Ljava/lang/String;
aastore
invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokeinterface org.apache.juli.logging.Log.info:(Ljava/lang/Object;)V
2: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.catalina.startup.HostConfig.host:Lorg/apache/catalina/Host;
aload 1
getfield org.apache.catalina.startup.HostConfig$DeployedApplication.name:Ljava/lang/String;
invokeinterface org.apache.catalina.Host.findChild:(Ljava/lang/String;)Lorg/apache/catalina/Container;
astore 2
start local 2 3: aload 0
getfield org.apache.catalina.startup.HostConfig.host:Lorg/apache/catalina/Host;
aload 2
invokeinterface org.apache.catalina.Host.removeChild:(Lorg/apache/catalina/Container;)V
4: goto 12
StackMap locals: org.apache.catalina.startup.HostConfig org.apache.catalina.startup.HostConfig$DeployedApplication org.apache.catalina.Container
StackMap stack: java.lang.Throwable
5: astore 3
start local 3 6: aload 3
invokestatic org.apache.tomcat.util.ExceptionUtils.handleThrowable:(Ljava/lang/Throwable;)V
7: getstatic org.apache.catalina.startup.HostConfig.log:Lorg/apache/juli/logging/Log;
getstatic org.apache.catalina.startup.HostConfig.sm:Lorg/apache/tomcat/util/res/StringManager;
8: ldc "hostConfig.context.remove"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 1
getfield org.apache.catalina.startup.HostConfig$DeployedApplication.name:Ljava/lang/String;
aastore
9: invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
10: aload 3
11: invokeinterface org.apache.juli.logging.Log.warn:(Ljava/lang/Object;Ljava/lang/Throwable;)V
end local 3 12: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.catalina.startup.HostConfig.deployed:Ljava/util/Map;
aload 1
getfield org.apache.catalina.startup.HostConfig$DeployedApplication.name:Ljava/lang/String;
invokeinterface java.util.Map.remove:(Ljava/lang/Object;)Ljava/lang/Object;
pop
13: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lorg/apache/catalina/startup/HostConfig;
0 14 1 app Lorg/apache/catalina/startup/HostConfig$DeployedApplication;
3 14 2 context Lorg/apache/catalina/Container;
6 12 3 t Ljava/lang/Throwable;
Exception table:
from to target type
3 4 5 Class java.lang.Throwable
MethodParameters:
Name Flags
app
private void deleteRedeployResources(org.apache.catalina.startup.HostConfig$DeployedApplication, java.lang.String[], int, boolean);
descriptor: (Lorg/apache/catalina/startup/HostConfig$DeployedApplication;[Ljava/lang/String;IZ)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=11, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: iload 3
iconst_1
iadd
istore 5
start local 5 1: goto 10
2: StackMap locals: int
StackMap stack:
new java.io.File
dup
aload 2
iload 5
aaload
invokespecial java.io.File.<init>:(Ljava/lang/String;)V
astore 6
start local 6 3: ldc "context.xml.default"
aload 6
invokevirtual java.io.File.getName:()Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 5
4: goto 9
5: StackMap locals: java.io.File
StackMap stack:
aload 0
aload 1
aload 6
invokevirtual org.apache.catalina.startup.HostConfig.isDeletableResource:(Lorg/apache/catalina/startup/HostConfig$DeployedApplication;Ljava/io/File;)Z
ifeq 9
6: getstatic org.apache.catalina.startup.HostConfig.log:Lorg/apache/juli/logging/Log;
invokeinterface org.apache.juli.logging.Log.isDebugEnabled:()Z
ifeq 8
7: getstatic org.apache.catalina.startup.HostConfig.log:Lorg/apache/juli/logging/Log;
new java.lang.StringBuilder
dup
ldc "Delete "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 6
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokeinterface org.apache.juli.logging.Log.debug:(Ljava/lang/Object;)V
8: StackMap locals:
StackMap stack:
aload 6
invokestatic org.apache.catalina.startup.ExpandWar.delete:(Ljava/io/File;)Z
pop
end local 6 9: StackMap locals:
StackMap stack:
iinc 5 1
StackMap locals:
StackMap stack:
10: iload 5
aload 2
arraylength
if_icmplt 2
end local 5 11: iload 4
ifeq 24
12: aload 1
getfield org.apache.catalina.startup.HostConfig$DeployedApplication.reloadResources:Ljava/util/HashMap;
invokevirtual java.util.HashMap.keySet:()Ljava/util/Set;
iconst_0
anewarray java.lang.String
invokeinterface java.util.Set.toArray:([Ljava/lang/Object;)[Ljava/lang/Object;
checkcast java.lang.String[]
astore 5
start local 5 13: aload 5
dup
astore 9
arraylength
istore 8
iconst_0
istore 7
goto 23
StackMap locals: org.apache.catalina.startup.HostConfig org.apache.catalina.startup.HostConfig$DeployedApplication java.lang.String[] int int java.lang.String[] top int int java.lang.String[]
StackMap stack:
14: aload 9
iload 7
aaload
astore 6
start local 6 15: new java.io.File
dup
aload 6
invokespecial java.io.File.<init>:(Ljava/lang/String;)V
astore 10
start local 10 16: ldc "context.xml.default"
aload 10
invokevirtual java.io.File.getName:()Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 18
17: goto 22
18: StackMap locals: org.apache.catalina.startup.HostConfig org.apache.catalina.startup.HostConfig$DeployedApplication java.lang.String[] int int java.lang.String[] java.lang.String int int java.lang.String[] java.io.File
StackMap stack:
aload 0
aload 1
aload 10
invokevirtual org.apache.catalina.startup.HostConfig.isDeletableResource:(Lorg/apache/catalina/startup/HostConfig$DeployedApplication;Ljava/io/File;)Z
ifeq 22
19: getstatic org.apache.catalina.startup.HostConfig.log:Lorg/apache/juli/logging/Log;
invokeinterface org.apache.juli.logging.Log.isDebugEnabled:()Z
ifeq 21
20: getstatic org.apache.catalina.startup.HostConfig.log:Lorg/apache/juli/logging/Log;
new java.lang.StringBuilder
dup
ldc "Delete "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 10
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokeinterface org.apache.juli.logging.Log.debug:(Ljava/lang/Object;)V
21: StackMap locals:
StackMap stack:
aload 10
invokestatic org.apache.catalina.startup.ExpandWar.delete:(Ljava/io/File;)Z
pop
end local 10 end local 6 22: StackMap locals: org.apache.catalina.startup.HostConfig org.apache.catalina.startup.HostConfig$DeployedApplication java.lang.String[] int int java.lang.String[] top int int java.lang.String[]
StackMap stack:
iinc 7 1
StackMap locals:
StackMap stack:
23: iload 7
iload 8
if_icmplt 14
end local 5 24: StackMap locals: org.apache.catalina.startup.HostConfig org.apache.catalina.startup.HostConfig$DeployedApplication java.lang.String[] int int
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/startup/HostConfig;
0 25 1 app Lorg/apache/catalina/startup/HostConfig$DeployedApplication;
0 25 2 resources [Ljava/lang/String;
0 25 3 i I
0 25 4 deleteReloadResources Z
1 11 5 j I
3 9 6 current Ljava/io/File;
13 24 5 resources2 [Ljava/lang/String;
15 22 6 s Ljava/lang/String;
16 22 10 current Ljava/io/File;
MethodParameters:
Name Flags
app
resources
i
deleteReloadResources
private boolean isDeletableResource(org.apache.catalina.startup.HostConfig$DeployedApplication, java.io.File);
descriptor: (Lorg/apache/catalina/startup/HostConfig$DeployedApplication;Ljava/io/File;)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=7, locals=7, args_size=3
start local 0 start local 1 start local 2 0: aload 2
invokevirtual java.io.File.isAbsolute:()Z
ifne 3
1: getstatic org.apache.catalina.startup.HostConfig.log:Lorg/apache/juli/logging/Log;
getstatic org.apache.catalina.startup.HostConfig.sm:Lorg/apache/tomcat/util/res/StringManager;
ldc "hostConfig.resourceNotAbsolute"
iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 1
getfield org.apache.catalina.startup.HostConfig$DeployedApplication.name:Ljava/lang/String;
aastore
dup
iconst_1
aload 2
aastore
invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokeinterface org.apache.juli.logging.Log.warn:(Ljava/lang/Object;)V
2: iconst_0
ireturn
3: StackMap locals:
StackMap stack:
aload 2
invokevirtual java.io.File.getParentFile:()Ljava/io/File;
invokevirtual java.io.File.getCanonicalPath:()Ljava/lang/String;
astore 3
start local 3 4: goto 12
end local 3 StackMap locals:
StackMap stack: java.io.IOException
5: astore 4
start local 4 6: getstatic org.apache.catalina.startup.HostConfig.log:Lorg/apache/juli/logging/Log;
getstatic org.apache.catalina.startup.HostConfig.sm:Lorg/apache/tomcat/util/res/StringManager;
7: ldc "hostConfig.canonicalizing"
iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 2
invokevirtual java.io.File.getParentFile:()Ljava/io/File;
aastore
dup
iconst_1
aload 1
getfield org.apache.catalina.startup.HostConfig$DeployedApplication.name:Ljava/lang/String;
aastore
8: invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
9: aload 4
10: invokeinterface org.apache.juli.logging.Log.warn:(Ljava/lang/Object;Ljava/lang/Throwable;)V
11: iconst_0
ireturn
end local 4 start local 3 12: StackMap locals: java.lang.String
StackMap stack:
aload 0
getfield org.apache.catalina.startup.HostConfig.host:Lorg/apache/catalina/Host;
invokeinterface org.apache.catalina.Host.getAppBaseFile:()Ljava/io/File;
invokevirtual java.io.File.getCanonicalPath:()Ljava/lang/String;
astore 4
start local 4 13: goto 21
end local 4 StackMap locals:
StackMap stack: java.io.IOException
14: astore 5
start local 5 15: getstatic org.apache.catalina.startup.HostConfig.log:Lorg/apache/juli/logging/Log;
getstatic org.apache.catalina.startup.HostConfig.sm:Lorg/apache/tomcat/util/res/StringManager;
16: ldc "hostConfig.canonicalizing"
iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 0
getfield org.apache.catalina.startup.HostConfig.host:Lorg/apache/catalina/Host;
invokeinterface org.apache.catalina.Host.getAppBaseFile:()Ljava/io/File;
aastore
dup
iconst_1
aload 1
getfield org.apache.catalina.startup.HostConfig$DeployedApplication.name:Ljava/lang/String;
aastore
17: invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
18: aload 5
19: invokeinterface org.apache.juli.logging.Log.warn:(Ljava/lang/Object;Ljava/lang/Throwable;)V
20: iconst_0
ireturn
end local 5 start local 4 21: StackMap locals: java.lang.String
StackMap stack:
aload 3
aload 4
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 23
22: iconst_1
ireturn
23: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.catalina.startup.HostConfig.host:Lorg/apache/catalina/Host;
invokeinterface org.apache.catalina.Host.getConfigBaseFile:()Ljava/io/File;
invokevirtual java.io.File.getCanonicalPath:()Ljava/lang/String;
astore 5
start local 5 24: goto 32
end local 5 StackMap locals:
StackMap stack: java.io.IOException
25: astore 6
start local 6 26: getstatic org.apache.catalina.startup.HostConfig.log:Lorg/apache/juli/logging/Log;
getstatic org.apache.catalina.startup.HostConfig.sm:Lorg/apache/tomcat/util/res/StringManager;
27: ldc "hostConfig.canonicalizing"
iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 0
getfield org.apache.catalina.startup.HostConfig.host:Lorg/apache/catalina/Host;
invokeinterface org.apache.catalina.Host.getConfigBaseFile:()Ljava/io/File;
aastore
dup
iconst_1
aload 1
getfield org.apache.catalina.startup.HostConfig$DeployedApplication.name:Ljava/lang/String;
aastore
28: invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
29: aload 6
30: invokeinterface org.apache.juli.logging.Log.warn:(Ljava/lang/Object;Ljava/lang/Throwable;)V
31: iconst_0
ireturn
end local 6 start local 5 32: StackMap locals: java.lang.String
StackMap stack:
aload 3
aload 5
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 35
33: aload 2
invokevirtual java.io.File.getName:()Ljava/lang/String;
ldc ".xml"
invokevirtual java.lang.String.endsWith:(Ljava/lang/String;)Z
ifeq 35
34: iconst_1
ireturn
35: StackMap locals:
StackMap stack:
iconst_0
ireturn
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 36 0 this Lorg/apache/catalina/startup/HostConfig;
0 36 1 app Lorg/apache/catalina/startup/HostConfig$DeployedApplication;
0 36 2 resource Ljava/io/File;
4 5 3 canonicalLocation Ljava/lang/String;
12 36 3 canonicalLocation Ljava/lang/String;
6 12 4 e Ljava/io/IOException;
13 14 4 canonicalAppBase Ljava/lang/String;
21 36 4 canonicalAppBase Ljava/lang/String;
15 21 5 e Ljava/io/IOException;
24 25 5 canonicalConfigBase Ljava/lang/String;
32 36 5 canonicalConfigBase Ljava/lang/String;
26 32 6 e Ljava/io/IOException;
Exception table:
from to target type
3 4 5 Class java.io.IOException
12 13 14 Class java.io.IOException
23 24 25 Class java.io.IOException
MethodParameters:
Name Flags
app
resource
public void beforeStart();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=6, args_size=1
start local 0 0: aload 0
getfield org.apache.catalina.startup.HostConfig.host:Lorg/apache/catalina/Host;
invokeinterface org.apache.catalina.Host.getCreateDirs:()Z
ifeq 8
1: iconst_2
anewarray java.io.File
dup
iconst_0
aload 0
getfield org.apache.catalina.startup.HostConfig.host:Lorg/apache/catalina/Host;
invokeinterface org.apache.catalina.Host.getAppBaseFile:()Ljava/io/File;
aastore
dup
iconst_1
aload 0
getfield org.apache.catalina.startup.HostConfig.host:Lorg/apache/catalina/Host;
invokeinterface org.apache.catalina.Host.getConfigBaseFile:()Ljava/io/File;
aastore
astore 1
start local 1 2: aload 1
dup
astore 5
arraylength
istore 4
iconst_0
istore 3
goto 7
StackMap locals: org.apache.catalina.startup.HostConfig java.io.File[] top int int java.io.File[]
StackMap stack:
3: aload 5
iload 3
aaload
astore 2
start local 2 4: aload 2
invokevirtual java.io.File.mkdirs:()Z
ifne 6
aload 2
invokevirtual java.io.File.isDirectory:()Z
ifne 6
5: getstatic org.apache.catalina.startup.HostConfig.log:Lorg/apache/juli/logging/Log;
getstatic org.apache.catalina.startup.HostConfig.sm:Lorg/apache/tomcat/util/res/StringManager;
ldc "hostConfig.createDirs"
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;
invokeinterface org.apache.juli.logging.Log.error:(Ljava/lang/Object;)V
end local 2 6: StackMap locals:
StackMap stack:
iinc 3 1
StackMap locals:
StackMap stack:
7: iload 3
iload 4
if_icmplt 3
end local 1 8: StackMap locals: org.apache.catalina.startup.HostConfig
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/apache/catalina/startup/HostConfig;
2 8 1 dirs [Ljava/io/File;
4 6 2 dir Ljava/io/File;
public void start();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=2, args_size=1
start local 0 0: getstatic org.apache.catalina.startup.HostConfig.log:Lorg/apache/juli/logging/Log;
invokeinterface org.apache.juli.logging.Log.isDebugEnabled:()Z
ifeq 2
1: getstatic org.apache.catalina.startup.HostConfig.log:Lorg/apache/juli/logging/Log;
getstatic org.apache.catalina.startup.HostConfig.sm:Lorg/apache/tomcat/util/res/StringManager;
ldc "hostConfig.start"
invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;)Ljava/lang/String;
invokeinterface org.apache.juli.logging.Log.debug:(Ljava/lang/Object;)V
2: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.catalina.startup.HostConfig.host:Lorg/apache/catalina/Host;
invokeinterface org.apache.catalina.Host.getObjectName:()Ljavax/management/ObjectName;
astore 1
start local 1 3: aload 0
new javax.management.ObjectName
dup
4: new java.lang.StringBuilder
dup
aload 1
invokevirtual javax.management.ObjectName.getDomain:()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;
aload 0
getfield org.apache.catalina.startup.HostConfig.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;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial javax.management.ObjectName.<init>:(Ljava/lang/String;)V
5: putfield org.apache.catalina.startup.HostConfig.oname:Ljavax/management/ObjectName;
6: aconst_null
aconst_null
invokestatic org.apache.tomcat.util.modeler.Registry.getRegistry:(Ljava/lang/Object;Ljava/lang/Object;)Lorg/apache/tomcat/util/modeler/Registry;
7: aload 0
aload 0
getfield org.apache.catalina.startup.HostConfig.oname:Ljavax/management/ObjectName;
aload 0
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
8: invokevirtual org.apache.tomcat.util.modeler.Registry.registerComponent:(Ljava/lang/Object;Ljavax/management/ObjectName;Ljava/lang/String;)V
end local 1 9: goto 12
StackMap locals:
StackMap stack: java.lang.Exception
10: astore 1
start local 1 11: getstatic org.apache.catalina.startup.HostConfig.log:Lorg/apache/juli/logging/Log;
getstatic org.apache.catalina.startup.HostConfig.sm:Lorg/apache/tomcat/util/res/StringManager;
ldc "hostConfig.jmx.register"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 0
getfield org.apache.catalina.startup.HostConfig.oname:Ljavax/management/ObjectName;
aastore
invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
aload 1
invokeinterface org.apache.juli.logging.Log.warn:(Ljava/lang/Object;Ljava/lang/Throwable;)V
end local 1 12: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.catalina.startup.HostConfig.host:Lorg/apache/catalina/Host;
invokeinterface org.apache.catalina.Host.getAppBaseFile:()Ljava/io/File;
invokevirtual java.io.File.isDirectory:()Z
ifne 18
13: getstatic org.apache.catalina.startup.HostConfig.log:Lorg/apache/juli/logging/Log;
getstatic org.apache.catalina.startup.HostConfig.sm:Lorg/apache/tomcat/util/res/StringManager;
ldc "hostConfig.appBase"
iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 0
getfield org.apache.catalina.startup.HostConfig.host:Lorg/apache/catalina/Host;
invokeinterface org.apache.catalina.Host.getName:()Ljava/lang/String;
aastore
dup
iconst_1
14: aload 0
getfield org.apache.catalina.startup.HostConfig.host:Lorg/apache/catalina/Host;
invokeinterface org.apache.catalina.Host.getAppBaseFile:()Ljava/io/File;
invokevirtual java.io.File.getPath:()Ljava/lang/String;
aastore
15: invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokeinterface org.apache.juli.logging.Log.error:(Ljava/lang/Object;)V
16: aload 0
getfield org.apache.catalina.startup.HostConfig.host:Lorg/apache/catalina/Host;
iconst_0
invokeinterface org.apache.catalina.Host.setDeployOnStartup:(Z)V
17: aload 0
getfield org.apache.catalina.startup.HostConfig.host:Lorg/apache/catalina/Host;
iconst_0
invokeinterface org.apache.catalina.Host.setAutoDeploy:(Z)V
18: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.catalina.startup.HostConfig.host:Lorg/apache/catalina/Host;
invokeinterface org.apache.catalina.Host.getDeployOnStartup:()Z
ifeq 20
19: aload 0
invokevirtual org.apache.catalina.startup.HostConfig.deployApps:()V
20: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 21 0 this Lorg/apache/catalina/startup/HostConfig;
3 9 1 hostON Ljavax/management/ObjectName;
11 12 1 e Ljava/lang/Exception;
Exception table:
from to target type
2 9 10 Class java.lang.Exception
public void stop();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=2, args_size=1
start local 0 0: getstatic org.apache.catalina.startup.HostConfig.log:Lorg/apache/juli/logging/Log;
invokeinterface org.apache.juli.logging.Log.isDebugEnabled:()Z
ifeq 2
1: getstatic org.apache.catalina.startup.HostConfig.log:Lorg/apache/juli/logging/Log;
getstatic org.apache.catalina.startup.HostConfig.sm:Lorg/apache/tomcat/util/res/StringManager;
ldc "hostConfig.stop"
invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;)Ljava/lang/String;
invokeinterface org.apache.juli.logging.Log.debug:(Ljava/lang/Object;)V
2: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.catalina.startup.HostConfig.oname:Ljavax/management/ObjectName;
ifnull 7
3: aconst_null
aconst_null
invokestatic org.apache.tomcat.util.modeler.Registry.getRegistry:(Ljava/lang/Object;Ljava/lang/Object;)Lorg/apache/tomcat/util/modeler/Registry;
aload 0
getfield org.apache.catalina.startup.HostConfig.oname:Ljavax/management/ObjectName;
invokevirtual org.apache.tomcat.util.modeler.Registry.unregisterComponent:(Ljavax/management/ObjectName;)V
4: goto 7
StackMap locals:
StackMap stack: java.lang.Exception
5: astore 1
start local 1 6: getstatic org.apache.catalina.startup.HostConfig.log:Lorg/apache/juli/logging/Log;
getstatic org.apache.catalina.startup.HostConfig.sm:Lorg/apache/tomcat/util/res/StringManager;
ldc "hostConfig.jmx.unregister"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 0
getfield org.apache.catalina.startup.HostConfig.oname:Ljavax/management/ObjectName;
aastore
invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
aload 1
invokeinterface org.apache.juli.logging.Log.warn:(Ljava/lang/Object;Ljava/lang/Throwable;)V
end local 1 7: StackMap locals:
StackMap stack:
aload 0
aconst_null
putfield org.apache.catalina.startup.HostConfig.oname:Ljavax/management/ObjectName;
8: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/apache/catalina/startup/HostConfig;
6 7 1 e Ljava/lang/Exception;
Exception table:
from to target type
3 4 5 Class java.lang.Exception
protected void check();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=6, args_size=1
start local 0 0: aload 0
getfield org.apache.catalina.startup.HostConfig.host:Lorg/apache/catalina/Host;
invokeinterface org.apache.catalina.Host.getAutoDeploy:()Z
ifeq 12
1: aload 0
getfield org.apache.catalina.startup.HostConfig.deployed:Ljava/util/Map;
invokeinterface java.util.Map.values:()Ljava/util/Collection;
iconst_0
anewarray org.apache.catalina.startup.HostConfig$DeployedApplication
invokeinterface java.util.Collection.toArray:([Ljava/lang/Object;)[Ljava/lang/Object;
checkcast org.apache.catalina.startup.HostConfig$DeployedApplication[]
2: astore 1
start local 1 3: aload 1
dup
astore 5
arraylength
istore 4
iconst_0
istore 3
goto 8
StackMap locals: org.apache.catalina.startup.HostConfig org.apache.catalina.startup.HostConfig$DeployedApplication[] top int int org.apache.catalina.startup.HostConfig$DeployedApplication[]
StackMap stack:
4: aload 5
iload 3
aaload
astore 2
start local 2 5: aload 0
aload 2
getfield org.apache.catalina.startup.HostConfig$DeployedApplication.name:Ljava/lang/String;
invokevirtual org.apache.catalina.startup.HostConfig.isServiced:(Ljava/lang/String;)Z
ifne 7
6: aload 0
aload 2
iconst_0
invokevirtual org.apache.catalina.startup.HostConfig.checkResources:(Lorg/apache/catalina/startup/HostConfig$DeployedApplication;Z)V
end local 2 7: StackMap locals:
StackMap stack:
iinc 3 1
StackMap locals:
StackMap stack:
8: iload 3
iload 4
if_icmplt 4
9: aload 0
getfield org.apache.catalina.startup.HostConfig.host:Lorg/apache/catalina/Host;
invokeinterface org.apache.catalina.Host.getUndeployOldVersions:()Z
ifeq 11
10: aload 0
invokevirtual org.apache.catalina.startup.HostConfig.checkUndeploy:()V
11: StackMap locals: org.apache.catalina.startup.HostConfig org.apache.catalina.startup.HostConfig$DeployedApplication[]
StackMap stack:
aload 0
invokevirtual org.apache.catalina.startup.HostConfig.deployApps:()V
end local 1 12: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lorg/apache/catalina/startup/HostConfig;
3 12 1 apps [Lorg/apache/catalina/startup/HostConfig$DeployedApplication;
5 7 2 app Lorg/apache/catalina/startup/HostConfig$DeployedApplication;
public void check(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.catalina.startup.HostConfig.deployed:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.apache.catalina.startup.HostConfig$DeployedApplication
astore 2
start local 2 1: aload 2
ifnull 3
2: aload 0
aload 2
iconst_1
invokevirtual org.apache.catalina.startup.HostConfig.checkResources:(Lorg/apache/catalina/startup/HostConfig$DeployedApplication;Z)V
3: StackMap locals: org.apache.catalina.startup.HostConfig$DeployedApplication
StackMap stack:
aload 0
aload 1
invokevirtual org.apache.catalina.startup.HostConfig.deployApps:(Ljava/lang/String;)V
4: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/apache/catalina/startup/HostConfig;
0 5 1 name Ljava/lang/String;
1 5 2 app Lorg/apache/catalina/startup/HostConfig$DeployedApplication;
MethodParameters:
Name Flags
name
public synchronized void checkUndeploy();
descriptor: ()V
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=7, locals=11, args_size=1
start local 0 0: aload 0
getfield org.apache.catalina.startup.HostConfig.deployed:Ljava/util/Map;
invokeinterface java.util.Map.size:()I
iconst_2
if_icmpge 2
1: return
2: StackMap locals:
StackMap stack:
new java.util.TreeSet
dup
aload 0
getfield org.apache.catalina.startup.HostConfig.deployed:Ljava/util/Map;
invokeinterface java.util.Map.keySet:()Ljava/util/Set;
invokespecial java.util.TreeSet.<init>:(Ljava/util/Collection;)V
astore 1
start local 1 3: aload 1
invokeinterface java.util.SortedSet.iterator:()Ljava/util/Iterator;
astore 2
start local 2 4: new org.apache.catalina.util.ContextName
dup
aload 2
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
iconst_0
invokespecial org.apache.catalina.util.ContextName.<init>:(Ljava/lang/String;Z)V
astore 3
start local 3 5: StackMap locals: java.util.SortedSet java.util.Iterator org.apache.catalina.util.ContextName
StackMap stack:
new org.apache.catalina.util.ContextName
dup
aload 2
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
iconst_0
invokespecial org.apache.catalina.util.ContextName.<init>:(Ljava/lang/String;Z)V
astore 4
start local 4 6: aload 4
invokevirtual org.apache.catalina.util.ContextName.getPath:()Ljava/lang/String;
aload 3
invokevirtual org.apache.catalina.util.ContextName.getPath:()Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 27
7: aload 0
getfield org.apache.catalina.startup.HostConfig.host:Lorg/apache/catalina/Host;
aload 3
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 8: aload 0
getfield org.apache.catalina.startup.HostConfig.host:Lorg/apache/catalina/Host;
aload 4
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 9: aload 5
ifnull 27
aload 6
ifnull 27
10: aload 6
invokeinterface org.apache.catalina.Context.getState:()Lorg/apache/catalina/LifecycleState;
invokevirtual org.apache.catalina.LifecycleState.isAvailable:()Z
ifeq 27
11: aload 0
aload 3
invokevirtual org.apache.catalina.util.ContextName.getName:()Ljava/lang/String;
invokevirtual org.apache.catalina.startup.HostConfig.isServiced:(Ljava/lang/String;)Z
ifne 27
12: aload 5
invokeinterface org.apache.catalina.Context.getManager:()Lorg/apache/catalina/Manager;
astore 7
start local 7 13: aload 7
ifnull 27
14: aload 7
instanceof org.apache.catalina.DistributedManager
ifeq 17
15: aload 7
checkcast org.apache.catalina.DistributedManager
invokeinterface org.apache.catalina.DistributedManager.getActiveSessionsFull:()I
istore 8
start local 8 16: goto 18
end local 8 17: StackMap locals: org.apache.catalina.startup.HostConfig java.util.SortedSet java.util.Iterator org.apache.catalina.util.ContextName org.apache.catalina.util.ContextName org.apache.catalina.Context org.apache.catalina.Context org.apache.catalina.Manager
StackMap stack:
aload 7
invokeinterface org.apache.catalina.Manager.getActiveSessions:()I
istore 8
start local 8 18: StackMap locals: int
StackMap stack:
iload 8
ifne 27
19: getstatic org.apache.catalina.startup.HostConfig.log:Lorg/apache/juli/logging/Log;
invokeinterface org.apache.juli.logging.Log.isInfoEnabled:()Z
ifeq 23
20: getstatic org.apache.catalina.startup.HostConfig.log:Lorg/apache/juli/logging/Log;
getstatic org.apache.catalina.startup.HostConfig.sm:Lorg/apache/tomcat/util/res/StringManager;
21: ldc "hostConfig.undeployVersion"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 3
invokevirtual org.apache.catalina.util.ContextName.getName:()Ljava/lang/String;
aastore
22: invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokeinterface org.apache.juli.logging.Log.info:(Ljava/lang/Object;)V
23: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.catalina.startup.HostConfig.deployed:Ljava/util/Map;
aload 3
invokevirtual org.apache.catalina.util.ContextName.getName:()Ljava/lang/String;
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.apache.catalina.startup.HostConfig$DeployedApplication
astore 9
start local 9 24: aload 9
getfield org.apache.catalina.startup.HostConfig$DeployedApplication.redeployResources:Ljava/util/LinkedHashMap;
invokevirtual java.util.LinkedHashMap.keySet:()Ljava/util/Set;
iconst_0
anewarray java.lang.String
invokeinterface java.util.Set.toArray:([Ljava/lang/Object;)[Ljava/lang/Object;
checkcast java.lang.String[]
astore 10
start local 10 25: aload 0
aload 9
invokevirtual org.apache.catalina.startup.HostConfig.undeploy:(Lorg/apache/catalina/startup/HostConfig$DeployedApplication;)V
26: aload 0
aload 9
aload 10
iconst_m1
iconst_1
invokevirtual org.apache.catalina.startup.HostConfig.deleteRedeployResources:(Lorg/apache/catalina/startup/HostConfig$DeployedApplication;[Ljava/lang/String;IZ)V
end local 10 end local 9 end local 8 end local 7 end local 6 end local 5 27: StackMap locals: org.apache.catalina.startup.HostConfig java.util.SortedSet java.util.Iterator org.apache.catalina.util.ContextName org.apache.catalina.util.ContextName
StackMap stack:
aload 4
astore 3
end local 4 28: aload 2
invokeinterface java.util.Iterator.hasNext:()Z
ifne 5
29: return
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/startup/HostConfig;
3 30 1 sortedAppNames Ljava/util/SortedSet<Ljava/lang/String;>;
4 30 2 iter Ljava/util/Iterator<Ljava/lang/String;>;
5 30 3 previous Lorg/apache/catalina/util/ContextName;
6 28 4 current Lorg/apache/catalina/util/ContextName;
8 27 5 previousContext Lorg/apache/catalina/Context;
9 27 6 currentContext Lorg/apache/catalina/Context;
13 27 7 manager Lorg/apache/catalina/Manager;
16 17 8 sessionCount I
18 27 8 sessionCount I
24 27 9 app Lorg/apache/catalina/startup/HostConfig$DeployedApplication;
25 27 10 resources [Ljava/lang/String;
public void manageApp(org.apache.catalina.Context);
descriptor: (Lorg/apache/catalina/Context;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=7, args_size=2
start local 0 start local 1 0: aload 1
invokeinterface org.apache.catalina.Context.getName:()Ljava/lang/String;
astore 2
start local 2 1: aload 0
getfield org.apache.catalina.startup.HostConfig.deployed:Ljava/util/Map;
aload 2
invokeinterface java.util.Map.containsKey:(Ljava/lang/Object;)Z
ifeq 3
2: return
3: StackMap locals: java.lang.String
StackMap stack:
new org.apache.catalina.startup.HostConfig$DeployedApplication
dup
aload 2
iconst_0
invokespecial org.apache.catalina.startup.HostConfig$DeployedApplication.<init>:(Ljava/lang/String;Z)V
4: astore 3
start local 3 5: iconst_0
istore 4
start local 4 6: aload 1
invokeinterface org.apache.catalina.Context.getDocBase:()Ljava/lang/String;
ifnull 15
7: new java.io.File
dup
aload 1
invokeinterface org.apache.catalina.Context.getDocBase:()Ljava/lang/String;
invokespecial java.io.File.<init>:(Ljava/lang/String;)V
astore 5
start local 5 8: aload 5
invokevirtual java.io.File.isAbsolute:()Z
ifne 10
9: new java.io.File
dup
aload 0
getfield org.apache.catalina.startup.HostConfig.host:Lorg/apache/catalina/Host;
invokeinterface org.apache.catalina.Host.getAppBaseFile:()Ljava/io/File;
aload 1
invokeinterface org.apache.catalina.Context.getDocBase:()Ljava/lang/String;
invokespecial java.io.File.<init>:(Ljava/io/File;Ljava/lang/String;)V
astore 5
10: StackMap locals: org.apache.catalina.startup.HostConfig$DeployedApplication int java.io.File
StackMap stack:
aload 3
getfield org.apache.catalina.startup.HostConfig$DeployedApplication.redeployResources:Ljava/util/LinkedHashMap;
aload 5
invokevirtual java.io.File.getAbsolutePath:()Ljava/lang/String;
11: aload 5
invokevirtual java.io.File.lastModified:()J
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
12: invokevirtual java.util.LinkedHashMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
13: aload 5
invokevirtual java.io.File.getAbsolutePath:()Ljava/lang/String;
getstatic java.util.Locale.ENGLISH:Ljava/util/Locale;
invokevirtual java.lang.String.toLowerCase:(Ljava/util/Locale;)Ljava/lang/String;
ldc ".war"
invokevirtual java.lang.String.endsWith:(Ljava/lang/String;)Z
ifeq 15
14: iconst_1
istore 4
end local 5 15: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.catalina.startup.HostConfig.host:Lorg/apache/catalina/Host;
aload 1
invokeinterface org.apache.catalina.Host.addChild:(Lorg/apache/catalina/Container;)V
16: aload 0
getfield org.apache.catalina.startup.HostConfig.unpackWARs:Z
istore 5
start local 5 17: iload 5
ifeq 19
aload 1
instanceof org.apache.catalina.core.StandardContext
ifeq 19
18: aload 1
checkcast org.apache.catalina.core.StandardContext
invokevirtual org.apache.catalina.core.StandardContext.getUnpackWAR:()Z
istore 5
19: StackMap locals: int
StackMap stack:
iload 4
ifeq 26
iload 5
ifeq 26
20: new java.io.File
dup
aload 0
getfield org.apache.catalina.startup.HostConfig.host:Lorg/apache/catalina/Host;
invokeinterface org.apache.catalina.Host.getAppBaseFile:()Ljava/io/File;
aload 1
invokeinterface org.apache.catalina.Context.getBaseName:()Ljava/lang/String;
invokespecial java.io.File.<init>:(Ljava/io/File;Ljava/lang/String;)V
astore 6
start local 6 21: aload 3
getfield org.apache.catalina.startup.HostConfig$DeployedApplication.redeployResources:Ljava/util/LinkedHashMap;
aload 6
invokevirtual java.io.File.getAbsolutePath:()Ljava/lang/String;
22: aload 6
invokevirtual java.io.File.lastModified:()J
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
23: invokevirtual java.util.LinkedHashMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
24: aload 0
aload 3
aload 6
invokevirtual java.io.File.getAbsolutePath:()Ljava/lang/String;
aload 1
invokevirtual org.apache.catalina.startup.HostConfig.addWatchedResources:(Lorg/apache/catalina/startup/HostConfig$DeployedApplication;Ljava/lang/String;Lorg/apache/catalina/Context;)V
end local 6 25: goto 27
26: StackMap locals:
StackMap stack:
aload 0
aload 3
aconst_null
aload 1
invokevirtual org.apache.catalina.startup.HostConfig.addWatchedResources:(Lorg/apache/catalina/startup/HostConfig$DeployedApplication;Ljava/lang/String;Lorg/apache/catalina/Context;)V
27: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.catalina.startup.HostConfig.deployed:Ljava/util/Map;
aload 2
aload 3
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
28: 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 29 0 this Lorg/apache/catalina/startup/HostConfig;
0 29 1 context Lorg/apache/catalina/Context;
1 29 2 contextName Ljava/lang/String;
5 29 3 deployedApp Lorg/apache/catalina/startup/HostConfig$DeployedApplication;
6 29 4 isWar Z
8 15 5 docBase Ljava/io/File;
17 29 5 unpackWAR Z
21 25 6 docBase Ljava/io/File;
MethodParameters:
Name Flags
context
public void unmanageApp(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual org.apache.catalina.startup.HostConfig.isServiced:(Ljava/lang/String;)Z
ifeq 3
1: aload 0
getfield org.apache.catalina.startup.HostConfig.deployed:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.remove:(Ljava/lang/Object;)Ljava/lang/Object;
pop
2: aload 0
getfield org.apache.catalina.startup.HostConfig.host:Lorg/apache/catalina/Host;
aload 0
getfield org.apache.catalina.startup.HostConfig.host:Lorg/apache/catalina/Host;
aload 1
invokeinterface org.apache.catalina.Host.findChild:(Ljava/lang/String;)Lorg/apache/catalina/Container;
invokeinterface org.apache.catalina.Host.removeChild:(Lorg/apache/catalina/Container;)V
3: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/catalina/startup/HostConfig;
0 4 1 contextName Ljava/lang/String;
MethodParameters:
Name Flags
contextName
}
SourceFile: "HostConfig.java"
NestMembers:
org.apache.catalina.startup.HostConfig$DeployDescriptor org.apache.catalina.startup.HostConfig$DeployDirectory org.apache.catalina.startup.HostConfig$DeployWar org.apache.catalina.startup.HostConfig$DeployedApplication org.apache.catalina.startup.HostConfig$ExpandedDirectoryRemovalListener
InnerClasses:
private DeployDescriptor = org.apache.catalina.startup.HostConfig$DeployDescriptor of org.apache.catalina.startup.HostConfig
private DeployDirectory = org.apache.catalina.startup.HostConfig$DeployDirectory of org.apache.catalina.startup.HostConfig
private DeployWar = org.apache.catalina.startup.HostConfig$DeployWar of org.apache.catalina.startup.HostConfig
protected DeployedApplication = org.apache.catalina.startup.HostConfig$DeployedApplication of org.apache.catalina.startup.HostConfig
private ExpandedDirectoryRemovalListener = org.apache.catalina.startup.HostConfig$ExpandedDirectoryRemovalListener of org.apache.catalina.startup.HostConfig