WebAppComponentRuntimeMBean


Overview  |   Related MBeans  |   Attributes  |   Operations

Overview

Describes a servlet component (servlet context).

       
Security rolesThe following roles have read, write, and invoke permission for all non-encrypted attributes and operations in this MBean:
  • Operator
Fully Qualified Interface NameIf you use the getMBeanInfo operation in MBeanTypeServiceMBean, supply the following value as this MBean's fully qualified interface name:
weblogic.management.runtime.WebAppComponentRuntimeMBean
Factory Methods No factory methods. Instances of this MBean are created automatically.
Access Points Inherited from ComponentRuntimeMBean Because this MBean extends or implements ComponentRuntimeMBean, you can also access this MBean by retrieving ComponentRuntimeMBeans. The following attributes contain ComponentRuntimeMBeans and its subtypes:
    Access Points Inherited from RuntimeMBean Because this MBean extends or implements RuntimeMBean, you can also access this MBean by retrieving RuntimeMBeans. The following attributes contain RuntimeMBeans and its subtypes:


    Related MBeans

    This section describes attributes that provide access to other MBeans.


    CoherenceClusterRuntime

    Returns the Coherence Cluster related runtime MBean for this component.

           
    Factory Methods No explicit creator method. The child shares the lifecycle of its parent.
    Privileges Read only
    TypeCoherenceClusterRuntimeMBean
    Relationship type: Containment.

    EJBRuntimes

    Provides an array of EJBRuntimeMBean objects for this module. The EJBRuntimeMBean instances can be cast to their appropriate subclass (EntityEJBRuntimeMBean, StatelessEJBRuntimeMBean, StatefulEJBRuntimeMBean or MessageDrivenEJBRuntimeMBean) to access additional runtime information for the particular EJB.

           
    Factory Methods No explicit creator method. The child shares the lifecycle of its parent.
    Privileges Read only
    TypeEJBRuntimeMBean[]
    Relationship type: Containment.

    JaxRsApplications

    Provides an array of JaxRsApplicationMBeans associated with this module.

               
    Factory Methods No explicit creator method. The child shares the lifecycle of its parent.
    Lookup OperationlookupJaxRsApplication(String name)

    Returns a javax.management.ObjectName for the instance of JaxRsApplicationRuntimeMBean named name.

    Privileges Read only
    TypeJaxRsApplicationRuntimeMBean[]
    Relationship type: Containment.

    KodoPersistenceUnitRuntimes

    Provides an array of KodoPersistenceUnitRuntimeMBean objects for this web application module.

    Deprecated. As of 11.1.2.0, use getPersistenceUnitRuntimes instead

           
    Factory Methods No explicit creator method. The child shares the lifecycle of its parent.
    Privileges Read only
    TypeKodoPersistenceUnitRuntimeMBean[]
    Relationship type: Containment.

    LibraryRuntimes

    Returns the list of library runtime instances for each Java EE library that is contained in this enterprise application.

           
    Factory Methods No explicit creator method. The child shares the lifecycle of its parent.
    Privileges Read only
    TypeLibraryRuntimeMBean[]
    Relationship type: Containment.

    LogRuntime

    Returns the log runtime associated with the Java EE web application log.

           
    Factory Methods No explicit creator method. The child shares the lifecycle of its parent.
    Privileges Read only
    TypeLogRuntimeMBean
    Relationship type: Containment.

    ManagedExecutorServiceRuntimes

    Get the runtime mbeans for all ManagedExecutorServices defined in this component

           
    Factory Methods No explicit creator method. The child shares the lifecycle of its parent.
    Privileges Read only
    TypeManagedExecutorServiceRuntimeMBean[]
    Relationship type: Containment.

    ManagedScheduledExecutorServiceRuntimes

    Get the runtime mbeans for all ManagedScheduledExecutorServices defined in this component

           
    Factory Methods No explicit creator method. The child shares the lifecycle of its parent.
    Privileges Read only
    TypeManagedScheduledExecutorServiceRuntimeMBean[]
    Relationship type: Containment.

    ManagedThreadFactoryRuntimes

    Get the runtime mbeans for all ManagedThreadFactorys defined in this component

           
    Factory Methods No explicit creator method. The child shares the lifecycle of its parent.
    Privileges Read only
    TypeManagedThreadFactoryRuntimeMBean[]
    Relationship type: Containment.

    PageFlows

    Provides a hook for getting Beehive runtime metrics for the current module.

           
    Factory Methods No explicit creator method. The child shares the lifecycle of its parent.
    Privileges Read only
    TypePageFlowsRuntimeMBean
    Relationship type: Containment.

    PersistenceUnitRuntimes

    Provides an array of PersistenceUnitRuntimeMBean objects for this web application module.

           
    Factory Methods No explicit creator method. The child shares the lifecycle of its parent.
    Privileges Read only
    TypePersistenceUnitRuntimeMBean[]
    Relationship type: Containment.

    Servlets

    Provides an array of ServletRuntimeMBeans associated with this module.

    Returns an array of ServletRuntimeMBeans associated with this component.

           
    Factory Methods No explicit creator method. The child shares the lifecycle of its parent.
    Privileges Read only
    TypeServletRuntimeMBean[]
    Relationship type: Containment.

    ServletSessions

    Provides an array of ServletSessionRuntimeMBeans associated with this component. This operation should only be done by explicit poll request (no real-time monitoring). This method will return a non-empty array only when session-monitoring has been turned on in weblogic.xml.

    Deprecated. as of WebLogic 9.0, use getServletSessionsMonitoringTags()

    For more information, see:

           
    Factory Methods No explicit creator method. The child shares the lifecycle of its parent.
    Privileges Read only
    TypeServletSessionRuntimeMBean[]
    Relationship type: Containment.

    SpringRuntimeMBean

           
    Factory Methods No explicit creator method. The child shares the lifecycle of its parent.
    Privileges Read only
    TypeSpringRuntimeMBean
    Relationship type: Containment.

    WebPubSubRuntime

    Get HTTP pub-sub server runtime of this web application.

           
    Factory Methods No explicit creator method. The child shares the lifecycle of its parent.
    Privileges Read only
    TypeWebPubSubRuntimeMBean
    Relationship type: Containment.

    WebsocketApplicationRuntimeMBean

    Provides a WebsocketApplicationRuntimeMBean associated with this module.

           
    Factory Methods No explicit creator method. The child shares the lifecycle of its parent.
    Privileges Read only
    TypeWebsocketApplicationRuntimeMBean
    Relationship type: Containment.

    WorkManagerRuntimes

    Get the runtime mbeans for all work managers defined in this component

           
    Factory Methods No explicit creator method. The child shares the lifecycle of its parent.
    Privileges Read only
    TypeWorkManagerRuntimeMBean[]
    Relationship type: Containment.

    WseeClientConfigurationRuntimes

    Returns the list of Web Service client reference configuration runtime instances that are contained in this web application within an enterprise application.

               
    Factory Methods No explicit creator method. The child shares the lifecycle of its parent.
    Lookup OperationlookupWseeClientConfigurationRuntime(String name)

    Returns a javax.management.ObjectName for the instance of WseeClientConfigurationRuntimeMBean named name.

    Privileges Read only
    TypeWseeClientConfigurationRuntimeMBean[]
    Relationship type: Containment.

    WseeClientRuntimes

    Returns the list of Web Service client runtime instances that are contained in this Enterprise JavaBean component.

               
    Factory Methods No explicit creator method. The child shares the lifecycle of its parent.
    Lookup OperationlookupWseeClientRuntime(String name)

    Returns a javax.management.ObjectName for the instance of WseeClientRuntimeMBean named name.

    Privileges Read only
    TypeWseeClientRuntimeMBean[]
    Relationship type: Containment.

    WseeV2Runtimes

    Returns the list of Web Service runtime instances that are contained in this web application within an enterprise application.

               
    Factory Methods No explicit creator method. The child shares the lifecycle of its parent.
    Lookup OperationlookupWseeV2Runtime(String name)

    Returns a javax.management.ObjectName for the instance of WseeV2RuntimeMBean named name.

    Privileges Read only
    TypeWseeV2RuntimeMBean[]
    Relationship type: Containment.


    Attributes

    This section describes the following attributes:


    ApplicationIdentifier

    Provides the identifier of the application that contains the web module.

           
    Privileges Read only
    Typejava.lang.String

    CachingDisabled

    Private property that disables caching in proxies.

           
    Privileges Read only
    Typeboolean

    ComponentName

    Provides the name of this component.

           
    Privileges Read only
    Typejava.lang.String

    ConfiguredContextRoot

    Returns the context root (context path) configured in weblogic-application.xml or web.xml file, or determined by name of the war file.

    For web application deployed in partition scope, this configured context root does not include uriPrefix of the virtual target. The ContextRoot() method returns value which includes the uriPrefix of the virtual target.

    For web application deployed in domain scope, this method returns same value as ContextRoot() method.

           
    Available Since Release 12.2.1.0.0
    Privileges Read only
    Typejava.lang.String

    ContextRoot

    Returns the context root (context path) for the web application.

           
    Privileges Read only
    Typejava.lang.String

    DeploymentState

    The current deployment state of the module.

    A module can be in one and only one of the following states. State can be changed via deployment or administrator console.

    For more information, see:

           
    Privileges Read only
    Typeint

    FilterDispatchedRequestsEnabled

    Indicates whether the dispatched requests are filtered as configured in weblogic.xml.

           
    Privileges Read only
    Typeboolean

    IndexDirectoryEnabled

    Provides the directory indexing indicator as it is configured in weblogic.xml.

           
    Privileges Read only
    Typeboolean

    JSPCompileCommand

    Provides the JSP's compileCommand value as it is configured in weblogic.xml.

           
    Privileges Read only
    Typejava.lang.String

    JSPDebug

    Provides the JSP's debug/linenumbers parameter value as it is configured in weblogic.xml.

           
    Privileges Read only
    Typeboolean

    JSPKeepGenerated

    Provides the JSP's KeepGenerated parameter value as it is configured in weblogic.xml.

           
    Privileges Read only
    Typeboolean

    JSPPageCheckSecs

    Provides the JSP's PageCheckSecs value as it is configured in weblogic.xml.

           
    Privileges Read only
    Typelong

    JSPVerbose

    Provides the JSP's verbose parameter value as it is configured in weblogic.xml.

           
    Privileges Read only
    Typeboolean

    LogFilename

    Returns the log filename as configured in the "logging/log-filename" element in weblogic.xml.

           
    Privileges Read only
    Typejava.lang.String

    MBeanInfo

    Returns the MBean info for this MBean.

    Deprecated.

           
    Privileges Read only
    Typejavax.management.MBeanInfo

    ModuleId

    Returns the identifier for this Component. The identifier is unique within the application.

    Typical modules will use the URI for their id. Web Modules will return their context-root since the web-uri may not be unique within an EAR.

           
    Privileges Read only
    Typejava.lang.String

    ModuleURI

    Returns the web URI as configured in application.xml for the web application. For a standalone WAR, it will return the docroot (if exploded) or the name of the WAR file (if archived).

           
    Privileges Read only
    Typejava.lang.String

    Name

    Provides the name of this MBean.

           
    Privileges Read only
    Typejava.lang.String

    ObjectName

    Returns the ObjectName under which this MBean is registered in the MBean server.

    Deprecated.

           
    Privileges Read only
    Typeweblogic.management.WebLogicObjectName

    OpenSessionsCurrentCount

    Provides a count of the current total number of open sessions in this module.

    Returns the current total number of open sessions in this component.

           
    Privileges Read only
    Typeint

    OpenSessionsHighCount

    Provides the high water mark of the total number of open sessions in this server. The count starts at zero each time the server is activated. Note that this is an optimization method for a highly useful statistic that could be implemented less efficiently using change notification.

           
    Privileges Read only
    Typeint

    Parent

    Return the immediate parent for this MBean

           
    Privileges Read/Write
    Type

    Registered

    Returns false if the MBean represented by this object has been unregistered.

    Deprecated.

           
    Privileges Read only
    Typeboolean

    ServletReloadCheckSecs

    Provides the servlet reload check seconds as it is configured in weblogic.xml.

           
    Privileges Read only
    Typeint

    ServletSessionsMonitoringIds

    This method returns an array of monitoring IDs for HTTP sessions. By default, the monitoring ID for a given HTTP session is a random string (not the same as session ID for security reasons). If the value of the element monitoring-attribute-name in session-descriptor of weblogic.xml is set, the monitoring ID will be the toString() of the attribute value in the session, using monitoring-attribute-name as the key.

           
    Privileges Read only
    Typeclass java.lang.String[]

    SessionCookieComment

    By default, all applications on WebLogic Server specify "WebLogic Session Tracking Cookie" as the cookie comment. To provide a more specific comment, edit your application's weblogic.xml deployment descriptor.

           
    Privileges Read only
    Typejava.lang.String

    SessionCookieDomain

    By default, clients can return cookies only to the server that issued the cookie. You can change this default behavior by editing your application's weblogic.xml deployment descriptor.

    For more information, see the servlet specification.

           
    Privileges Read only
    Typejava.lang.String

    SessionCookieMaxAgeSecs

    Provides the life span of the session cookie, in seconds, after which it expires on the client. If the value is 0, the cookie expires immediately. If set to -1, the cookie expires when the user exits the browser.

           
    Privileges Read only
    Typeint

    SessionCookieName

    By default, all applications on WebLogic Server specify "JSESSIONID" as the cookie name. To provide a more specific name, edit your application's weblogic.xml deployment descriptor.

           
    Privileges Read only
    Typejava.lang.String

    SessionCookiePath

    Provides the path name to which clients send cookies.

           
    Privileges Read only
    Typejava.lang.String

    SessionIDLength

    Provides the session ID length configured for HTTP sessions.

           
    Privileges Read only
    Typeint

    SessionInvalidationIntervalSecs

    Provides the invalidation check timer interval configured for HTTP sessions.

           
    Privileges Read only
    Typeint

    SessionMonitoringEnabled

    Provides the session monitoring indicator as it is configured in weblogic.xml.

           
    Privileges Read only
    Typeboolean

    SessionsOpenedTotalCount

    Provides a count of the total number of sessions opened.

           
    Privileges Read only
    Typeint

    SessionTimeoutSecs

    Provides the timeout configured for HTTP sessions.

           
    Privileges Read only
    Typeint

    SingleThreadedServletPoolSize

    Provides the single threaded servlet pool size as it is configured in weblogic.xml.

           
    Privileges Read only
    Typeint

    SourceInfo

    Provides an informative string about the module's source.

    Returns an informative string about the component's source.

           
    Privileges Read only
    Typejava.lang.String

    Status

    Provides the status of the component.

           
    Privileges Read only
    Typejava.lang.String

    Type

    Returns the type of the MBean.

           
    Privileges Read only
    Typejava.lang.String


    Operations

    This section describes the following operations:


    deleteInvalidSessions

    Invalidates expired sessions. This is useful for cleanup if the session invalidation trigger is too large.

       
    Operation Name"deleteInvalidSessions"
    Parametersnull
    Signaturenull
    Returns void

    getEJBRuntime

    Provides the EJBRuntimeMBean for the EJB with the specified name.

       
    Operation Name"getEJBRuntime"
    ParametersObject [] {  ejbName }

    where:

    • ejbName is an object of type java.lang.String that specifies:

      ejbName

    SignatureString [] { "java.lang.String" }
    ReturnsEJBRuntimeMBean

    getKodoPersistenceUnitRuntime

    Provides the KodoPersistenceUnitRuntimeMBean for the web application with the specified name.

    Deprecated. As of 11.1.2.0, use getPersistenceUnitRuntime instead

       
    Operation Name"getKodoPersistenceUnitRuntime"
    ParametersObject [] {  unitName }

    where:

    • unitName is an object of type java.lang.String that specifies:

      unitName

    SignatureString [] { "java.lang.String" }
    ReturnsKodoPersistenceUnitRuntimeMBean

    getMonitoringId

    Returns the monitoring ID for a session for a given session ID.

       
    Operation Name"getMonitoringId"
    ParametersObject [] {  sessionId }

    where:

    • sessionId is an object of type java.lang.String that specifies:

      sessionId

    SignatureString [] { "java.lang.String" }
    ReturnsString

    getPersistenceUnitRuntime

    Provides the PersistenceUnitRuntimeMBean for the web application with the specified name.

       
    Operation Name"getPersistenceUnitRuntime"
    ParametersObject [] {  unitName }

    where:

    • unitName is an object of type java.lang.String that specifies:

      unitName

    SignatureString [] { "java.lang.String" }
    ReturnsPersistenceUnitRuntimeMBean

    getServletSession

    Provides the servlet session by its session ID.

    Deprecated. as of WebLogic 9.0

       
    Operation Name"getServletSession"
    ParametersObject [] {  sessionID }

    where:

    • sessionID is an object of type java.lang.String that specifies:

      sessionID

    SignatureString [] { "java.lang.String" }
    ReturnsServletSessionRuntimeMBean

    getSessionLastAccessedTime

    Provides a record of the last time this session was accessed. You need to pass the string returned by getServletSessionsMonitoringIds().

    For more information, see:

       
    Operation Name"getSessionLastAccessedTime"
    ParametersObject [] {  monitoringId }

    where:

    • monitoringId is an object of type java.lang.String that specifies:

      monitoringId

    SignatureString [] { "java.lang.String" }
    Returns long
    Exceptions
    • java.lang.IllegalStateException
      IllegalStateException if sessions has been invalidated already

    getSessionMaxInactiveInterval

    Returns the timeout (seconds) for the session corresponding to the given monitoring ID.

    For more information, see:

       
    Operation Name"getSessionMaxInactiveInterval"
    ParametersObject [] {  monitoringId }

    where:

    • monitoringId is an object of type java.lang.String that specifies:

      monitoringId

    SignatureString [] { "java.lang.String" }
    Returns long
    Exceptions
    • java.lang.IllegalStateException
      IllegalStateException if sessions have been invalidated already

    invalidateServletSession

    Invalidates this session for a given monitoring ID.

    For more information, see:

       
    Operation Name"invalidateServletSession"
    ParametersObject [] {  monitoringId }

    where:

    • monitoringId is an object of type java.lang.String that specifies:

      monitoringId

    SignatureString [] { "java.lang.String" }
    Returns void
    Exceptions
    • java.lang.IllegalStateException
      IllegalStateException if sessions has been invalidated already

    lookupWseeClientRuntime

    Returns a named Web Service client runtime instance that is contained in this Enterprise JavaBean component.

       
    Operation Name"lookupWseeClientRuntime"
    ParametersObject [] {  rawClientId }

    where:

    • rawClientId is an object of type java.lang.String that specifies:

      The raw client ID of the client to lookup. This ID does not contain the application/component qualifiers that are prepended to the full client ID for the client.

    SignatureString [] { "java.lang.String" }
    ReturnsWseeClientRuntimeMBean