Show TOC

Running the ExampleLocate 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 Start of the navigation path Properties Next navigation step Java Build Path Next navigation step Libraries End of the navigation path.

    2. 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 .

    3. In the context menu of the JMS client's project, choose Start of the navigation path Run As Next navigation step Run on Server End of the navigation path.

  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 Start of the navigation path Configuration Next navigation step Infrastructure Next navigation step Log Configuration End of the navigation path.

    3. In the Show dropdown list, select Tracing Locations .

    4. Expand System and change the severity of out to Debug .

    5. Choose Save Configuration . In the Pattern field, you can find in which log exactly the messages appear.