Release 10.1A: OpenEdge Application Server:
Administration

> ## Deploying the ESB container in a new SonicMQ container

> To be functional, an ESB container must be deployed in a SonicMQ container. The procedure that follows creates an MQ container, deploys the ESB container in it, and generates a container boot file.

> | To set up the MQ container:

> 1. At the Sonic Management Console, select the connection (normally Connection1) from the Window menu.

> 2. On the Configure tab, select the Containers folder.

> 3. Right-click in the window and select New and then Configuration from the pop-up menus. The Create Configuration window appears, as shown:

> 4. Select Container and click OK.

> 5. You see the New Container window, as shown:

> In the Name field, type a descriptive string (for example, OpenEdge_Container). Click OK.

> 6. The newly created container now appears in the contents of the Containers folder in the left pane. Select the container that you want to use, right-click, and select Add Component from the pop-up menu. The New Container Component window appears, as shown:

> Enter values in the required fields (shown in red and with asterisks) as follows:

> - Name — Type a name of your choice. You can use the same name that you assigned the ESB container, or a different descriptive name if you prefer.
> - Component — Click the ellipsis (...) to the right of the field to display the Component Chooser browser. Click the plus symbol (+) by the ESB Containers folder and then select the appropriate container from the list of the folder contents. Click OK.
> - Auto Start — Click the check box to enable this option.

> Click OK to add the ESB container to the MQ container.

> 7. Select the new container component (for example, OpenEdge_Container) in the Containers folder in the left pane of the Sonic Management Console. Right-click and select Generate Boot File from the pop-up menu. A file browser appears.

> The boot file is an .XML file whose name and location you can specify. Navigate to the desired directory, name the file (for example, `OpenEdge_Container.xml`). and click Save to create the file.

> 8. Finally, you must create a script to start the container. You can use one of the following files as the basis for this script:

> - For Windows — `SonicMQ-Install-Directory``\bin\startcontainer.bat`
> - For UNIX — `SonicMQ-Install-Directory``/bin/startcontainer.sh`

> Make a copy of the appropriate file in a directory of your choice and name it appropriately (for example, `OpenEdge_startcontainer.bat`).

> 9. Edit `the` `script_name``` and find the following line:

> `set CONTAINERFILE=container.xml`

> Change the value to the full path to the boot file (for example, `OpenEdge_Container.xml`) that you created in Step 7, and save the file. You can now start the container at any time by executing this script.

Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095