Show TOC

Background documentationRunning the Example Locate this document in the navigation structure

Procedure

  1. Run the sender JMS client. To do that, you have to make the following settings:

    1. In the context menu of the JMS client’s project, choose   Properties   Java Build Path   Libraries  . Choose Add External JARs… To run the JMS client, you need to add the following JARs:

      • sap.com~tc~exception~impl.jar

      • sap.com~tc~je~clientlib~impl.jar

      • sap.com~tc~logging~java~impl.jar

      You can find these JARs in \usr\sap\<sid>\<instanceid>\j2ee\j2eeclient.

      • jms.jar

      You can find this JAR in \usr\sap\<sid>\<instanceid>\j2ee\cluster\bin\ext\jms_api\lib.

    2. In the context menu of the JMS client’s project, choose   Run As   Run  .

  2. Depending on the logic of your MDB application, check if the messages are successfully received. With the current example, you can check this in the logs. To see the received messages in the logs you have to change the severity of System.out to debug:

    1. Open the SAP NetWeaver Administrator.

    2. Choose   Configuration Management   Infrastructure   Log Configuration  .

    3. From the Show list, select Tracing Locations.

    4. Expand System and change the severity of out to Debug. Save the configuration. In the Pattern field you can find in which log exactly the messages appear.