Apple Mac OS X Server v10.3 Bedienungsanleitung Seite 22

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 56
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 21
c. Click Install and then click Start.
d. Quit MySQL Manager.
3. Create the Pet Store Tables:
a.
In Terminal, run the mysql command-line tool.
b.
Enter use test and press Return.
c. Copy the text in
Application_Server_companion/Pet_Store_resources/create_tables_sql.txt (in this
documents companion files) to the Clipboard, and paste its contents into the mysql
command-line tool.
d.
Enter quit and press Return.
4.
Deploy the petstore-destinations-service.xml file.
To prepare JBoss for running Pet Store, copy the
Application_Server_companion/Pet_Store_resources/petstore-destinations-service.xml
file included in this documents companion files to /Library/JBoss/3.2/deploy.
5. Start the application server.
You must be running the application server to configure Pet Store. Make sure the application
server is running on your computer. See Starting the Application Server (page 11) for details.
Configure the Pet Store Enterprise Application
This section guides you through the steps required to configure the petstore.ear file so that it can
be deployed in Mac OS X Server. This process involves specifying the data source that enterprise
beans use to obtain a connection to the database, mapping the enterprise beans CMP fields to table
columns, defining relationships among enterprise beans, and so on.
Open the petstore.ear File in the Deployment Tool
1. Launch the JBoss deployment tool. (See Starting the JBoss Deployment Tool (page 14) for
details.)
2.
In the Load Application window, enter the full path to the petstore.ear file in the text field,
and click Load Application.
3. Click Click here to continue.
4. In the PetStoreEAR (Application) window (also known as the main window or the navigation
window), click Connect.
22
Configure the Pet Store Enterprise Application
2005-08-11 | © 2003, 2005 Apple Computer, Inc. All Rights Reserved.
CHAPTER 3
Configuring and Deploying Suns Pet Store
Seitenansicht 21
1 2 ... 17 18 19 20 21 22 23 24 25 26 27 ... 55 56

Kommentare zu diesen Handbüchern

Keine Kommentare