Receive "com.tibco.as.space.ASException: SYS_ERROR (space_def_not_found name=foobar)" while connecting to an ASChannel.
book
Article ID: KB0090294
calendar_today
Updated On:
Products
Versions
TIBCO BusinessEvents Enterprise Edition
-
Not Applicable
-
Description
Resolution: Description: ========== Create an ASChannel, set it as SEEDER and when starting BE "com.tibco.as.space.ASException: SYS_ERROR (space_def_not_found name=foobar)" will be thrown.
Envrionment: =========== TIBCO BusinessEvents 5.x
Symptoms: ========= I created an ASChannel, set it as SEEDER and when I started BE I caught the following exception: >>>>>>>>>>>>>>>>>>>> 2013 May 13 12:59:19:631 GMT -4 rcdeabreu-lt.na.tibco.com Info [main] - [driver.as] connect to metaspace:ms1 [2013-05-13 12:59:19:757][12020][12760][INFO][transport] ip_address=192.168.59.1 port=50001 [2013-05-13 12:59:19:910][12020][8948][INFO][ms1.$members] member joined: 192.168.59.1:50000 [2013-05-13 12:59:19:911][12020][8948][INFO][ms1.$members] member joined: 192.168.59.1:50002 [2013-05-13 12:59:19:911][12020][8948][INFO][ms1.$members] member joined: 192.168.59.1:50001 [2013-05-13 12:59:19:911][12020][12760][INFO][ms1.metaspace] Connected metaspace name=[ms1], listen=[tcp://192.168.59.1:50001], discovery=[tibpgm://8023/0.0.0.0;239.8.8.8], member name=[c0a83b01-c351] version=2.0.2.010 2013 May 13 12:59:19:963 GMT -4 rcdeabreu-lt.na.tibco.com Info [main] - [driver.as] Start to connect space foobar at 2723642467307920 2013 May 13 12:59:19:981 GMT -4 rcdeabreu-lt.na.tibco.com Fatal [main] - [container.standalone] SYS_ERROR (space_def_not_found name=foobar) com.tibco.as.space.ASException: SYS_ERROR (space_def_not_found name=foobar) at Native.EntryManager::get(EntryManager.cpp:1202) at Native.SpaceManager::createSpace(SpaceManager.cpp:701) at Native.Metaspace::createSpace(Metaspace.cpp:647) at Native.API_Metaspace_JoinSpace(ApiMetaspace.cpp:351) at Native.Java_com_tibco_as_space_impl_NativeImpl_metaspaceJoinSpace(MetaspaceMessage.cpp:170) at com.tibco.as.space.impl.NativeImpl.metaspaceJoinSpace(Native Method) at com.tibco.as.space.impl.ASMetaspace.getSpace(ASMetaspace.java:567) at com.tibco.as.space.impl.ASMetaspace.getSpace(ASMetaspace.java:534) at com.tibco.cep.driver.as.internal.ASDestination.connect(ASDestination.java:81) at com.tibco.cep.driver.as.internal.ASChannel.connect(ASChannel.java:68) at com.tibco.cep.runtime.channel.impl.ChannelManagerImpl.connectChannels(ChannelManagerImpl.java:245) at com.tibco.cep.runtime.session.impl.RuleServiceProviderImpl.startAll(RuleServiceProviderImpl.java:981) at com.tibco.cep.runtime.session.impl.RuleServiceProviderImpl.configure(RuleServiceProviderImpl.java:219) at com.tibco.cep.container.standalone.BEMain.jumpStart(SourceFile:155) at com.tibco.cep.container.standalone.BEMain.main(SourceFile:69) System exit requested by thread [main] with status: -1 System.exit(..) will be invoked now with status: -1 <<<<<<<<<<<<<<<<<
Cause: ===== ASChannel does not create or initialize any space. It only connects to the TIBCO ActiveSpaces metaspace and space. The AS metaspace and spaces need to be created and initialized before AS client connects to it.
Resolution: ========== Create and initialize AS metaspace and spaces in prior to starting BE engine.
Issue/Introduction
Receive "com.tibco.as.space.ASException: SYS_ERROR (space_def_not_found name=foobar)" while connecting to an ASChannel.