Products | Versions |
---|---|
TIBCO BusinessEvents Enterprise Edition | 5.6 and later |
My BE TEA Agent fails to register with the TEA Server on startup. The error seen in the BE TEA Agent console is:
WARN main [agent.be.BETEAAgentAutoRegistrationTask] - Unable to register agent with name 'BE'.
Failure registering agent 'BE'.
You can also confirm the full version of the TEA Server by inspecting the first line in the tea.log:
2021-09-14 15:53:09,530 INFO lifecycle [ ] TIBCO Enterprise Administrator v2.3.0-HF9 (pid: 550724)
Shortly after the Failure registering agent line, you will find the corresponding ERROR-level message:
2021-09-14 15:45:35,719 INFO remoting [ b22ab02a0dcb-17be5d7e170-1 ] Failure registering agent 'BE'.
...
2021-09-14 15:45:35,721 ERROR error [ ] Agent type with ID BusinessEvents:6.1.1 not found
The message "Agent type with ID BusinessEvents:x.y.z not found" means that your TEA Server doesn't know about agent type 'BusinessEvents:6.1.1". This indicates that your TEA Server version does not support the version of BE you're using. In the above case, the TEA Server version is 2.3, which does not support BE 6.1.1. This is clarified in the README file for BE 6.1.1. Hence, the recommended solution would be to upgrade TEA Server to version 2.4.
DEBUG teagent-pinger [org.eclipse.jetty.client.HttpClient] - Created HttpDestination[http://teaserverr:8777]@3a0fa0bc,queue=0,pool=DuplexConnectionPool@5a6bbbd7[c=0/64,a=0,i=0]
DEBUG teagent-pinger [org.eclipse.jetty.client.HttpDestination] - Queued HttpRequest[PUT /teaa/task HTTP/1.1]@4f26ff04 for HttpDestination[http://teaserverr :8777]@3a0fa0bc,queue=1,pool=DuplexConnectionPool@5a6bbbd7[c=0/64,a=0,i=0]
java.net.UnknownHostException: teaserverr
The underlying exception is 'UnknownHostException', which means the machine running the BE TEA Agent can't identify the TEA Server host 'teaserverr'. So in this case, there is a simple typo in the be.tea.server.url value (which needs to be changed to 'teaserver').
INFO console [ server/web-server ] Web Server Started at http://teaserver:8777/
In the above case, the correct value for be.tea.server.url is 'http://teaserver:8777/tea'.
DEBUG HttpClient@971690423-66 [org.eclipse.jetty.client.HttpClientTransport] - Could not connect to HttpDestination[http://teaserver:8777]@4caf875c,queue=1,pool=DuplexConnectionPool@5d15789f[c=1/64,a=0,i=0]
In this case, you should work with your IT/network team to determine why the TEA Agent machine cannot make a tcp connection to the TEA Server over the expected port (8777).