Quickly Solve Custom Application Problems Using Java Debugging

  • by Robert Heidasch, Senior Manager/Senior Principal, 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 Heidasch is senior manager/senior principal in the Accenture & SAP Business Solution Group, which designs and develops new business solutions and applications provided jointly by Accenture and SAP based on the newest SAP technology. He is co-author and trainer of a couple of SAP technology-related areas (e.g., SAP HANA solution architect, SAP HANA technical architect, Business Suite on SAP HANA, and SAP HANA as a development platform delivered in Europe, US, and Asia). Robert has more than 21 years’ experience designing and developing IT systems. He has published several technical and business articles about SOA, SAP NetWeaver and its integration with non-SAP systems (e.g., Microsoft and Oracle), and SAP HANA technology. Robert is also an inventor of 18 patents granted in the US--for example, Ranking in Cascading Learning Systems, Learnable Contextual Network, Machine Learning for a Memory-Based Database, Modular Secure Data Transfer, Managing Software Component Versions within a Service Oriented Architecture, Machine Learning for a Memory-based Database, Adaptive and Secure Modular Connection, and Asynchrony Debugging Using Web Services Interface.

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.