The most-used method for an administrator to detect whether a problem occurred in the system is using thread dumps.
You can monitor and detect if an error occurs on AS Java via the System Overview tool. Then you can switch to the Thread Dump Analysis function to trigger and find out the problem.
More information: System Overview
Open SAP NetWeaver Administrator.
Triggering Thread Dumps
For a Long Running Thread
In the Availability and Performance work center, choose System Overview .
Go to Threads and see if a long running thread is detected.
If yes, from the Long Running context menu, choose Trigger Thread Dump .
The Thread Dump Analysis tool is opened.
Choose Generate Thread Dump .
From the dialog window, select Only Server Processes with Long Running Threads and choose OK .
The archive file appears in the table. It has the Contains Red Threads column selected.
On a Particular Server Process
Choose
.Choose Generate Thread Dump .
Choose Custom , select a server process and then choose OK .
The archive file appears in the table.
On All Server Processes
Choose
.Choose Generate Thread Dump .
Choose All Server Processes and then choose OK .
The operation may take several minutes depending on the number of server processes.
The archive file appears in the table.
Analyzing Thread Dumps
To see and resolve the problem, select the relevant thread dump and choose Download .
Save the ZIP file to your local file system.
Use the Eclipse Memory Analyzer tool to open the ZIP file and to analyze the dump.
More information: Working with the Memory Analyzer
As a solution, you can decide whether to stop the application or to write a customer message.
Removing Thread Dumps
Open the Thread Dump Analysis function.
From the table, select the thread dump you want to delete.
Choose Remove .
Thread dump analysis in SAP NetWeaver Developer Studio: Performing Thread Dump Analysis