Chapter 6. Deploying the existing sample solution 237
6.4.1 Changing deployment descriptors for the Web service
The exchange server was originally designed to be accessed via a Web Services
Gateway. We changed this to simplify the installation. The following sections
describe what we did to make this change, and also what you could do to change
it back to using a Web Services Gateway.
Removing the AggService application
To remove the AggService application:
1. The first thing you have to do is stop the AggServerEAR application.
2. Using the WebSphere Administrative Console choose Applications
Enterprise Application, select the AggServiceEAR application, then click
Stop.
3. Once the application is stopped, you must stop the templates.
4. Go to Applications
Enterprise Application AggServiceEAR then
scroll down and choose Business Process Modules.
5. Click AggService.far.
6. Click Templates. This will bring you to a page that should look like
Figure 6-40.
Figure 6-40 Stopping templates
7. Make sure all the templates are selected and then click Stop. When all the
templates are stopped, you should save the change to the Master
Configuration.
You must now delete some rows out of the process_instance_t table in the
BPEDB database.
1. Start a DB2 command prompt by choosing Start
Programs IBM
DB2
Command Line Tools Command Window.
238 Using BPEL Processes in WebSphere Business Integration Server Foundation - Business Process Integration and Supply Chain Solutions
2. Enter the following DB2 commands:
db2 connect to bpedb
db2 delete from process_instance_t where application_context254 like
‘AggServiceEAR%
db2 connect reset
3. The last step is to actually uninstall the AggServiceEAR. Go to
Applications
Enterprise Applications. Tick the AggServiceEAR and
click Uninstall.
4. When the uninstall is complete save to the Master Configuration.

Get Using BPEL Processes in WebSphere Business Integration Server Foundation Business Process Integration and Supply Chain Solutions now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.