To deploy the IVP EAR file in WebSphere Liberty servers, edit the server.xml file.
Procedure
-
Open the server.xml file.
-
Add an
<enterpriseApplication>
entry as follows:
<enterpriseApplication location="file_location" type="ear">
<classloader classProviderRef="IMS_adapter_id" />
</enterpriseApplication>
IMS_adapter_id
should be set to the value of resource adapter ID that you set in the
<resourceAdapter>
tag. For example, the
server.xml might look as
follows:
<server description="myLibertyServer">
<!-- Enable features -->
<featureManager>
<feature>jsp-2.2</feature>
<!-- Added jca-1.6 and jndi-1.0 features required by the IMS
TM resource adapter -->
<feature>jca-1.6</feature>
<feature>jndi-1.0</feature>
</featureManager>
<resourceAdapter id="IMSTMRA"
location="C:\IBM\IMS\ico1410\IBM\IMS\ICO14\V1410\JCA15\imsico1410.rar" />
<enterpriseApplication location="imsicoivp.ear" type="ear">
<classloader classProviderRef="IMSTMRA" />
</enterpriseApplication>
Results
You have deployed the EAR file for the IMS TM resource adapter IVP.