Previous Step   Previous Step Next Step   Next Step

Manually install and start the PlantsByWebSphereAjax for CEA sample application.

Map Step 6 towards the goal: Setting up and using the communications enabled application samples

About this task

Important: The setup procedure for the PlantsByWebSphere Ajax Edition for CEA application requires the EJBDeploy tool for pre-EJB 3.0 modules. When installing WebSphere Application Server, be sure to include this optional feature. If you are using an existing installation that does not include the EJBDeploy tool, use IBM Installation Manager to modify the installation to include the tool before proceeding.

Before you begin

Manually 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. 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 installableApps directory of the CEA samples package.
    2. Generate EJB deployment bindings (and a new EAR file); for example:
    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 new EAR file, 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.

What to do next

Manually install and start the web service sample application (commsvc.ws.sample.ear) that is located in the installableApps directory of the CEA samples package.

Previous Step   Previous Step Next Step   Next Step


Terms of Use | Feedback

Last updated: Sep 19, 2011 7:14:39 PM CDT
http://www14.software.ibm.com/webapp/wsbroker/redirect?version=matt&product=was-express-iseries&topic=tcea_cea_getstart_step6
File name: tcea_cea_getstart_step6.html