Resolution:
Launching TIBCO BusinessEvents TEA Agent results in the following error.
19 Aug 2016 09:36:19,473 PDT -0700 ERROR main [com.tibco.tea.agent.be.launcher.BETeaAgentLauncher] - Failed to launch TIBCO BusinessEvents TEA Agent
com.tibco.cep.bemm.management.service.exception.ServiceInitializationException: Failed to initinalize instance of BEApplicationsManagementService
at com.tibco.cep.bemm.management.service.impl.BEApplicationsManagementServiceImpl.init(BEApplicationsManagementServiceImpl.java:160)
at com.tibco.tea.agent.be.BETeaAgentManager.initManagementServices(BETeaAgentManager.java:441)
at com.tibco.tea.agent.be.BETeaAgentManager.init(BETeaAgentManager.java:168)
at com.tibco.tea.agent.be.launcher.BETeaAgentLauncher.launch(BETeaAgentLauncher.java:75)
at com.tibco.tea.agent.be.launcher.BETeaAgentLauncher.main(BETeaAgentLauncher.java:60)
19 Aug 2016 09:36:19,473 PDT -0700 INFO Thread-0 [com.tibco.tea.agent.be.BETeaAgentManager] - Shutdown in progress..
19 Aug 2016 09:36:19,473 PDT -0700 INFO Thread-0 [com.tibco.cep.bemm.common.service.impl.MBeanServiceImpl] - Stopping MBeanService
19 Aug 2016 09:36:19,489 PDT -0700 INFO Thread-0 [com.tibco.cep.bemm.common.service.impl.MBeanServiceImpl] - Stoped MBeanService
19 Aug 2016 09:36:19,489 PDT -0700 INFO Thread-0 [com.tibco.tea.agent.be.BETeaAgentManager] - Shutdown Complete
Cause
= = = =
This issue could be caused by a corrupted repository. The BE TEA Agent loads data from the /repo folder during its startup and the repository may get corrupted with the previous inaccurate deployments and having the wrong references.
Resolution
= = = = =
Remove the contents from the /repo folder ($BE_HOME\teagent\repo) and start the BE TEA agent.