PlantsByWebSphere on WebSphere® Application Server Community Edition 2.X
Before you begin:
Locate the PlantsByWebSphere Enterprise
Application Archive (EAR) file, database, and deployment files that were provided with this
documentation.
- If you downloaded the stand-alone compressed file,
then you will find the ear, database, and deployment files at the location you extracted the compressed file
too. For example, if you extracted the file to:
UNIX-based: /tmp |
Linux:
/tmp |
Windows:
c:\temp
|
Then you find the files at:
UNIX-based:
/tmp/web2mobilefep_1.1/PlantsByWebSphere/PlantsByWebSphere.ear.
/tmp/web2mobilefep_1.1/PlantsByWebSphere/database/wasce20/PLANTSDB_Derby_10.2.zip.
/tmp/web2mobilefep_1.1/PlantsByWebSphere/wasce/pbwdeploy-geronimo-plan.xml. |
Linux:
/tmp/web2mobilefep_1.1/PlantsByWebSphere/PlantsByWebSphere.ear.
/tmp/web2mobilefep_1.1/PlantsByWebSphere/database/wasce20/PLANTSDB_Derby_10.2.zip.
/tmp/web2mobilefep_1.1/PlantsByWebSphere/wasce/pbwdeploy-geronimo-plan.xml. |
Windows:
c:\tmp\web2mobilefep_1.1\PlantsByWebSphere\PlantsByWebSphere.ear.
c:\tmp\web2mobilefep_1.1\PlantsByWebSphere\database\wasce20\PLANTSDB_Derby_10.2.zip.
c:\tmp\web2mobilefep_1.1\PlantsByWebSphere\wasce\pbwdeploy-geronimo-plan.xml. |
Configure the database for PlantsByWebSphere
The PlantsByWebSphere application uses the Derby database which is provided
by WebSphere Application Server Community Edition 2.X. The PlantsByWebSphere download provides a compressed database which contains a
set of prepopulated tables. The database needs to be uncompressed and a datapool mapping created. The datapool mapping is used
to map database requests between the PlantsByWebSphere application the application server.
- Locate the PLANTSDB_Derby_10.2.zip file and unzip the contents into the var/derby directory which is located in the root directory of
the WebSphere Application Server Community Edition 2.X installation.
Installing the PlantsByWebSphere application on WebSphere Community Edition 2.X
- Start the Geronimo server and go to the administrative console and log in with your user id and password. Click Deploy New in the left menu.
- For the Archive input, click the Browse and navigate too the
PlantsByWebSphere.ear file.
- For the Plan input, select the Browse button and navigate too the pbwdeploy-geronimo-plan.xml file.
- click Install
- Click on Application EARs in the left menu to see the PlantsByWebSphere entry.
Accessing PlantsByWebSphere : AJAX Edition
The location of the application is http://localhost:8080/PlantsByWebSphereAjax