Troubleshooting
Problem
When you add a shared library to a business-level application as a composition unit, the user interface permits you to add the shared library to the business-level application without specifying a target server or cluster. In a multiple-node environment, a target is not specified, by default. You must specify a target server or cluster that is enabled with the Feature Pack for Service Component Architecture (SCA) for each SCA composition unit in a business-level application. If you do not specify a valid target for each composition unit, then you cannot start the business-level application. For example, you might add an SCA shared library that uses an Enterprise Java™Beans (EJB) binding and not specify the target server or cluster when you add the shared library to the business-level application. If you later specify a target, the product does not update the SCA composition unit to include the target.
Symptom
If a composition unit does not have a valid target, when you try to start the business-level application an error resembling the following error occurs:
com.ibm.wsspi.management.bla.op.OpExecutionException:
The control operation "start" cannot be executed on
composition unit "WebSphere:cuname=ERWWBase_SCA_0001.jar,
cuedition=BASE" because the handler for the control
operation requires a WebSphere Application Server target
and the composition unit was configured with a
non-WebSphere target of "null".
Resolving The Problem
Specify a valid target server or cluster when you add a shared library to a business-level application. You can specify this information on the Map composition unit to a target page in the administrative console or use the MapTargets wsadmin option.
If a shared library, which uses an EJB binding, is added as a composition unit and does not have a valid target, delete the composition unit and add it again to the business-level application. This time specify a target during deployment.
If a composition unit does not use an EJB binding, specify or change the target on the composition unit settings page within the administrative console. Click Modify Targets, and specify a target on the Target servers and clusters page.
In multiple-node environments, synchronize the nodes after you save changes to the target before starting the business-level application.
Related Information
Was this topic helpful?
Document Information
Modified date:
15 June 2018
UID
swg21328401