+

Search Tips   |   Advanced Search

(Dist) Install features on distributed operating systems

Use the Installation Manager GUI to install and remove a product feature.

We can modify features using one of the following procedures:


Tasks

  1. Stop all servers and applications on the WebSphere Application Server installation being used modified.

  2. Start Installation Manager.

  3. Click Modify.

  4. Select the package group to modify.

  5. Click Next.

    If we are prompted to authenticate, use the IBM ID and password registereded with on the program website.

  6. Expand IBM WAS Network Deployment.

  7. Check the appropriate checkbox to install a feature, or clear the appropriate checkbox to remove a feature if we already have it installed.

    • EJBDeploy tool for pre-EJB 3.0 modules

      This option installs the EJBDeploy tool for pre-EJB 3.0 modules.

      Before deploying applications on the server, run the EJBDeploy tool on applications that contain EJB modules that are based on specifications before EJB 3.0 that are not in a Java EE 7 application. Running the EJBDeploy tool generates deployment code for enterprise beans in the application. Beginning with the EJB 3.0 specification, the EJBDeploy tool is no longer required because WAS uses a new feature called JITDeploy, which automatically generates code when the application starts. EJB modules in a Java EE 7 application uses JITDeploy even if they are based on specifications before EJB 3.0.

      Tip: Unexpected errors might occur if applications provided with IBM WAS, such as the samples, require the optional EJBDeploy tool for pre-EJB 3.0 modules but the feature is not installed. If we deploy and use applications that might require pre-EJB 3.0 modules, include the optional EJBDeploy feature in all WAS installations that will be used by servers running the pre-EJB 3.0 applications.

    • Stand-alone thin clients, resource adapters, and embeddable containers

      IBM thin clients and resource adapters provide a set of clients and resource adapters for various technologies, such as JAX-WS, JAX-RPC, JAX-RS, XML, EJB, JPA, JMS, and more. An embeddable container runs in a stand-alone Java Platform, Standard Edition (Java SE) environment. For example, we can use the embeddable EJB container to run enterprise beans outside the application server.

      • Stand-alone thin clients and resource adapters

        This option installs the IBM stand-alone thin clients and resource adapters.

        IBM thin clients provide a set of clients for various technologies, such as JAX-WS, JAX-RPC, JAX-RS, XML, EJB, JPA, JMS, and more. IBM resource adapters provide the resource adapters for JMS.

      • Embeddable EJB container

        This option installs the embeddable EJB container.

        The embeddable EJB container is a JAR file that we can use to run enterprise beans in a stand-alone Java SE environment. We can run enterprise beans using this embeddable container outside the application server. The embeddable EJB container is a part of the EJB specification and is primarily used for unit testing enterprise beans business logic.

    • Sample applications

      This option installs the sample applications for learning and demonstration environments.

      The samples include both source code files and integrated enterprise applications that demonstrate some of the latest Java EE and WebSphere technologies. The samples are recommended for installation to learning and demonstration environments, such as development environments. However, they are not recommended for installation to production application server environments.

  8. Click Next.

  9. Review the summary information, and click Modify.

    • If the modification is successful, the program displays a message indicating that installation is successful.

    • If the modification is not successful, click View Log File to troubleshoot the problem.

  10. Click Finish.

  11. Click File > Exit to close Installation Manager.


Examples

Modify features:

In the following list, the optional feature offering names are enclosed in parentheses:

  • EJBDeploy tool for pre-EJB 3.0 modules (ejbdeploy)

  • Before deploying applications on the server, run the EJBDeploy tool on applications that contain EJB modules that are based on specifications before EJB 3.0 that are not in a Java EE 7 application. Running the EJBDeploy tool generates deployment code for enterprise beans in the application. Beginning with the EJB 3.0 specification, the EJBDeploy tool is no longer required because WAS uses a new feature called JITDeploy, which automatically generates code when the application starts. EJB modules in a Java EE > application uses JITDeploy even if they are based on specifications before EJB 3.0.

  • Stand-alone thin clients, resource adapters, and embeddable containers

    • Stand-alone thin clients and resource adapters (thinclient)
    • Embeddable EJB container (embeddablecontainer)

  • Sample applications (samples)

(Windows) Here is an example of a response file for modifying the features in an installation:

<?xml version="1.0" encoding="UTF-8"?>
<agent-input clean='true' temporary='true'>
<server>
<repository location="http://www.ibm.com/software/repositorymanager/com.ibm.websphere.ND.v90" />
</server>
<install modify='true'>
<offering id='com.ibm.websphere.ND.v90' 
  profile='IBM WAS V9.0' 
  features='samples'/>
</install>
<uninstall modify='true'>
<offering id='com.ibm.websphere.ND.v90' 
  profile='IBM WAS V9.0' 
  features='thinclient,ejbdeploy,embeddablecontainer'/>
</uninstall>
<profile id='IBM WAS V9.0' 
  installLocation='C:\IBM\WebSphere\AppServer'>
<data key='eclipseLocation' value='C:\IBM\WebSphere\AppServer'/>
<data key='user.import.profile' value='false'/>
<data key='cic.selector.nl' value='en'/>
</profile>
</agent-input>

(Windows) Here is an example of using the imcl command to modify the features in an installation:

imcl.exe modify com.ibm.websphere.ND.v90
  -addFeatures samples
  -removeFeatures thinclient,ejbdeploy,embeddablecontainer
  -repositories http://www.ibm.com/software/repositorymanager/com.ibm.websphere.ND.v90
  -installationDirectory C:\IBM\WebSphere\AppServer
  -secureStorageFile C:\IM\credential.store -masterPasswordFile C:\IM\master_password.txt

Modify languages:

To change the installed languages, use the -properties argument with the cic.selector.nl property in the imcl command to specify the languages that we want in the installation.

(Windows) For example:

imcl.exe modify com.ibm.websphere.ND.v90_9.0.0.20160503_0200
  -repositories http://www.ibm.com/software/repositorymanager/com.ibm.websphere.ND.v90
  -installationDirectory C:\IBM\WebSphere\AppServer
  -properties cic.selector.nl=en,,hu,,ko,,pl,,es 
  -secureStorageFile C:\IM\credential.store -masterPasswordFile C:\IM\master_password.txt

English, Hungarian, Korean, Polish and Spanish would be installed after using this example. If we started with an installation with English only, this would add the other languages. If we started with an installation with more languages, the other languages would be removed.

To find out which languages are installed, use listInstallationDirectories with the imcl command and specify either -long, or -verbose.

(Windows) For example:

imcl.exe listInstallationDirectories -long


Subtopics

  • Install the product offerings
  • Install the product offerings using response files
  • Install the product offerings using the command line
  • Update the product on distributed and IBM i operating systems
  • Uninstall the product offerings from distributed operating systems using the GUI
  • Uninstall the product offerings using response files
  • Uninstall the product offerings using the command line