Running the Example
...
1. Run the sender JMS client. To do that you have to make the following settings:
a. 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.
b. 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:
a. Open the NetWeaver Administrator.
b. Choose Configuration Management → Infrastructure → Log Configuration.
c. From the Show list, select Tracing Locations.
d. 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.
So far you have learned how to implement and deploy an MDB application using the SAP JMS Provider.
This completes the tutorial.