+

Search Tips   |   Advanced Search

Update asset settings

Select whether we want replace an entire asset or update its contents. We can update asset contents by adding, deleting, or updating a single file or module in the asset, or by merging multiple files or modules into an asset. Updating an asset registers the updated files with the product management domain.

From the admin console, click...

        Applications > Application Types > Assets, select the asset to update> Update.

The product manages the contents of a registered asset as a single entity. The contents of a registered asset must be accessible to application servers, web servers and other runtime environments that use the asset.

When we replace an asset or update an asset by adding a file or module, asset files typically are uploaded from a client workstation running the browser to the server machine running the administrative console, where they are registered. In such cases, use the web browser running the administrative console to select files to upload to the server machine.

The specified asset that we are installing must be one of the following supported assets:


Replace entire asset

Under Select the type of update to perform, specifies to replace the entire asset installed on the server with a new (updated) asset.

After selecting this option, specify whether the asset is on a local or remote file system and the full path name of the asset. The path provides the location of the updated asset before installation.

Use Local file system if the browser and asset files are on the same machine (whether or not the server is on that machine, too).

Use Remote file system if the asset file resides on any node in the current cell context. Only supported assets are shown during the browsing. Also use Remote file system to specify an asset file already residing on the machine running the application server. For example, the field value might be profile_root/installableApps/my_bean.ejb. After the asset file is transferred, the Remote file system value shows the path of the temporary location on the server.


Replace specific asset contents

Under Select the type of update to perform, specifies to replace a file or module of the asset installed on the server.

After selecting this option, do the following:

  1. For Path beginning with the asset archive file, specify a relative path to the file that starts from the root of the asset file. For example, if the file is located at com/company/greeting.class in module hello.jar, specify a relative path of hello.jar/com/company/greeting.class.

  2. Specify whether the asset is on a local or remote file system and the full path name of the asset. The path provides the location of the updated asset before installation.

  3. Click Next.

The Replace entire asset description describes options for specifying the full path name of an asset or file to add using Local file system and Remote file system options.


Add a module or file to an asset

Under Select the type of update to perform, specifies to add a file to the asset installed on the server.

After selecting this option, do the following:

  1. For Path beginning with the asset archive file, specify a relative path to the file that starts from the root of the asset file. For example, if the file is located at com/company/greeting.class in module hello.jar, specify a relative path of hello.jar/com/company/greeting.class.

  2. Specify whether the asset is on a local or remote file system and the full path name of the asset. The path provides the location of the updated asset before installation.

The Replace entire asset description describes options for specifying the full path name of an asset or file to add using Local file system and Remote file system options.


Remove a file or module from an asset

Under Select the type of update to perform, specifies to remove a file or module from the asset installed on the server.

After selecting this option, do the following:

  1. For Path beginning with the asset archive file, specify a relative path to the file to be removed that starts from the root of the asset file. For example, if the file is located at com/company/greeting.class in module hello.jar, specify a relative path of hello.jar/com/company/greeting.class.

  2. Click Next.


Merge asset contents

Under Select the type of update to perform, specifies to compare the new file or module with the file or module of the asset installed on the server. If the file or module exists, it is replaced. Otherwise, it is added to the installed asset.

After selecting this option, specify whether the new file or module is on a local or remote file system and the full path name of the file or module. The path provides the location of the updated asset before installation.

The Replace entire asset description describes options for specifying the full path name of a file or module to merge using Local file system and Remote file system options.


Update associated composition unit

Specifies whether to update the composition units associated with an enterprise (Java EE) asset. This option applies to enterprise assets only.

The default is NONE. Specify ALL to update all of the composition units associated with the enterprise asset.


Related:

  • Business-level applications
  • Update assets
  • Asset collection
  • Asset settings