To run the Java EE 5 Tutorial on the Sun Java System Application Server 9.1 perform these tasks:
When you edit the file examples/common/build.properties as described in the “About the Examples” section of the “About this Tutorial” chapter, also change port 4848 to 4849.
The default admin port in Application Server 9.1 is again 4848. See Default ports changing in each AS major release (6566481) for more information.
When using Deploytool, add the server localhost:4849 before deploying an example.
When using the Administration Console to create any resource, use the Targets tab to specify the server as the target. If you use the command line or an asant target, the server is the default target, no further action is required.
In Chapter 32, Java EE Examples Using the JMS API, in The Java EE 5 Tutorial, An Application Example That Consumes Messages from a Remote Server in The Java EE 5 Tutorial," this example no longer works. The MDB fails to receive the message. The other two examples that send messages between two systems still work correctly (Running JMS Client Programs on Multiple Systems in The Java EE 5 Tutorial and An Application Example That Deploys a Message-Driven Bean on Two Servers in The Java EE 5 Tutorial.
Will be fixed in a later Application Server build.