Apple Mac OS X Server Java Application Server Administration For Version 10.3 or Later Bedienungsanleitung Seite 18

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 50
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 17
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
document’s 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 document’s 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 9) 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 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 11) 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.
Configuring and Deploying Suns Pet Store
Configure the Pet Store Enterprise Application
2005-08-11 | Copyright © 2003, 2005 Apple Computer, Inc. All Rights Reserved.
18
Seitenansicht 17
1 2 ... 13 14 15 16 17 18 19 20 21 22 23 ... 49 50

Kommentare zu diesen Handbüchern

Keine Kommentare