Previous Step   Previous Step Next Step   Next Step

Install and start the PlantsByWebSphereAjax for CEA sample application.

Map Step 4 towards the goal: Setting up and using a Feature Pack for CEA demonstration environment

About this task

Attention: The Feature Pack for CEA includes a set of scripts that you can use to automate this step on distributed platforms. For further information, read about using the Feature Pack for CEA setup scripts.

Before you begin

Install and start the sample IP PBX enterprise application.

Procedure

  1. Using the WebSphere® Application Server administrative console, define a Derby XA Provider.
    1. Display the following administrative console page: Resources > JDBC > JDBC Providers.
    2. Set the scope to Node=AppSrvCEANode01,server=server1.
    3. Click New.
    4. Specify the following properties:
      • Database type: Derby
      • Provider type: Derby JDBC Provider
      • Implementation type: XA Data source
      • Name: Derby Provider for PlantsByWebSphereAjax (XA)
    5. Click Next.
    6. On the summary page, click Finish to save the changes to the local configuration.
    7. Click Save to save the changes directly to the master configuration.
  2. Using the WebSphere® Application Server administrative console, create a data source and associate it with the new provider.
    1. Display the following administrative console page: Resources > JDBC > Data sources.
    2. Set the scope to Node=AppSrvCEANode01,server=server1.
    3. Click New.
    4. Specify the following properties:
      • Data source name: PLANTSDB
      • JNDI name: jdbc/PlantsByWebSphereAjaxDataSource
    5. Click Next.
    6. Choose Select an existing JDBC Provider.
    7. Choose Derby Provider for PlantsByWebSphereAjax (XA).
    8. Click Next.
    9. For the Database name, enter (exactly) ${APP_INSTALL_ROOT}/${CELL}/PlantsByWebSphereAjax.ear/Database/PLANTSDB
    10. Choose Use this data source in container managed persistence (CMP).
    11. Click Next.
    12. On the remaining pages, accept the default values and click Next.
    13. On the summary page, click Finish to save the changes to the local configuration.
    14. Click Save to save the changes directly to the master configuration.
  3. Prepare, install, and start the CEA PlantsByWebSphereAjax sample application
    1. Open a command window and change to the directory that contains the PlantsByWebSphere for CEA sample, for example:
      • [Windows] C:\WebSphere\AppServer\feature_packs\cea\samples\plantsbywebsphere
      • [AIX] [HP-UX] [Linux] [Solaris] /opt/IBM/WebSphere/AppServer/feature_packs/cea/samples/plantsbywebsphere
    2. Generate EJB deployment bindings (and a new EAR file), for example:
      • [Windows] C:\Program Files\IBM\WebSphere\AppServer\bin\ejbdeploy.bat PlantsByWebSphere.ear C:\temp PlantsByWebSphere_Deployed.ear -dbvendor DERBY_V10
      • [AIX] [HP-UX] [Linux] [Solaris] /opt/IBM/WebSphere/AppServer/bin/ejbdeploy.sh PlantsByWebSphere.ear /tmp PlantsByWebSphere_Deployed.ear -dbvendor DERBY_V10
    3. Using the WebSphere® Application Server administrative console, install the application.
      1. Display the following administrative console page: Applications > New Application .
      2. Click New Enterprise Application.
      3. Specify the location of the EAR file, for example:
        [Windows]
        C:\Program Files\IBM\WebSphere\AppServer\feature_packs\cea\samples\plantsbywebsphere\PlantsByWebSphere_Deployed.ear
        [AIX] [HP-UX] [Linux] [Solaris]
        /opt/IBM/WebSphere/AppServer/feature_packs/cea/samples/plantsbywebsphere/PlantsByWebSphere_Deployed.ear
      4. Click Next.
      5. Select the Fast Path option.
      6. Click Next.
      7. On the remaining pages, accept the default values and click Next.
      8. On the summary page, click Finish to save the changes to the local configuration.
      9. Click Save to save the changes directly to the master configuration.
    4. Using the WebSphere® Application Server administrative console, start the application.
      1. Display the following administrative console page: Applications > Application Types > WebSphere enterprise applications
      2. Select the PlantsByWebSphereAjax application and click Start.
      3. Verify that the application started.

Supporting information (generally applicable)

What to do next

Install and start the Web service sample application.

Previous Step   Previous Step Next Step   Next Step


Terms and conditions for information centers | Feedback

Last updated: Jun 11, 2013 12:22:08 PM CDT
http://www14.software.ibm.com/webapp/wsbroker/redirect?version=v700cea&product=was-nd-mp&topic=tcea_cea_getstart_step4
File name: tcea_cea_getstart_step4.html