Quickly Solve Custom Application Problems Using Java Debugging

  • by Robert Heidasch, Chief Innovation and Technology Lead, Accenture
  • September 9, 2009
SAP NetWeaver provides functionality to detect and analyze potential application and system problems. However, sometimes you need more information than what the standard SAP NetWeaver system provides, such as internal application information. Find out how you can use SAP NetWeaver Application Server Java and SAP NetWeaver Development Studio to delve deeper into the debugging process.
Key Concept

SAP Microsoft Management Console (SAP MMC) is based on Microsoft Management Console and is only available for Microsoft Windows-based systems. You can use this tool to administer any number of SAP NetWeaver Application Server (SAP NetWeaver AS) Java engines running on any operating system such as Windows and Unix. SAP MMC can manage all these JEE engines, thereby providing a single tool for administering your entire SAP NetWeaver AS Java environment.

As a developer, application expert, or system administrator of business applications, you may need to analyze the application execution and check its internal state to guarantee its proper functionality. This is especially important during the development and test phases of your custom business applications. However, the reality is that even well-designed, well-managed applications, such as Java-based applications, may experience some type of problem sooner or later. You are the first line of defense and often the first person to become aware of the situation.

From a high-level perspective, you use the SAP monitoring functionality to get an overview of the application’s state. If you determine that problems exist, you use the SAP logging and tracing functionality to check the existing logs and traces for more information. Regardless of the reason, your immediate task is to identify the source of the problem as quickly and efficiently as possible so you can fix it.

However, many problems can only be identified through debugging. In this situation, you need to connect with your SAP NetWeaver Development Studio to run SAP NetWeaver Application Server (SAP NetWeaver AS) Java. You can configure the SAP JEE engine as a single-instance JEE engine or as a more complex JEE engine, which is a JEE cluster consisting of many JEE instances installed on different physical servers.

The JEE cluster may consist of many physical servers that run JEE instances. Each JEE instance may consist of many JEE server nodes. You use the SAP Web Dispatcher to send user requests to a particular JEE server node. In my example of activating the debugging functionality, the JEE server node requires a special handling notation in the user request to access the particular JEE server node. The SAP dispatcher has to dispatch the request to the JEE server node on which the debugging is active.

Robert Heidasch

Robert is the chief innovation and technology lead in the global Accenture Technology Platform, which is responsible for SAP Leonardo and the new digital technology defining business value and driving the digital transformation of complex enterprise solution for Accenture diamond and strategic clients. Before that he was responsible as innovation and solution lead for the design and architecture of new business applications developed jointly by Accenture and SAP based on the newest SAP and non-SAP technology. Robert is the Accenture certified Senior Digital Architect and Senior Technology Architect. He is coauthor and trainer of a couple of SAP technology-related trainings for the in-memory platform and architecture of new business applications (e.g., SAP HANA, SAP Cloud Platform, and SAP Leonardo applications for solution architects and technical architects, all of which were provided by Accenture in Europe, the US, and Asia). Robert has more than 23 years’ experience designing and developing IT systems. He published several technical and business articles about SOA, SAP NetWeaver and its integration with non-SAP systems (e.g. Microsoft, Oracle, etc.), and SAP HANA technology. He is also an inventor of 38 patents in the US in the area of in-memory technology, artificial intelligence and machine learning, security, semantics, and SOA. He is a frequent speaker in international business conferences and SAP Forum. He is a subject matter expert in customer projects worldwide and has extended experience in team leadership in Europe, the US, and India.

See more by this author


No comments have been submitted on this article. 

Please log in to post a comment.

To learn more about subscription access to premium content, click here.