Network Deployment (Distributed operating systems), v8.0 > Develop and deploying applications > Deploy and administering business-level applications


Delete business-level applications

After an application no longer is needed, you can delete it.

Delete a business-level application removes the application from the product configuration repository and it deletes the application binaries from the file system of all nodes where the application files are installed.


Procedure

  1. Go to the Business-level applications page.

    Click Applications > Application Types > Business-level applications

  2. If retain a copy of the application, back up composition units of the application.
  3. Delete composition units of the application.

    1. On the Business-level applications page, click the name of the business-level application to delete.

    2. On the business-level application settings page, delete each composition unit of the application. Deployed assets and business-level applications can be composition units of a business-level application.

      Select one or more composition units and click Delete.

      New feature: For Service Component Architecture (SCA) business-level applications that use an OSGi implementation in an enterprise bundle archive (EBA) composition unit, delete the SCA composition unit before attempting to delete the EBA composition unit, otherwise the product returns an error. An EBA composition unit used for the implementation cannot be deleted until the SCA composition unit that uses the implementation.osgiapp is deleted.

    3. On the Delete composition unit from Business-level application page, confirm the deletion and click OK.

    4. Repeat steps b and c until the business-level application to delete has no more composition units.

    Deleting a composition unit removes the configuration from the PROFILE_ROOT/config/cells/cell_name/cus directory.

  4. Delete the business-level application.

    1. Select the application to delete.

    2. Click Delete.

    Unless the application is used by another business-level application, deleting a business-level application removes the configuration from the PROFILE_ROOT/config/cells/cell_name/blas directory.

  5. On the Delete business-level application page, confirm the deletion and click OK.

  6. Save changes made to the administrative configuration.


Results

On single-server products, application binaries are deleted after you save the changes.

On multiple-server products, application binaries are deleted when configuration changes on the dmgr synchronize with configurations for individual nodes.


Example


Example: Creating an SCA business-level application with the console describes how to create the HelloWorldAsync business-level application. We can delete this application using the console.

  1. Go to the Business-level applications page and, if HelloWorldAsync is running, change its status to Stopped.

    1. Click Applications > Application Types > Business-level applications .

    2. Select HelloWorldAsync.

    3. Click Stop.

  2. Go to the business-level applications settings page for HelloWorldAsync and delete the helloworldws composition unit.

    1. Click Applications > Application Types > Business-level applications > HelloWorldAsync.

    2. From Deployed assets, select helloworldws.

    3. Click Delete.

    4. On the Delete composition unit from Business-level application page, confirm the deletion and click OK.

    5. Click the Save link to save the changes.

  3. From the business-level applications page, delete the HelloWorldAsync application.

    1. Click Applications > Application Types > Business-level applications .

    2. Select HelloWorldAsync.

    3. Click Delete.

    4. On the Delete business-level application page, click OK.

    5. Click the Save link to save the changes.

  4. Optionally, from the Assets page, delete the helloworld-ws-asynch.jar asset from the asset repository.

    1. Click Applications > Application Types > Assets.

    2. Select helloworld-ws-asynch.jar.

    3. Click Delete.

    4. On the Delete asset page, click OK.

    5. Click the Save link to save the changes.


What to do next

If using the admin console Delete options does not fully delete a business-level application or its composition units, you can delete the business-level application and its composition units manually from a dmgr or stand-alone server. Suppose to delete a business-level application named ExampleBLA, and ExampleBLA is not used by another business-level application. Complete the following steps to manually delete the ExampleBLA configurations from the blas and cus directories:

  1. Delete the PROFILE_ROOT/config/cells/cell_name/blas/ExampleBLA directory.
  2. Delete the PROFILE_ROOT/config/cells/cell_name/cus/ExampleBLA directory.

  3. Save changes made to the administrative configuration.
  4. On multiple-server products, synchronize the dmgr with node configurations.


Deploy and administering business-level applications
Delete a business-level application using programming
Delete business-level applications using wsadmin.sh

+

Search Tips   |   Advanced Search