JBoss

JMX MBean View

Back to Agent View Refresh MBean View

MBean description:

Standard Context Component

List of MBean attributes:

Name Type Access Value Description
privileged boolean RW True False Access to tomcat internals
compilerClasspath java.lang.String RW The compiler classpath to use
crossContext boolean RW True False Should we allow the ServletContext.getContext() method to access the context of other web applications in this server?
swallowOutput boolean RW True False Flag to set to cause the system.out and system.err to be redirected to the logger when executing a servlet
antiResourceLocking boolean RW True False Take care to not lock resources
cookies boolean RW True False Should we attempt to use cookies for session id communication?
caseSensitive boolean RW True False Should case sensitivity checks be performed
workDir java.lang.String RW The pathname to the work directory for this context
altDDName java.lang.String RW The alternate deployment descriptor name
loader org.apache.catalina.Loader RW Associated loader.
unloadDelay long RW Amount of ms that the container will wait for servlets to unload
path java.lang.String RW The context path for this Context
managedResource java.lang.Object RW The managed resource this MBean is associated with
objectName java.lang.String RW Name of the object
servlets [Ljava.lang.String; R
jboss.web:j2eeType=Servlet,name=jsp,WebModule=//localhost/jexinv,J2EEApplication=none,J2EEServer=none
jboss.web:j2eeType=Servlet,name=default,WebModule=//localhost/jexinv,J2EEApplication=none,J2EEServer=none
JSR77 list of servlets
tldScanTime long RW Time spend scanning jars for TLDs for this context
realm org.apache.catalina.Realm RW Associated realm.
namingContextListener org.apache.catalina.core.NamingContextListener RW Associated naming context listener.
configFile java.lang.String RW Location of the context.xml resource or file
modelerType java.lang.String R org.apache.catalina.core.StandardContext Type of the modeled resource. Can be set only once
saveConfig boolean RW True False Should the configuration be written as needed on startup
stateManageable boolean RW True False State management support for this managed object
eventProvider boolean RW True False Event provider support for this managed object
state int RW Current state of this component
cacheTTL int RW Time interval in ms between cache refeshes
cachingAllowed boolean RW True False Should we cache static resources for this webapp
startupTime long RW Time (in milliseconds) it took to start this context
statisticsProvider boolean RW True False Performance statistics support for this managed object
javaVMs [Ljava.lang.String; RW The Java virtual machines on which this module is running
manager org.apache.catalina.Manager RW Associated manager.
staticResources javax.naming.directory.DirContext R org.apache.naming.resources.ProxyDirContext@1227d01 Static resources associated with the context.
override boolean RW True False The DefaultContext override flag for this web application
docBase java.lang.String RW The document root for this web application
defaultContextXml java.lang.String RW Location of the default context.xml resource or file
server java.lang.String RW The J2EE Server this module is deployed on
startTime long RW Time (in milliseconds since January 1, 1970, 00:00:00) when this context was started
defaultWebXml java.lang.String RW Location of the default web.xml resource or file
deploymentDescriptor java.lang.String RW String deployment descriptor
mappingObject java.lang.Object RW The object used for mapping
parentClassLoader java.lang.ClassLoader RW Parent class loader.
processingTime long R 0 Cumulative execution times of all servlets in this context
useNaming boolean RW True False Create a JNDI naming context for this application?
annotationProcessor org.apache.AnnotationProcessor RW Object that processes things like injection annotations
delegate boolean RW True False (no description)
antiJARLocking boolean RW True False Take care to not lock jar files
valveObjectNames [Ljavax.management.ObjectName; R
jboss.web:type=Valve,name=JaccContextValve,path=/jexinv,host=localhost
jboss.web:type=Valve,name=SecurityAssociationValve,path=/jexinv,host=localhost
jboss.web:type=Valve,name=StandardContextValve,path=/jexinv,host=localhost
ObjectNames for the valves associated with this container
cacheMaxSize int RW Maximum cache size in KB
configClass java.lang.String RW The class name of the context configurator
engineName java.lang.String RW Name of the engine domain, if different from the context domain
logger org.apache.commons.logging.Log RW Associated logger.
allowLinking boolean RW True False Allow symlinking to outside the webapp root directory, if the webapp is an exploded directory
children [Ljavax.management.ObjectName; RW Object names of all children
welcomeFiles [Ljava.lang.String; R
index.html
index.htm
index.jsp
The welcome files for this context
reloadable boolean RW True False The reloadable flag for this web application

List of MBean operations:


void reload()

Reload the webapplication


void stop()

Stop the context


void addLifecycleListener()

Add a lifecycle listener to this Context

Param ParamType ParamValue ParamDescription
listener org.apache.catalina.LifecycleListener New lifecycle listener to be added

void init()

Register the context into the running server


void start()

Start the context


org.apache.catalina.Context findMappingObject()

Return an object which may be utilized for mapping to this component


void addValve()

Add a valve to this Context

Param ParamType ParamValue ParamDescription
valve org.apache.catalina.Valve New valve to be added

javax.naming.directory.DirContext findStaticResources()

Return the naming resources associated with this web application


void removeValve()

Remove a valve from this Context

Param ParamType ParamValue ParamDescription
valve org.apache.catalina.Valve New valve to be removed

void destroy()

Destroy the context


void removeLifecycleListener()

Remove a lifecycle listener from this Context

Param ParamType ParamValue ParamDescription
listener org.apache.catalina.LifecycleListener New lifecycle listener to be removed