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

List of MBean operations:


void addValve()

Add a valve to this Context

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

void removeValve()

Remove a valve from this Context

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

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

Remove a lifecycle listener from this Context

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

void reload()

Reload the webapplication


void init()

Register the context into the running server


void start()

Start the context


void stop()

Stop the context


void destroy()

Destroy the context


org.apache.catalina.Context findMappingObject()

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


javax.naming.directory.DirContext findStaticResources()

Return the naming resources associated with this web application