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
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
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?
debug int RW The debugging detail level for this component
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 The standard web descriptor for the html adaptor HtmlAdaptor org.jboss.jmx.adaptor.html.HtmlAdaptorServlet ClusteredConsoleServlet org.jboss.jmx.adaptor.html.ClusteredConsoleServlet jgProps UDP(ip_mcast=true;ip_ttl=16;loopback=false;mcast_addr=;mcast_port=45566):org.jboss.jmx.adaptor.control.FindView The JGroups protocol stack config DisplayMBeans /displayMBeans.jsp InspectMBean /inspectMBean.jsp DisplayOpResult /displayOpResult.jsp ClusterView /cluster/clusterView.jsp HtmlAdaptor /HtmlAdaptor ClusteredConsoleServlet /cluster/ClusteredConsole DisplayMBeans /DisplayMBeans InspectMBean /InspectMBean DisplayOpResult /DisplayOpResult BASIC JBoss JMX Console JBossAdmin " > 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
environments [Ljava.lang.String; R MBean Names of the set of defined environment entries for this web application
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.catalina.Logger RW Associated logger.
managedResource java.lang.Object RW The managed resource this MBean is associated with
manager org.apache.catalina.Manager RW Associated manager.
managerChecksFrequency int RW The frequency of the manager checks (expiration and passivation)
mappingObject java.lang.Object RW The object used for mapping
objectName java.lang.String RW Name of the object
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
resourceNames [Ljava.lang.String; R MBean Names of all the defined resource references for this 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:J2EEApplication=none,J2EEServer=none,WebModule=//localhost/jmx-console,j2eeType=Servlet,name=ClusterView,jboss.web:J2EEApplication=none,J2EEServer=none,WebModule=//localhost/jmx-console,j2eeType=Servlet,name=DisplayOpResult,jboss.web:J2EEApplication=none,J2EEServer=none,WebModule=//localhost/jmx-console,j2eeType=Servlet,name=HtmlAdaptor,jboss.web:J2EEApplication=none,J2EEServer=none,WebModule=//localhost/jmx-console,j2eeType=Servlet,name=jsp,jboss.web:J2EEApplication=none,J2EEServer=none,WebModule=//localhost/jmx-console,j2eeType=Servlet,name=InspectMBean,jboss.web:J2EEApplication=none,J2EEServer=none,WebModule=//localhost/jmx-console,j2eeType=Servlet,name=default,jboss.web:J2EEApplication=none,J2EEServer=none,WebModule=//localhost/jmx-console,j2eeType=Servlet,name=DisplayMBeans,jboss.web:J2EEApplication=none,J2EEServer=none,WebModule=//localhost/jmx-console,j2eeType=Servlet,name=ClusteredConsoleServlet JSR77 list of servlets
startupTime long RW Startup time for 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@b9376f 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
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
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 addEnvironment()

Add an environment entry for this web application

Param ParamType ParamValue ParamDescription
envName java.lang.String New environment entry name

void addResource()

Add a resource reference for this web application

Param ParamType ParamValue ParamDescription
resourceName java.lang.String New resource reference name

void addValve()

Add a valve to this Context

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

void removeEnvironment()

Remove any environment entry with the specified name

Param ParamType ParamValue ParamDescription
envName java.lang.String Name of the environment entry to remove

void removeResource()

Remove any resource reference with the specified name

Param ParamType ParamValue ParamDescription
resourceName java.lang.String Name of the resource reference to remove

void removeValve()

Remove a valve from this Context

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

void reload()

Reload the webapplication

void init()

Register the context into the running server

void start()

Start the contex

void stop()

Stop the contex

void destroy()

Destroy the contex

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