3 WebSphere Application Server

This chapter contains the topic:

If you do not already have an appropriate WebSphere Application Server, create an application server. Refer to Appendix B, "Create WebSphere Application Server" in this guide.

3.1 Installing the WebSphere Application Server

To install the WebSphere Application Server

  1. Start Application Server.

    Launch the IBM Web Administrator for i: http://localhost:2001/HTTPAdmin

    Figure 3-1 IBM Web Administrator (Manage All Servers Tab) screen

    Description of Figure 3-1 follows
    Description of ''Figure 3-1 IBM Web Administrator (Manage All Servers Tab) screen''

  2. Select the appropriate Application Server and then click Start.

    Figure 3-2 Start Page on the IBM Web Administrator screen

    Description of Figure 3-2 follows
    Description of ''Figure 3-2 Start Page on the IBM Web Administrator screen''

  3. Click Start.

    Launch Administrative Console.

    Figure 3-3 Manage WebSphere Application Server screen

    Description of Figure 3-3 follows
    Description of ''Figure 3-3 Manage WebSphere Application Server screen''

  4. Select the Application Servers Tab then select the appropriate server from the Server dropdown box.

    Click the Launch Administrative Console link.

    Figure 3-4 Log in to the Console screen

    Description of Figure 3-4 follows
    Description of ''Figure 3-4 Log in to the Console screen''

  5. Leave the User ID blank and click Log in.

    Figure 3-5 Global Security (Wizard Button) screen

    Description of Figure 3-5 follows
    Description of ''Figure 3-5 Global Security (Wizard Button) screen''

  6. Configure security for JAAS.

    Open: Security - Global Security.

    Select the Enable administrative security checkbox.

    Click Security Configuration Wizard.

    Figure 3-6 Specify Extent of Protection (Enable Application Security Button) screen

    Description of Figure 3-6 follows
    Description of ''Figure 3-6 Specify Extent of Protection (Enable Application Security Button) screen''

  7. Select Enable application security and then click Next.

    Figure 3-7 Federated Repositories Button

    Description of Figure 3-7 follows
    Description of ''Figure 3-7 Federated Repositories Button''

  8. Select Federated repositories and then click Next.

    Figure 3-8 Primary Administrative User Name field

    Description of Figure 3-8 follows
    Description of ''Figure 3-8 Primary Administrative User Name field''

  9. Enter Primary administrative user name and Password and then click Next.

  10. Review settings and then click Finish.

    Figure 3-10 SWAM Button on the Global Security screen

    Description of Figure 3-10 follows
    Description of ''Figure 3-10 SWAM Button on the Global Security screen''

  11. Select the Use SWAM -no authenticated communication between servers checkbox.

    Click Apply and then click Save.

    Figure 3-11 Global Security screen with Selection Noted

    Description of Figure 3-11 follows
    Description of ''Figure 3-11 Global Security screen with Selection Noted''

  12. Add World Application login and configure custom login module.

    Open Security - Global Security - Java Authentication and Authorization Service - Application Logins.

    Figure 3-12 Global Security JAAS Application Login screen

    Description of Figure 3-12 follows
    Description of ''Figure 3-12 Global Security JAAS Application Login screen''

  13. Click New.

  14. Enter the Alias:

    worldBssvLogin

    Click Apply.

    Figure 3-14 WorldBssvLogin link

    Description of Figure 3-14 follows
    Description of ''Figure 3-14 WorldBssvLogin link''

  15. Click the worldBssvLogin link.

    Figure 3-15 WorldBssvLogin screen

    Description of Figure 3-15 follows
    Description of ''Figure 3-15 WorldBssvLogin screen''

  16. Click New.

    Figure 3-16 Module Class Name field

    Description of Figure 3-16 follows
    Description of ''Figure 3-16 Module Class Name field''

  17. Enter full pathname for custom login module in the Module class name field.

    com.oracle.world.security.WorldLoginModule

    Click Apply.

    Figure 3-17 New Button on the JAAS Application Login screen

    Description of Figure 3-17 follows
    Description of ''Figure 3-17 New Button on the JAAS Application Login screen''

  18. Navigate back to the JAAS - Application logins screen and then click New.

  19. Enter the Alias:

    disableAuth

    Click Apply.

    Figure 3-19 Global Security screen with Selection Noted

    Description of Figure 3-19 follows
    Description of ''Figure 3-19 Global Security screen with Selection Noted''

  20. Click the disableAuth link.

    Figure 3-20 New button on the Global Security JAAS Authorization Login screen

    Description of Figure 3-20 follows
    Description of ''Figure 3-20 New button on the Global Security JAAS Authorization Login screen''

  21. Click New.

    Figure 3-21 Module Class Name field

    Description of Figure 3-21 follows
    Description of ''Figure 3-21 Module Class Name field''

  22. Enter full pathname for custom login module in the Module class name field.

    com.ibm.wssecurity.auth.module.UsernameLoginModule

    Click Apply.

    You must logout of the Console and restart the server for these changes to take effect.

    Click the Logout link in the upper right-hand corner of the Console.

    Restart the server. Refer to Step 1, Start Application Server section of this document. Use the User name and Password you created when logging in after restarting the server.

    Figure 3-22 Correct Application (Type Noted) screen

    Description of Figure 3-22 follows
    Description of ''Figure 3-22 Correct Application (Type Noted) screen''

  23. Deploy Web Services EAR file.

    Figure 3-23 Correct Application (Type Noted) screen

    Description of Figure 3-23 follows
    Description of ''Figure 3-23 Correct Application (Type Noted) screen''

  24. Open the Applications then click the WebSphere enterprise applications link.

    Figure 3-24 Enterprise Applications screen

    Description of Figure 3-24 follows
    Description of ''Figure 3-24 Enterprise Applications screen''

  25. Click Install.

  26. Enter the Full path to WebServices_v4_WAS.ear file and then click Next.

  27. Click Next.

    Figure 3-27 Deploy Web Services checkbox

    Description of Figure 3-27 follows
    Description of ''Figure 3-27 Deploy Web Services checkbox''

  28. Select Deploy Web services and then click Next.

    Figure 3-28 Map Modules to Servers screen

    Description of Figure 3-28 follows
    Description of ''Figure 3-28 Map Modules to Servers screen''

  29. Click Next.

  30. Click Next.

    Figure 3-30 Summary screen with Finish button

    Description of Figure 3-30 follows
    Description of ''Figure 3-30 Summary screen with Finish button''

  31. Click Finish.

  32. Create Shared Libraries.

  33. Open the Environment and then click the Shared Libraries link.

    Select the appropriate Scope from the dropdown list and then click New.

    Figure 3-32 Shared Libraries screen

    Description of Figure 3-32 follows
    Description of ''Figure 3-32 Shared Libraries screen''

  34. Enter WebServices_LIB in the Name field.

    Enter the location of the JDEWorldJDBC.jar, jt400.jar, log4j jar, and the BaseJar.jar in the Classpath field.

    Click OK.

    For details about the latest version supported for log4j, see Doc ID 2318897.1 in My Oracle Support. (WS: Instructions to Address JD Edwards World Security Vulnerabilities (Doc ID 2318897.1)(Release A9.3 Update)

  35. Copy jt400.jar, JDEWorldJDBC.jar, log4j jar, and BaseJar.jar to the IFS.

    Copy all four files to the directory you specified in the Classpath field.

    The JDEWorldJDBC.jar and the BaseJar.jar are included in the Web Services .zip file downloaded from the MyOracleSupport Web site.

  36. Associate WebSeverices_LIB Shared Library with the WebServices_v4_WAS Application.

    Figure 3-33 Enterprise Applications screen

    Description of Figure 3-33 follows
    Description of ''Figure 3-33 Enterprise Applications screen''

  37. Open the Applications and then select the WebSphere enterprise applications link.

    Click the WebServices_v4_WAS link.

    Figure 3-34 Enterprise Applications WebServices_v4_WAS screen

    Description of Figure 3-34 follows
    Description of ''Figure 3-34 Enterprise Applications WebServices_v4_WAS screen''

  38. Click the Shared Library References link under References.

    Figure 3-35 Reference Shared Libraries button

    Description of Figure 3-35 follows
    Description of ''Figure 3-35 Reference Shared Libraries button''

  39. Select the WebServices_v4_WAS application box.

    Click Reference Shared Libraries.

    Figure 3-36 WebServices_LIB menu item

    Description of Figure 3-36 follows
    Description of ''Figure 3-36 WebServices_LIB menu item''

  40. Select the WebServices_LIB Shared Library Reference using the arrow button

    Click OK.

  41. Start WebServices_v4_WAS application

  42. Open Applications and then select the WebSphere enterprise applications link.

    Select the WebServices_v4_WAS application.

    Click Start.