Unable to execute textIndexMigration.sh/bat script

Unable to execute textIndexMigration.sh/bat script

book

Article ID: KB0085785

calendar_today

Updated On:

Products Versions
TIBCO Collaborative Information Manager -
Not Applicable -

Description

Resolution:
Unable to execute textIndexMigration.sh/bat script

Environment:

TIBCO Product name and version: TIBCO Collaborative Information Manager 8.0.0
Operating System(s): All Operating Systems

Symptoms:
Below exception is thrown while trying to execute textIndexMigration.sh/bat

log4j:WARN No appenders could be found for logger (com.tibco.mdm.infrastructure.
propertymgr.XMLPropertyManager).
log4j:WARN Please initialize the log4j system properly.
Exception in thread "main" java.lang.NoClassDefFoundError: javax/ejb/CreateExcep
tion
        at com.tibco.mdm.infrastructure.propertymgr.XMLPropertyManager.extractSe
rverProperties(XMLPropertyManager.java:297)
        at com.tibco.mdm.infrastructure.propertymgr.XMLPropertyManager.init(XMLP
ropertyManager.java:207)
        at com.tibco.mdm.infrastructure.propertymgr.PropertyManager.refresh(Prop
ertyManager.java:213)
        at com.tibco.mdm.infrastructure.propertymgr.PropertyManager.init(Propert
yManager.java:76)
        at com.tibco.mdm.infrastructure.propertymgr.MqPropertiesUtil.init(MqProp
ertiesUtil.java:63)
        at com.tibco.mdm.util.unixsimulation.BatTask.getProperty(BatTask.java:90
)
        at com.tibco.mdm.util.unixsimulation.Common.go(Common.java:32)
        at com.tibco.mdm.util.unixsimulation.BatTask.goWrite(BatTask.java:72)
        at com.tibco.mdm.util.unixsimulation.Common.main(Common.java:53)
Caused by: java.lang.ClassNotFoundException: javax.ejb.CreateException

Cause:
This exeception is thrown because script could not find the member in the ConfigValues.xml
This member name is taken from the NODE_ID.


Resolution:
Set the NODE_ID ennvironment variable to have same value as the server name in the ConfigValues.xml or Configurator.
Attachments:

None

References:

None

Issue/Introduction

Unable to execute textIndexMigration.sh/bat script