When using TIBCO ActiveSpaces (AS) Channel it throws com.tibco.as.space.ASException: OPERATION_TIMEOUT error on put to AS Channel.

When using TIBCO ActiveSpaces (AS) Channel it throws com.tibco.as.space.ASException: OPERATION_TIMEOUT error on put to AS Channel.

book

Article ID: KB0089968

calendar_today

Updated On:

Products Versions
TIBCO BusinessEvents Enterprise Edition -
Not Applicable -

Description

Resolution:
Description:
============
When  trying to insert a tuple through TIBCO BusinessEvents (BE) the following exception  is thrown:

Got runtime exception while executing Rule be.gen.Rules.Put(Rules.Put) Action be.gen.Rules.Put$Put_a@3857a5c5 Objects &ltbe.gen.Events.Receive@id=4@extId=5675689>
java.lang.RuntimeException: com.tibco.as.space.ASException: OPERATION_TIMEOUT (space_not_ready - module_name=ms1.testspace, request_id=&ltResourceId> a07de5e-c352-5130eab3-332-53 </ResourceId>)
    at com.tibco.cep.functions.channel.as.ASChannelFunctionsImpl.putEvent(ASChannelFunctionsImpl.java:148)
    at com.tibco.cep.functions.channel.as.ASChannelFunctions.putEvent(ASChannelFunctions.java:214)
    at be.gen.Rules.Put$Put_a.execute(Put.java:39)
    at com.tibco.cep.kernel.core.rete.ReteWM.resolveConflict(SourceFile:322)
    at com.tibco.cep.kernel.core.rete.ReteWM.void(SourceFile:298)
    at com.tibco.cep.kernel.core.rete.ReteWM.assertObject(SourceFile:1645)
    at com.tibco.cep.runtime.session.impl.RuleSessionImpl.assertObject(RuleSessionImpl.java:1363)
    at com.tibco.cep.runtime.service.debug.DebugTaskImpl.run(DebugTaskImpl.java:153)
    at com.tibco.cep.runtime.service.debug.DebuggerService.processTask(DebuggerService.java:228)
    at com.tibco.cep.runtime.service.debug.DebuggerService.run(DebuggerService.java:209)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
    at java.lang.Thread.run(Thread.java:722)



Environment:
==========
BE 5.1.x; All

Cause:
=====
The AS space is initialized but not in ready status. The user must run the AS-Agent (seeder) before joining the inference agent from BE. Running AS-Agent keeps the  space in ready status and then BE can do put/gets on the space.


Resolution:
=========
run the AS-Agent to keep the space in a ready state for BE.

Issue/Introduction

When using TIBCO ActiveSpaces (AS) Channel it throws com.tibco.as.space.ASException: OPERATION_TIMEOUT error on put to AS Channel.