Red Hat NETSCAPE ENTREPRISE SERVER 6.1 - INSTALLATION AND MIGRATION GUIDE Instrukcja Użytkownika Strona 30

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 120
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 29
30
Uninstalling, rebuilding and reinstalling the Plants by WebSphere enterprise archive file
The Plants by WebSphere sample contains Cloudscape deployment code, so you must
reinstall a clean enterprise archive (EAR) file without deployment code specifying that you
are running the sample with DB2. These next steps explain how to uninstall the Plants by
WebSphere EAR file, build a clean EAR file without deployment code, and reinstall the EAR
file with DB2-specific deployment code. The Application Server handles the creation of DB2
deployment code.
Executing the Plants by WebSphere sample build script
To rebuild the Plants by WebSphere sample:
1. Add
install_root\bin
to your PATH.
2. Change to the
install_root\samples\src\PlantsByWebSphere
directory and
enter the following at a command prompt:
buildsamples
The batch file,
buildsamples.bat
, is located in the
install_root\bin
directory. The script
sets the appropriate class path information and executes the Ant 1.4 build utility. The Ant
utility reads the
build.xml
files, which describe how to build the sample. Refer to the
Jakarta Web site for additional documentation on Ant 1.4. The new, clean EAR file is located
in the
install_root\samples\lib\PlantsByWebSphere
directory.
Removing and reinstalling the PlantsByWebSphere.ear file
By default, the Plants by WebSphere sample is installed in the
install_root\installedApps\<cell name>
directory, where
<cell name>
is the name of
the cell where your application is installed.
To reinstall the sample:
1. Stop the Application Server.
2. Remove the Plants by WebSphere sample EAR file (
install_root\bin
must be in
your PATH) by entering the following at a command prompt:
wsadmin -conntype none -c "$AdminApp uninstall PlantsByWebSphere"
3.
4. Change to the
install_root\samples\lib\PlantsByWebSphere
directory.
5. Reinstall the Plants by WebSphere sample EAR file with DB2-specific deploy code
by entering the following:
wsadmin -conntype none -c "$AdminApp install PlantsByWebSphere.ear
Przeglądanie stron 29
1 2 ... 25 26 27 28 29 30 31 32 33 34 35 ... 119 120

Komentarze do niniejszej Instrukcji

Brak uwag