Welcome!

IBM Cloud Authors: Pat Romanski, Elizabeth White, Liz McMillan, Yeshim Deniz, Stefan Bernbo

Related Topics: IBM Cloud

IBM Cloud: Article

WebSphere Application Server Java Dumps

Description and problem determination

Example 2 – You can see the Compiled Code and Inlined Compiled Code references where the line number in a typical stack trace is observed. Threads have states, as shown in Example 1. Most threads will indicate either an R or a CW state. The following is a list of states and a brief description of each:
  • R – A Runnable Thread that can run or is running. On platforms such as AIX and Linux, you can see which thread is actually running via the XHPI - Current Thread Details.
  • CW – A Conditional Wait Thread is waiting on a condition variable, typically a certain condition to occur. For example, a thread may be waiting for a resource to become available.
  • MW – A Monitor Wait Thread is waiting on a monitor lock.
  • S – A Suspended Thread is suspended.

Looking into Monitors – LK Dump Routine
The following table shows how the LK Dump routine is broken down into five subsections:

  • Monitor Pool Info provides basic monitor information, such as, the current total number of monitors, and so on.
  • Monitor Pool Dump lists the monitors that exist in the JVM at the time of the Java dump along with the threads waiting for that particular monitor and the owner of each monitor. Monitors can be owned or not owned as indicated in the file. You can use this section to identify any problems, such as, too many threads waiting on a monitor.
  • JVM System Monitor Dump is similar to the monitor pool dump except that instead of listing any monitor, it lists all of the system monitors on the JVM for which the Java dump was captured.
  • Java Object Monitor Dump is the same as the monitor pool dump except that additional JVM internal information is provided.
  • Thread Identifiers provide an association between the XM dump routine and the monitor pool dump. You can use this section as a pointer to the location of the problem identified in the monitor pool dump.

Looking into Classloaders – CL Dump Routine
The CL dump routine shows the list of class loaders and their corresponding classes. The respective address for each class and class loader is also shown in this section of the Java dump. The type for each class loader is shown to the left of the name of the class loader indicating if the class loader is primordial, extension, shareable, middleware, system, or trusted.

WebSphere Application Server Java Dumps
There are several types of threads that appear when you generate a Java dump in a WebSphere Application Server. The following list contains the types of threads that reside in most WebSphere Application Server Java dumps:
  • Server Socket threads – Server Socket threads listen for the incoming request in the Web container component of WebSphere Application Server. When the threads get a request they delegate the work to the Servlet Engine Transport thread. For example, the Server Socket thread listens to incoming Web requests (port 9080, by default) and delegates the request to the Servlet Engine Transport threads. When there’s a backlog of connections, the Server Socket threads operate like the Apache Web server, which means that there’ll be a maximum of 511 backlog connections supported. When there are more than 511 clients in addition to the Servlet Engine Transport thread maximum, the next client will be refused service.
3XMTHREADINFO “ServerSocket[addr=0.0.0.0/
  0.0.0.0,port=0,localport=9085]” (TID:0x10628F00,
sys_thread_t:0x4D87A80, state:R, native ID:0x9C4) 
  prio=5
4XESTACKTRACE at java.net.PlainSocketImpl.
  socketAccept(Native Method)
4XESTACKTRACE at java.net.PlainSocketImpl.
  accept(PlainSocketImpl.java(Compiled Code))
4XESTACKTRACE at java.net.ServerSocket.
  implAccept(ServerSocket.java(Compiled Code))
4XESTACKTRACE at java.net.ServerSocket.
  accept(ServerSocket.java(Compiled Code))
4XESTACKTRACE at com.ibm.ws.http.HttpTransport.
  run(HttpTransport.java:235)
4XESTACKTRACE at java.lang.Thread.run(Thread.java:568)
Example 3 – This example shows the Server Socket thread listening to port 9085 on an IBM V1.4.1 JVM and accepting a connection.
  • Servlet Engine Transport threads – WebSphere Application Server maintains the Servlet Engine Transport threads in a thread pool. These threads execute the service methods of the servlets. Depending on the settings for the thread pool and the number of new incoming requests, you can create transport threads or use ones from the thread pool. The number of transport threads occupied by requests coincides with the number of unique clients connected to the Web container. If you enable the KeepAlive parameter, the connection persists as long as you specify through this parameter and the Servlet Engine Transport thread will be reserved for a particular user during this time. In other words, a blocking Input/Output (I/O) operation is performed in the Servlet Engine Transport thread.
3XMTHREADINFO “Servlet.Engine.Transports : 0” 
  (TID:0x10631CC8, sys_thread_t:0x4E397A8, state:R,
native ID:0xEF4) prio=5
4XESTACKTRACE at java.net.SocketInputStream.
  socketRead0(Native Method)
4XESTACKTRACE at java.net.SocketInputStream.
  read(SocketInputStream.java(Compiled Code))
4XESTACKTRACE at com.ibm.ws.io.Stream.read(Stream.
  java:17)
4XESTACKTRACE at com.ibm.ws.io.ReadStream.
  readBuffer(ReadStream.java(Compiled Code))
4XESTACKTRACE at com.ibm.ws.io.ReadStream.
  read(ReadStream.java(Compiled Code))
4XESTACKTRACE at com.ibm.ws.http.HttpRequest.
  readRequestLine(HttpRequest.java(Compiled Code))
4XESTACKTRACE at com.ibm.ws.http.HttpRequest.
  readRequest(HttpRequest.java:302)
4XESTACKTRACE at com.ibm.ws.http.HttpConnection.
  readAndHandleRequest(HttpConnection.java:596)
4XESTACKTRACE at com.ibm.ws.http.HttpConnection.
  run(HttpConnection.java:443)
4XESTACKTRACE at com.ibm.ws.util.ThreadPool$Worker.
  run(ThreadPool.java(Compiled Code))

More Stories By Dipak Patel

Dipak M. Patel is a Senior IT specialist for IBM Software Services Performance Technology group. He has been focused on solving complex performance related problems involving WebSphere Application Server and Business Integration solutions. Dipak has a bachelors degree in Electrical Engineering and a masters degree in Computer Science from the University of Akron.

More Stories By Michel Betancourt

Michel Betancourt has been focused on WebSphere Application Server problem determination while part of IBM’s World Wide WebSphere Solutions War Room team. He was graduated from Florida International University in 2001 with a bachelor’s in computer engineering.

More Stories By Lorrie Barber

Lorrie M. Barber has been in WebSphere Application Server information development since 2001 focusing on system administration. She has a BS in computer information systems from the University of North Carolina at Wilmington and an MS in technical communication from North Carolina State University.

Comments (2)

Share your thoughts on this story.

Add your comment
You must be signed in to add a comment. Sign-in | Register

In accordance with our Comment Policy, we encourage comments that are on topic, relevant and to-the-point. We will remove comments that include profanity, personal attacks, racial slurs, threats of violence, or other inappropriate material that violates our Terms and Conditions, and will block users who make repeated violations. We ask all readers to expect diversity of opinion and to treat one another with dignity and respect.


IoT & Smart Cities Stories
Dion Hinchcliffe is an internationally recognized digital expert, bestselling book author, frequent keynote speaker, analyst, futurist, and transformation expert based in Washington, DC. He is currently Chief Strategy Officer at the industry-leading digital strategy and online community solutions firm, 7Summits.
Digital Transformation is much more than a buzzword. The radical shift to digital mechanisms for almost every process is evident across all industries and verticals. This is often especially true in financial services, where the legacy environment is many times unable to keep up with the rapidly shifting demands of the consumer. The constant pressure to provide complete, omnichannel delivery of customer-facing solutions to meet both regulatory and customer demands is putting enormous pressure on...
IoT is rapidly becoming mainstream as more and more investments are made into the platforms and technology. As this movement continues to expand and gain momentum it creates a massive wall of noise that can be difficult to sift through. Unfortunately, this inevitably makes IoT less approachable for people to get started with and can hamper efforts to integrate this key technology into your own portfolio. There are so many connected products already in place today with many hundreds more on the h...
The standardization of container runtimes and images has sparked the creation of an almost overwhelming number of new open source projects that build on and otherwise work with these specifications. Of course, there's Kubernetes, which orchestrates and manages collections of containers. It was one of the first and best-known examples of projects that make containers truly useful for production use. However, more recently, the container ecosystem has truly exploded. A service mesh like Istio addr...
Digital Transformation: Preparing Cloud & IoT Security for the Age of Artificial Intelligence. As automation and artificial intelligence (AI) power solution development and delivery, many businesses need to build backend cloud capabilities. Well-poised organizations, marketing smart devices with AI and BlockChain capabilities prepare to refine compliance and regulatory capabilities in 2018. Volumes of health, financial, technical and privacy data, along with tightening compliance requirements by...
Charles Araujo is an industry analyst, internationally recognized authority on the Digital Enterprise and author of The Quantum Age of IT: Why Everything You Know About IT is About to Change. As Principal Analyst with Intellyx, he writes, speaks and advises organizations on how to navigate through this time of disruption. He is also the founder of The Institute for Digital Transformation and a sought after keynote speaker. He has been a regular contributor to both InformationWeek and CIO Insight...
Andrew Keys is Co-Founder of ConsenSys Enterprise. He comes to ConsenSys Enterprise with capital markets, technology and entrepreneurial experience. Previously, he worked for UBS investment bank in equities analysis. Later, he was responsible for the creation and distribution of life settlement products to hedge funds and investment banks. After, he co-founded a revenue cycle management company where he learned about Bitcoin and eventually Ethereal. Andrew's role at ConsenSys Enterprise is a mul...
To Really Work for Enterprises, MultiCloud Adoption Requires Far Better and Inclusive Cloud Monitoring and Cost Management … But How? Overwhelmingly, even as enterprises have adopted cloud computing and are expanding to multi-cloud computing, IT leaders remain concerned about how to monitor, manage and control costs across hybrid and multi-cloud deployments. It’s clear that traditional IT monitoring and management approaches, designed after all for on-premises data centers, are falling short in ...
In his general session at 19th Cloud Expo, Manish Dixit, VP of Product and Engineering at Dice, discussed how Dice leverages data insights and tools to help both tech professionals and recruiters better understand how skills relate to each other and which skills are in high demand using interactive visualizations and salary indicator tools to maximize earning potential. Manish Dixit is VP of Product and Engineering at Dice. As the leader of the Product, Engineering and Data Sciences team at D...
Dynatrace is an application performance management software company with products for the information technology departments and digital business owners of medium and large businesses. Building the Future of Monitoring with Artificial Intelligence. Today we can collect lots and lots of performance data. We build beautiful dashboards and even have fancy query languages to access and transform the data. Still performance data is a secret language only a couple of people understand. The more busine...