14 WebLogic Server XML Entity Caches

You can specify that WebLogic Server cache external entities that are referenced with a URL or a pathname relative to the main directory of the EAR archive, either at server startup or when the entity is first referenced. You specify this by first creating an XML entity cache and then specifying for the particular entity when it should be cached.

Caching the external entity saves the remote access time and provides a local backup in the event that the Administration Server cannot be accessed while an XML document is being parsed, due to the network or the Administration Server being down.

This chapter describes how to monitor XML entity caches configured in the current domain:

Monitor XML entity caches

To monitor all XML entity caches configured in the current domain:

  1. From the WebLogic Domain dropdown menu, select Other Services, then select XML Entity Caches.

    The XML Entity Caches table displays information about the XML entity caches that have been configured in the current domain, such as:

    • Name

    • Cache Location

    • Cache Memory Size

    • Cache Disk Size

    • Cache Timeout Interval

    For more information about these fields, see Configuration Options.

    Optionally, select View to access the following table options:

    • Columns: add or remove the columns displayed in the table

    • Detach: detach the table (viewing option)

    • Sort: sort the columns in ascending or descending order

    • Reorder: change the order of the columns displayed

    • Query by Example

  2. In the table, select the name of the XML entity cache for which you want to view configuration information.

Monitor an XML entity cache

For each XML entity cache, you can monitor a set of statistics that describes how the cache is being used and its effectiveness.

To monitor a specific XML entity cache:

  1. From the WebLogic Domain dropdown menu, select Other Services, then select XML Entity Caches.

  2. In the XML Entity Caches table, select the name of the XML entity cache you want to monitor.

  3. Select the Current page to view information about the current state of this XML entity cache, such as:

    • Server Name

    • Memory Usage

    • Disk Usage

    • Total Current Entries

    • Total Persistent Current Entries

    • Total Transient Current Entries

    For more information about these fields, see Configuration Options.

    Optionally, select View to access the following table options:

    • Columns: add or remove the columns displayed in the table

    • Detach: detach the table (viewing option)

    • Sort: sort the columns in ascending or descending order

    • Reorder: change the order of the columns displayed

    • Query by Example

  4. To view cumulative or historical information about this XML entity cache, select the appropriate pages:

    • Cumulative: view cumulative (for the current session) information about this XML entity cache for all of the currently running server instances that make use of it.

    • Historical: view historical (since the XML entity cache was created) information about this XML entity cache for all of the currently running server instances that make use of it.