Search for the 2 classes on server, and replace with the temp fix and restart the server.
e.g.
find . -name "TCRMPartyComponent.class" -print
/opt/IBM/WebSphere/AppServer9.0/profiles/Node01/installedEBAs/com.ibm.mdm.hub.server-MDM116Instance_11.6.0.8/byValue/87f44ab3-3768-47d9-9ad3-84609f960921.31/31/com/dwl/tcrm/coreParty/component/TCRMPartyComponent.class
find . -name "TCRMPrivacyPreferenceComponent.class" -print
/opt/IBM/WebSphere/AppServer9.0/profiles/Node01/installedEBAs/com.ibm.mdm.hub.server-MDM116Instance_11.6.0.8/byValue/87f44ab3-3768-47d9-9ad3-84609f960921.37/37/com/dwl/tcrm/businessServices/component/TCRMPrivacyPreferenceComponent.class
However, if you want to deploy it properly, follow these steps :
1) Log on to the WebSphere admin console
2) Export EBA from server
Applications -> Assets
com.ibm.mdm.hub.server.app-<appName>.eba
Select the Export button and export the EBA
2) Extract bundles from the exported EBA
com.ibm.mdm.server.party.<version_date_timestamp>.jar
com.ibm.mdm.server.bizservices.<version_date_timestamp>.jar
3) replace the 2 classes in the extracted bundles with those provided
bundle: com.ibm.mdm.server.party.<version_date_timestamp>.jar
com.dwl.tcrm.coreParty.component.TCRMPartyComponent.class
bundle: com.ibm.mdm.server.bizservices.<version_date_timestamp>.jar
com.dwl.tcrm.businessServices.component.TCRMPrivacyPreferenceComponent
4) extract META-INF/MANIFEST.MF from both bundles
update MANIFEST.MF Bundle-Version to higher value at date_timestamp
replace META-INF/MANIFEST.MF with updated copy
rename the 2 bundles with new date_timestamp
5) Navigate to Environment->OSGi bundle repositories->Internal bundle repository
6) Click New and then select the new com.ibm.mdm.server.party.<version_date_timestamp>.jar
repeat for com.ibm.mdm.server.bizservices.<version_date_timestamp>.jar
7) Once the file has loaded click Review link then select "Synchronize changes with Nodes" and click Save followed by OK once the update has completed and then OK and the new bundle should be listed in the repository
8) Navigate to Applications->Application Types->Assets->com.ibm.mdm.hub.server.app-<appName>.eba
9) Click on "Update bundle versions in this application"
10) Change the com.ibm.mdm.server.party and the com.ibm.mdm.server.bizservices bundle versions into the versions loaded earlier and then click Preview followed by Create
11) Click the Review link then select "Synchronize changes with Nodes" and click Save followed by OK once the update has completed
12) Navigate to Applications->Application Types->Business-level applications->com.ibm.mdm.hub.server.app-<appName>.eba
13) Click the "Update to latest deployment..." button and hit OK
14) On the Blueprint resource references screen, select the Authentication Alias for datasources jdbc/DWLConfig and jdbc/DWLCustomer, and then Next then Next and Finish
15) Click the Review link then select "Synchronize changes with Nodes" and click Save followed by OK once the update has completed
16) Navigate to Servers->Server Types->WebSphere application servers
17) Select the server and click the Restart button
Tuesday, September 24, 2019
how to replace classes on server
Details to replace classes on server as :
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment