You redeploy an application so that the application can
use the updated library.
About this task
The company plan to update both the App1 and App2 applications to use the new library but
both of these applications are in constant use and have different maintenance periods. The App1
application is the most urgent to update because there are immediate plans to connect this
application to the partner's environment. Because of the runtime isolation that is provided by
applications, the App1 application can be redeployed without affecting the operation of the App2
application.
Complete the following steps to redeploy the App1 application so that the application
can use resources from the updated library.
Procedure
- From the WebSphere® Message
Broker Toolkit menu, select . The New Bar File dialog box opens.
- In the Name field, type App1NewLib and click
Finish. The BAR File editor opens to display the applications that can be added to the BAR
file.
- Select the App1 check box and then click the Build and Save
button. The message Operation completed successfully is displayed.
- Click OK. The App1NewLib.bar file is added to the BAR Files in the
Application Development pane.
- Stop the App1 application in the runtime environment by right-clicking the application in the
Brokers pane and clicking
Stop. The App1 application is stopped.
- Right-click the App1NewLib.bar file, click Deploy,
select the execution group and click
Finish. The App1 application remains stopped but the new library resources can be seen in the
runtime environment.
- Start the App1 application in the runtime environment by right-clicking the application in the
Brokers pane and clicking
Start. The App1 application is restarted.
Results
You have redeployed the App1 application and the new library resources are now available to
that application. You can see that the new map is now included in the library that is contained in
the App1 application and the library that is deployed directly in the
execution group. However, the new map is not
included in the App2 application.