To view the output of the message-driven bean, you must start the server in verbose mode:
Create the queue with the j2eeadmin command:
j2eeadmin -addJmsDestination jms/MyQueue queue
Verify that the queue was created:
In deploytool, open the j2eetutorial/examples/ears/SimpleMessageApp.ear file (File→Open).
Deploy the SimpleMessageApp application (Tools→Deploy). In the Introduction dialog box, make sure that you select the Return Client JAR checkbox. For detailed instructions, see Deploying the J2EE Application (page 37).
In a terminal window, ...