Before you can test your modules on a test environment server,
you need to add the modules to the server.
If a test environment server is not already running when you add your
modules to it, the server will automatically start in Debug mode when you
finish adding the modules. If you want to run the server in Start mode rather
than Debug mode, you should start the server in Start mode before adding
your modules to the server, as described in the topic "Starting servers."
(Throughout the course of your development activities, EAR projects
are generated for your modules. It is these EAR projects that you actually
add to the servers and run rather than the modules that they represent. However,
in WebSphere
® Integration
Developer, business integration modules are the key resource and users are
largely shielded from J2EE resources like EAR projects. For this reason, the
deployment documentation generically refers to adding, running, and removing
modules on servers.)
To add modules to servers:
- If you are not currently generating deploy code during your builds,
generate the deploy code before completing the following steps.
- In the Business Integration or Debug perspective, click the Servers tab
to open the Servers view.
- In the Servers view, right-click your server and select Add
and Remove Projects. The Add and Remove Projects wizard opens.
In the Available Projects list box, the EAR projects are displayed that correspond
to your modules.
- Complete one of the following steps:
- If you want to add a single module to the server, then select the
corresponding EAR project in the Available Projects list box and click Add.
The EAR project is added to the Configured Projects list box.
- If you want to add all modules to the server, then click Add
All. All of the available EAR projects that correspond to your
modules are added to the Configured Projects list box.
- Click Finish. The selected EAR projects
are added to the server. If the server is not already running, it will automatically
start in Debug mode.
Additional information about adding projects to test environment
servers is found in the Rational
® Application Developer topic "
Adding projects to a server."