there needs to be a new servlet deployed in the server that will provide HTTP GET access allow clients to know what version the most up-to-date agent is on and to actually download the agent binary. For more info, see http://support.rhq-project.org/display/RHQ/Design-AgentAutoUpdate
svn rev 1846 most of the servlet is done -just need to extract the agent version info and store it so we can serve it back to agents. either that, or get our build scripts to extract the info for us
svn rev 1853 the servlet will look for a file in rhq-downloads/rhq-agent called rhq-agent*.jar. If it finds it, it will use that as the agent update binary that gets streamed to the client when HTTP GET /agenetupdate/download in that .jar file, servlet will assume it will find a rhq-agent-update-version.properties file - if it finds it, it will use its content (along with the server's version and build number) to create an internal file that we stream to HTTP clients when they HTTP GET /agentupdate/version.
for the most part, this servlet is done. might be able to add more configurability to it later, specifically for the abilty to turn off agent updates. for now, rhq-server.properties has a setting that, if you set to 0, disables agent updates for that server (i.e. HTTP clients cannot access the agentupdate/[version,download] URLs.
This bug was previously known as http://jira.rhq-project.org/browse/RHQ-1026