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

List of MBean operations:


void destroy()

Destroy the context


void removeValve()

Remove a valve from this Context

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

void stop()

Stop the context


void start()

Start 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

org.apache.catalina.Context findMappingObject()

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


void init()

Register the context into the running server


javax.naming.directory.DirContext findStaticResources()

Return the naming resources associated with this web application


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 addValve()

Add a valve to this Context

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

void reload()

Reload the webapplication