Failed to start TIBCO BusinessEvents (BE) agent - Error "com.tibco.as.space.RuntimeASException: invalid first character of field name '_'"
book
Article ID: KB0072053
calendar_today
Updated On:
Products
Versions
TIBCO BusinessEvents Enterprise Edition
5.x/6.x
Description
An error was reported when starting an agent with TIBCO ActiveSpaces 2.x as cache provider (project was migrated from version 4.x).
Error:
<timestamp> <agent> Info [<thread>] - [runtime.service] Started [ASEntityDao] for entity [<entityURL>] with cache name [<spaceNameEntity>]
<timestamp> <agent> Info [<thread>] - [runtime.service] Initialization of entity [<entityURL>] failed. Shutting down this node.
com.tibco.as.space.RuntimeASException: invalid first character of field name '_'
at com.tibco.as.space.impl.data.spacedef.ASFieldDef.verifyName(ASFieldDef.java:69)
at com.tibco.as.space.impl.data.spacedef.ASFieldDef.<init>(ASFieldDef.java:102)
at com.tibco.as.space.FieldDef.create(FieldDef.java:115)
...
Environment
All Operating Systems
Resolution
Field names starting with "_" are not allowed and you cannot start the agent if Cache is enabled and the cache provider is set to "Legacy ActiveSpaces". To be able to start the agent, it is necessary to change the project and rename the field name to a supported name.
Note: In BE version 5.x/6.x, you cannot add field names that start with "_" in TIBCO BusinessEvent Studio. An "Invalid property name <propName>" error is reported.
Issue/Introduction
Failed to start TIBCO BusinessEvents (BE) agent - Error "com.tibco.as.space.RuntimeASException: invalid first character of field name '_'"