NoSuchMethodError error on preloading records after enabling repository spaces.
book
Article ID: KB0094327
calendar_today
Updated On:
Products
Versions
TIBCO MDM
-
Not Applicable
-
Description
Description: The following NoSuchMethodError error is thrown on prealoding records after enabling repository spaces.
<Native Message Info: END> <Application message content: BEGIN> com.tibco.mdm.repository.engine.initialload.AsyncRecordPreloader@2c23bd68 <Application message content: END> <Message Info: END>. JAV-8001: Unexpected error. Class: 'com.tibco.mdm.integration.messaging.message.MqNativeMessageListener' and method name: 'onMessage'. Additional information: java.lang.NoSuchMethodError: org/apache/commons/lang/StringUtils.join(Ljava/util/Collection;Ljava/lang/String;)Ljava/lang/String;. ID: 0A085BF4_8A88DB7444AD0EC50144AD1453520003 DATETIME: Mon Mar 10 12:39:54 CDT 2014 EXCEPTIONMESSAGE: java.lang.NoSuchMethodError: org/apache/commons/lang/StringUtils.join(Ljava/util/Collection;Ljava/lang/String;)Ljava/lang/String; STACKTRACE: java.lang.NoSuchMethodError: org/apache/commons/lang/StringUtils.join(Ljava/util/Collection;Ljava/lang/String;)Ljava/lang/String; at com.tibco.mdm.valueobject.repository.CatalogProductVO.writeMultiValueUsingDelimiter(CatalogProductVO.java:628) at com.tibco.mdm.valueobject.repository.CatalogProductVO.write(CatalogProductVO.java:585) at com.tibco.mdm.infrastructure.cache.as.RecordTupleCreateCommand.createTuple(RecordTupleCreateCommand.java:57) at com.tibco.mdm.infrastructure.cache.MqCacheManagerActiveSpaces.putAll(MqCacheManagerActiveSpaces.java:2252) at com.tibco.mdm.infrastructure.cache.MqCacheManagerActiveSpaces.putAll_new(MqCacheManagerActiveSpaces.java:2322) at com.tibco.mdm.repository.record.RecordCacheHelper.storeNewRecordInCache(RecordCacheHelper.java:855) at com.tibco.mdm.repository.engine.ThreadCacheRecord.process(ThreadCacheRecord.java:85) at com.tibco.mdm.repository.engine.initialload.AsyncRecordPreloader.preLoadProductsInCache(AsyncRecordPreloader.java:192) at com.tibco.mdm.repository.engine.initialload.AsyncRecordPreloader.onAsyncCall(AsyncRecordPreloader.java:78) at com.tibco.mdm.integration.messaging.AsyncCallMessageListener.onMessage(AsyncCallMessageListener.java:56) at com.tibco.mdm.integration.messaging.message.MqNativeMessageListener.onMessage(MqNativeMessageListener.java:97) at com.tibco.tibjms.TibjmsxSessionImp._submit(TibjmsxSessionImp.java:4165) at com.tibco.tibjms.TibjmsxSessionImp._dispatchAsyncMessage(TibjmsxSessionImp.java:2267) at com.tibco.tibjms.TibjmsxSessionImp$Dispatcher.run(TibjmsxSessionImp.java:3689) CLASSNAME: com.tibco.mdm.integration.messaging.message.MqNativeMessageListener METHODNAME: onMessage ERRORMESSAGE: Error consuming message. Exception type:java.lang.NoSuchMethodError Symptoms: The following NoSuchMethodError error is thrown on prealoding records after enabling repository spaces.
<Native Message Info: END> <Application message content: BEGIN> com.tibco.mdm.repository.engine.initialload.AsyncRecordPreloader@2c23bd68 <Application message content: END> <Message Info: END>. JAV-8001:
Unexpected error. Class:
'com.tibco.mdm.integration.messaging.message.MqNativeMessageListener'
and method name: 'onMessage'. Additional information:
java.lang.NoSuchMethodError:
org/apache/commons/lang/StringUtils.join(Ljava/util/Collection;Ljava/lang/String;)Ljava/lang/String;. ID: 0A085BF4_8A88DB7444AD0EC50144AD1453520003 DATETIME: Mon Mar 10 12:39:54 CDT 2014 EXCEPTIONMESSAGE:
java.lang.NoSuchMethodError:
org/apache/commons/lang/StringUtils.join(Ljava/util/Collection;Ljava/lang/String;)Ljava/lang/String; STACKTRACE:
java.lang.NoSuchMethodError:
org/apache/commons/lang/StringUtils.join(Ljava/util/Collection;Ljava/lang/String;)Ljava/lang/String; at com.tibco.mdm.valueobject.repository.CatalogProductVO.writeMultiValueUsingDelimiter(CatalogProductVO.java:628) at com.tibco.mdm.valueobject.repository.CatalogProductVO.write(CatalogProductVO.java:585) at com.tibco.mdm.infrastructure.cache.as.RecordTupleCreateCommand.createTuple(RecordTupleCreateCommand.java:57) at com.tibco.mdm.infrastructure.cache.MqCacheManagerActiveSpaces.putAll(MqCacheManagerActiveSpaces.java:2252) at com.tibco.mdm.infrastructure.cache.MqCacheManagerActiveSpaces.putAll_new(MqCacheManagerActiveSpaces.java:2322) at com.tibco.mdm.repository.record.RecordCacheHelper.storeNewRecordInCache(RecordCacheHelper.java:855) at com.tibco.mdm.repository.engine.ThreadCacheRecord.process(ThreadCacheRecord.java:85) at com.tibco.mdm.repository.engine.initialload.AsyncRecordPreloader.preLoadProductsInCache(AsyncRecordPreloader.java:192) at com.tibco.mdm.repository.engine.initialload.AsyncRecordPreloader.onAsyncCall(AsyncRecordPreloader.java:78) at com.tibco.mdm.integration.messaging.AsyncCallMessageListener.onMessage(AsyncCallMessageListener.java:56) at com.tibco.mdm.integration.messaging.message.MqNativeMessageListener.onMessage(MqNativeMessageListener.java:97) at com.tibco.tibjms.TibjmsxSessionImp._submit(TibjmsxSessionImp.java:4165) at com.tibco.tibjms.TibjmsxSessionImp._dispatchAsyncMessage(TibjmsxSessionImp.java:2267) at com.tibco.tibjms.TibjmsxSessionImp$Dispatcher.run(TibjmsxSessionImp.java:3689) CLASSNAME: com.tibco.mdm.integration.messaging.message.MqNativeMessageListener METHODNAME: onMessage ERRORMESSAGE: Error consuming message. Exception type:java.lang.NoSuchMethodError Cause: N/A
Issue/Introduction
NoSuchMethodError error on preloading records after enabling repository spaces.
Environment
TIBCO MDM 8.X, WebLogic 10.3
Resolution
Replace the /bea_10.3/modules/*.commons.lang*.jar with the JAR bundled
with MDM 8.3.1, i.e., commons-lang-2.6.jar under %MQ_HOME%\lib\external. Make a backup of the commons-lang*.jar under /bea_10.3/modules/ . Place the commons-lang*.jar bundled with the product under /bea_10.3/modules/ .