Configure the WebSphere Application Server V8.0 runtime environment
This section outlines the tasks required to configure a new WebSphere Application Server V8.0 to deploy the JAX-RS REST Service.
- In the Server view right click and select New > Server.
- In the Define a New Server dialog, select WebSphere Application Server v8.0 as the server type to be created.
- In the Server runtime environment field, select Create new
runtime environment and then click
Next (Figure 7).
Figure 7. Create Server: Define a New Server dialog
- In the Application Server Runtime Environment dialog, click
Browse to navigate to the Installation
Directory. Select the
<
installation_directory> for WebSphere Application Server V8.0 and then click Next (Figure 8).
Figure 8. Create Server: Specify Server Runtime Environment
- In the WebSphere Application Server Settings dialog, if you have an existing profile, you can select it from the Profile name pull down it or you can create a new one.
- To create a new profile click the Configure
profiles link and follow the remaining steps (Figure
9).
Figure 9. Create Server: Specify Server Settings
- If prompted to Create a runtime environment, click Yes.
- In the Preferences window, expand Preferences > Server >
WebSphere Application Server and click on Run
Profile Management Tool (Figure 10).
Figure 10. Create Server: Select Run Profile Management Tool
- In WebSphere Customization Toolbox window click
Create (Figure 11).
Figure 11. Create Server: Create Profile
- In the Environment Selection dialog choose Application
Server and click Next (Figure 12).
Figure 12. Create Server: New Profile Environment Selection
- In the Profile Creation Options dialog, select Advanced
profile creation and click Next
(Figure 13).
Figure 13. Create Server: Profile Creation Options Dialog
- In the Optional Application Deployment dialog, ensure
Deploy the admin console is checked, uncheck
the Deploy default application and click
Next (Figure 14).
Figure 14. Create Server: Profile Application Deployment Dialog
- In the Profile Name and Location dialog, enter a name for the
profile (for example:
devWorksProfile) - Change the Profile directory to include the name of the
application server and click Next (Figure 15)
Figure 15. Create Server: Profile Name and Location
- In the Node and Host Names dialog, enter appropriate values for
Node name, Server name and
Host name and then click
Next (Figure 16).
Figure 16. Create Server: Profile Node and Host Names dialog
- In the Administrative Security dialog, check Enable
administrative security and enter appropriate values
for User name and Password and
then click Next (Figure 17). NOTE: Remember this
User name to access the Administrative Console and to start or
stop the server from the command line.
Figure 17. Create Server: Profile Administrative Security dialog
- In the Security Certificate (Part 1) dialog, leave all fields as
default to create a new default personal certificate and root
signing certificate and click Next (Figure 18).
Figure 18. Create Server: Profile Security Certificate I dialog
- In the Security Certificate (Part 2) dialog leave all fields as
default to create a new default personal certificate and root
signing certificate and click Next (Figure 19).
Figure 19. Create Server: Profile Security Certificate II dialog
- In the Port Values Assignments dialog, accept the default
generated ports and click Next (Figure 20). Take
note of the HTTP transport port as it will be need for the HTTP
Client at a later stage in the tutorial.
Figure 20. Create Server: Port Assignments
- In the Window Service Definition dialog, uncheck Run the
application sever process as a Windows service and
click Next (Figure 21).
Figure 21. Create Server: Server Windows Service dialog
- In the Web Server Definition dialog, leave all fields as default
and click Next (Figure 22).
Figure 22. Create Server: Web Server Definition dialog
- Review the Profile Creation Summary information and click
Create (Figure 23).
Figure 23. Create Server: Profile Creation Summary
- In the Profile Creation Complete dialog, uncheck Launch
the First steps console and click
Finish (Figure 24).
Figure 24. Create Server: Profile Creation Complete dialog
- The newly created profile should now be visible in the WebSphere
Customization Toolbox (Figure 25). Close the window to return to
Rational Software Architect.
Figure 25. Create Server: Updated Profile List
- In the Preferences window, expand Preferences > Server >
WebSphere Application Server and click on the
WebSphere Application Server V8.0 installed
runtime to refresh the list of profiles. The new server should
appear in the profile section. Click OK (Figure 26).
Figure 26. Create Server: Updated Servers and Profiles View
- In the WebSphere Application Server Settings dialog, select the
newly created profile in the Profile name drop-down menu. Enter
the User ID and Password and click Next (Figure
27).
Figure 27. Create Server: Configure WebSphere Application Server Settings dialog
- In the Add Remove projects dialog, click Finish.
This completes the steps required to configure the WebSphere Application Server V8.0 runtime environment for deploying the legacy bank application’s JAX-RS 1.1 REST Service. In the Server view you should now see the newly created server in Stopped state.






