Java™ Pet Store Demo 1.4 > Installing the Demo |
A directory called samples/blueprints/petstore1.4 will
be created. The rest of this documentation will refer to this directory
as <petstore.home>
Run the asant using build.xml file to install and configure message services, database resources, and deploy the applications.
NOTE: If you've installed Application Server using a different HTTP Server port than default 8080 port, you must click here to see what changes need to occur before proceeding.
Open a shell prompt and enter these commands:
cd <petstore.home>/src
asant
asant deploy
NOTE: Before redeploying, you must first execute the command asant undeploy in order to clean up existing files resulting from the intital deployment.
Verifying DeploymentAs an optional step, you can use the Application Server Administration Tool to verify that the application has been registered.
To verify the registration of the application, do the following:
Execute the command asadmin list-components to look at applications deployed with a server instance. For example:
<install_dir>/bin/asadmin list-components --user <username> --password <password>
You will see the four Pet Store applications listed:
- OrderProcessingCenterEAR <j2ee-application>
- AdminEAR <j2ee-application>
- SupplierEAR <j2ee-application>
- PetStoreEAR <j2ee-application>