TIBCO BusinessEvents (BE) RuleManagementServer (RMS) - java.lang.reflect.UndeclaredThrowableException is thrown when Build and Deploy from Web Studio
book
Article ID: KB0079747
calendar_today
Updated On:
Products
Versions
TIBCO BusinessEvents Enterprise Edition
5.5.0
Description
RMS server reports below exception when ObjectManagement is set to "Memory Only" for the deployed BE application that loads the Decision Table class files from file system on hot deployment from Web Studio.
<timestamp> <engineName> [$default.be.mt$.Worker.<number>] - [WebStudio.Core.Rules.Lifecycle.WS_R_StatusChangeActivitiesRule] [WS-Inference-class] Exception during status change com.tibco.cep.runtime.model.exception.impl.BEExceptionImpl: java.lang.RuntimeException: java.lang.reflect.UndeclaredThrowableException at com.tibco.be.functions.exception.ExceptionHelper.newException(SourceFile:41) at be.gen.WebStudio.Core.RuleFunctions.Actions.Lifecycle.Review.nullWS_RF_PerformPostStatusChangeActivities$oversizeName.WS_RF_PerformPostStatusChangeActivities(nullWS_RF_PerformPostStatusChangeActivities$oversizeName.java:51) at be.gen.WebStudio.Core.RuleFunctions.Actions.Lifecycle.Review.nullWS_RF_PerformStatusChangeInWSForWS$oversizeName.WS_RF_PerformStatusChangeInWSForWS(nullWS_RF_PerformStatusChangeInWSForWS$oversizeName.java:95) at be.gen.WebStudio.Core.Rules.Lifecycle.WS_R_StatusChangeActivitiesRule$WS_R_StatusChangeActivitiesRule_a.execute(WS_R_StatusChangeActivitiesRule.java:101) at com.tibco.cep.kernel.core.rete.ReteWM.resolveConflict(ReteWM.java:401) at com.tibco.cep.kernel.core.rete.ReteWM$6.doTxnWork(ReteWM.java:1569) at com.tibco.cep.kernel.core.rete.BeTransaction.run(BeTransaction.java:141) at com.tibco.cep.kernel.core.rete.BeTransaction.execute(BeTransaction.java:101) at com.tibco.cep.kernel.core.rete.ReteWM.executeRules(ReteWM.java:1586) at com.tibco.cep.runtime.session.impl.RuleSessionImpl$1.doTxnWork(RuleSessionImpl.java:763) at com.tibco.cep.kernel.core.rete.BeTransaction.run(BeTransaction.java:156) at com.tibco.cep.kernel.core.rete.BeTransaction.execute(BeTransaction.java:101) at com.tibco.cep.runtime.session.impl.RuleSessionImpl.invokeFunction(RuleSessionImpl.java:767) at com.tibco.cep.runtime.session.impl.RuleSessionImpl.invokeFunction(RuleSessionImpl.java:731) at com.tibco.cep.runtime.session.impl.RuleSessionImpl.invokeFunction(RuleSessionImpl.java:727) at com.tibco.cep.driver.http.server.impl.servlet.PageFlowServlet$RuleFunctionExecTask.run(PageFlowServlet.java:419) at com.tibco.cep.runtime.session.BEManagedThread.execute(BEManagedThread.java:457) at com.tibco.cep.runtime.session.BEManagedThread.run_from_queue(BEManagedThread.java:397) at com.tibco.cep.runtime.session.BEManagedThread.run(BEManagedThread.java:294)
Issue/Introduction
TIBCO BusinessEvents (BE) RuleManagementServer (RMS) - java.lang.reflect.UndeclaredThrowableException is thrown when Build and Deploy to an In-Memory BE project (ObjectManagement "Memory only" set for deployed BE application)
Environment
All Operating Systems
Resolution
When cache is not enabled (In-Memory project) on the TIBCO BusinessEvents application it is required to add below property in RMS.cdd file to the hot-deployment section and set the value to true.