at Native.API_Metaspace_Connect(ApiMetaspace.cpp:22)
at Native.Java_com_tibco_as_space_impl_NativeImpl_connect(MetaspaceMessage.cpp:34)
at com.tibco.as.space.impl.NativeImpl.connect(Native Method)
at com.tibco.as.space.impl.ASMetaspace.<init>(ASMetaspace.java:148)
at com.tibco.as.space.agent.AgentConsole.run(AgentConsole.java:316)
at com.tibco.as.space.agent.AgentConsole.main(AgentConsole.java:44)
Cause: This is the result of a jar mismatch.
Issue/Introduction
Java version of as-agent fails to start.
Resolution
Check the PATH/LD_LIBRARY_PATH to see if it points to the correct ActiveSpaces lib folder. This usually happens when you run ActiveSpaces but the PATH points to a different ActiveSpaces version.
Another solution is use parameter –Djava.ext.dirs and point to the ActiveSpaces lib folder. For example,