The TADDM OMP Change Event Module (http://www-01.ibm.com/software/brandcatalog/portal/opal/details?catalog.label=1TW10CC1Q) is a module you install on TADDM servers so that you will get alerts on various monitoring systems when a change (any change or specific changes) are detected.
This module works very well on TADDM 7.1, but it fails on TADDM 7.1.2.
The error message is:
com.collation.proxy.api.client.ApiException: java.rmi.ServerException: RemoteException occurred in server thread; nested exception is:
java.rmi.UnmarshalException: invalid method hash
at com.collation.proxy.api.client.DataApiImpl.findModel(DataApiImpl.java:954)
Apparently there were changes in the Java files between 7. 1 and 7.1.2.
The solution is to change following line in /bin/changeevents.sh:
omp_classpath=.:"$TADDM_PATH"/lib/platform-model.jar:"$TADDM_PATH"/lib/api-client.jar:"$TADDM_PATH"/lib/api-dep.jar:"$TADDM_PATH"/lib/edm-server.jar:"$TADDM_PATH"/lib/oal-api.jar:"$TADDM_PATH"/lib/oal-common.jar:"$TADDM_PATH"/lib/oal-topomgr.jar:"$JAR_DIR"/evd.jar:"$JAR_DIR"/log.jar:"$JAR_DIR"/taddmomp.jar
to
omp_classpath=.:$TADDM_PATH/sdk/clientlib/taddm-api-client.jar:"$JAR_DIR"/evd.jar:"$JAR_DIR"/log.jar:"$JAR_DIR"/taddmomp.jar
Hope this helps whoever encounters this problem.
-- Robert
1 comment:
Hi , I am testing same in 7.2.1 ,FP2 . Getting error in Change-event.log as below ,help is really appreciated
INFO changeevent.OmpEventModule - Query is SELECT * FROM ComputerSystem WHERE ComputerSystem.fqdn equals 'usvaapp11.com'
2012-10-04 08:11:00,253 [main] INFO changeevent.OmpEventModule - 1 objects in TADDM returned from the query: SELECT * FROM ComputerSystem WHERE ComputerSystem.fqdn equals 'usvaapp11.megasoft.com'
2012-10-04 08:11:00,253 [main] INFO changeevent.OmpEventModule - getEvents: 1349318277612->1349318459972
2012-10-04 08:11:00,253 [main] INFO changeevent.OmpEventModule - Entry ->getChangeHistoryArray
2012-10-04 08:11:00,269 [main] ERROR client.DataApiImpl - CTJOX0605E The get change history did not complete.
java.rmi.ServerException: RemoteException occurred in server thread; nested exception is:
java.rmi.RemoteException: java.lang.NullPointerException
ERROR changeevent.OmpEventModule - TADDM API error enountered.
com.collation.proxy.api.client.ApiException: CTJOX0605E The get change history did not complete.
at com.collation.proxy.api.client.DataApiImpl.getChangeHistory(DataApiImpl.java:917)
at com.collation.proxy.api.client.CMDBApiImpl.getChangeHistory(CMDBApiImpl.java:594)
at com.ibm.cdb.integration.changeevent.OmpEventModule.getChangeHistoryArray(OmpEventModule.java:842)
at com.ibm.cdb.integration.changeevent.OmpEventModule.getEvents(OmpEventModule.java:569)
at com.ibm.cdb.integration.changeevent.OmpEventModule.run(OmpEventModule.java:457)
at com.ibm.cdb.integration.changeevent.OmpEventModule.main(OmpEventModule.java:136)
Post a Comment