Creating applications : Creating applications : Multichannel application sample : Deploying the Multichannel application sample projects : Configuring the WebSphere Application Server deployment environment
  
Configuring the WebSphere Application Server deployment environment
You must add Derby JDBC provider and edit the shared library path for the WebSphere Application Server deployment environment for each EAR project.
To configure the WebSphere Application Server deployment environment for each EAR project
1 Right-click a EAR project, and click Java EE > Open WebSphere Application Server Deployment.
2 In the WebSphere Application Server Deployment view, add the JDBC provider for your Derby database by completing the following steps:
In the Data Sources section, click Add on the right side of the JDBC provider list.
In the Create JDBC Provider window, select Derby from the Database type list.
Select Derby JDBC Provider (XA) from the JDBC provider type list.
Click Next.
In the Modify a JDBC Provider window, configure the JDBC provider settings according to your environment. If the class path is empty or incorrect, add or edit the path by using the path of the derby.jar file in the installation directory.
Click Finish.
3 In the WebSphere Application Server Deployment view, edit the shared library path by completing the following steps:
In the Embedded J2C Options section of the WebSphere Application Server Deployment view, click Shared Library.
In the Shared Library section, select BTT_LIB from the Library list and then click Edit.
In the Edit Library Entry window, set the Class path and Native path to SAMPLE_PROJECT_DIRECTORY\Sharedlibs\lib.
Click OK.
Select THIRD_PARTY_LIB from the Library list, and click Edit.
In the Edit Library Entry window, set the Class path and Native path to SAMPLE_PROJECT_DIRECTORY\Sharedlibs\lib.
Click OK.
4 Repeat step 1 to step 3 to configure deployment environment for each EAR project.
After completing this task
Run the Multichannel application sample.
Go up to
Deploying the Multichannel application sample projects