Troubleshoot the dynamic cache service

Complete the steps below to resolve problems that you think are related to the dynamic cache service.

  1. Review the JVM logs for your appserver. Messages prefaced with DYNA result from dynamic cache service operations.

    1. View the JVM logs for your appserver. Each server has its own JVM log file. For example, if your server is named Member_1, the JVM log is located in the subdirectory $WAS_HOME/logs/Member_1. To use the administration console to review the JVM logs, click Troubleshooting > Logs and Trace > server > JVM Logs > Runtime > View.

    2. Find any messages prefaced with DYNA in the JVM logs, and write down the message IDs. A sample message having the message ID DYNA0030E follows...

      DYNA0030E: "property" element is missing required attribute "name".
      

    3. Find the message for each message ID in the WebSphere Application Server InfoCenter. In the InfoCenter navigation tree, click product_name > Reference > Messages > DYNA to view dynamic cache service messages.

    4. Read the message Explanation and User Action statements. A search for the message ID DYNA0030E displays a page having the following message

      DYNA0030E: "property" element is missing required attribute "name".
        Explanation: A required attribute was missing in the cache configuration.
        User Action: Add the required attribute to your cache configuration file.
      

      This explanation and user action suggests that you can fix the problem by adding or correcting a required attribute in the cache configuration file.

    5. Try the solutions stated under User Action in the DYNA messages.

  2. Use the cache monitor to determine whether the dynamic cache service is functioning as expected. The cache monitor is an installable web application (.war) that displays simple cache statistics, cache entries, and cache policy information.

  3. If you have completed the preceding steps and still cannot resolve the problem, contact your IBM software support representative.Use the collector tool (collector.bat or collector.sh located in the bin directory) to gather trace information and other configuration information for the support team to diagnose the problem. The collector tool gathers dynamic cache service files and packages them into a JAR file. The IBM representative can specify when and where to send the JAR file.The IBM representative might ask you to complete a diagnostic trace. To enable tracing in the administrative console, click Troubleshooting > Logs and Trace > server_name > Diagnostic Trace and specify Enable trace with the following specification. The IBM representative can tell you what trace specification to enter. Note that dynamic cache trace files can become large in a short period of time; you can limit the size of the trace file by starting the trace, immediately recreating the problem, and immediately stopping the trace.

    For current information available from IBM Support on known problems and their resolution, see IBM Support page.

    For technical support on dynamic cache service, see IBM Support page.

 

See Also

Using the dynamic cache service to improve performance
Troubleshooting tips for the dynamic cache service