In BusinessEvents 4.0.0,"Cannot read CDD" exception is thrown when trying to start the Rules Management Server(RMS) from the command line.

In BusinessEvents 4.0.0,"Cannot read CDD" exception is thrown when trying to start the Rules Management Server(RMS) from the command line.

book

Article ID: KB0088192

calendar_today

Updated On:

Products Versions
TIBCO BusinessEvents Enterprise Edition -
Not Applicable -

Description

Resolution:
Description:
============
In BusinessEvents 4.0.0,  "Cannot read CDD" exception is thrown when trying to start the Rules Management Server(RMS) from the command line.

Environment:
==========
TIBCO BusinessEvents 4.0.0
TIBCO Rules Management Server(RMS)

Symptoms:
=========
RMS throws the following exception -

C:\tibco\be\4.0\rms\bin&gtbe-rms.exe
Using property file: C:\tibco\be\4.0\rms\bin\be-rms.tra
java.lang.RuntimeException: Cannot read CDD:default.cdd
         at com.tibco.cep.runtime.session.RuleServiceProviderManager.createBEProp
erties(RuleServiceProviderManager.java:101)
         at com.tibco.cep.runtime.session.RuleServiceProviderManager.newProvider(
RuleServiceProviderManager.java:301)
         at com.tibco.cep.container.standalone.BEMain.jumpStart(BEMain.java:110)
         at com.tibco.cep.container.standalone.BEMain.main(BEMain.java:52)
Caused by: java.lang.NullPointerException
         at java.io.File.&ltinit>(File.java:222)
         at com.tibco.cep.runtime.session.RuleServiceProviderManager.readCdd(Rule
ServiceProviderManager.java:180)
         at com.tibco.cep.runtime.session.RuleServiceProviderManager.createBEProp
erties(RuleServiceProviderManager.java:99)
         ... 3 more
System exit requested by thread [main] with status: -1
System.exit(..) will be invoked now with status: -1


Cause:
=====
CDD (Cluster Deployment Descriptor) file and processing unit are not specified as RMS.ear .


Resolution:
=========

1). For starting from the commnad line :

    &ltBE_4.0_HOME>\rms\bin\be-rms.exe -u default -c "&ltBE_4.0_HOME>\rms\bin\RMS.cdd" "&ltBE_4.0_HOME&gtrms\bin\RMS.ear"


2). Go to:

     Start Menu-> TIBCO-&gtBE_4.0_HOME -> TIBCO Business Events4.0-&gtStart Rules Management Server.

References::
==========
For more information for starting the 4.0.0 application from the command line refer to the section "Start the Engine and Run the Application" in "tib_be_getting_started.pdf" documentation.

Issue/Introduction

In BusinessEvents 4.0.0,"Cannot read CDD" exception is thrown when trying to start the Rules Management Server(RMS) from the command line.