modifySCAImportEJBBinding command

Use the modifySCAImportEJBBinding command to modify the attributes of an Enterprise JavaBeans (EJB) import binding.

Prerequisites

You can run the command in either local mode or connected mode:
  • In local mode, specify the wsadmin -conntype none option.
  • To run in connected mode, you must connect as a cell administrator that is assigned the CellAdmin role, or a deployment environment administrator that is assigned the DEAdmin role.

Location

Start the wsadmin scripting client from the install_root/profiles/deployment_manager_profile/bin directory.

Syntax

modifySCAImportEJBBinding
-moduleName moduleName
-import import_name
-jndiName jndi_name
[-applicationName applicationName]

Required parameters

-moduleName module_name
The name of the module associated with the import.
-import import_name
The name of the import.
-jndiName jndi_name
The modified property JNDI name of the import binding.

Optional parameters

-applicationName application_name
The name of the application connecting to the import.

Example

The following example uses the modifySCAImportEJBBinding command to modify the attributes of the EJB import binding for a module called MyMod and an import called Import1.
AdminTask.modifySCAImportEJBBinding('[-moduleName MyMod -import Import1 -jndiName newjndiName]')