Description of problem: prefs.xml file disappears after agent restart with the ./rhq-agent-wrapper.sh start and stop command How reproducible: rarely Steps to Reproduce: 1.Server and agent isntalled 2.restart the agent with the ./rhq-agent-wrapper.sh start and stop command Actual results: sometimes after the stop command the ~/.java/.userPrefs/rhq-agent/default/prefs.xml file disappears and the agent cannot register to the server as the token uis unknown Expected results: agent can successfully register to the server Additional info: two files were added: after reproducing the problem, the end of the agent.log and the content of the .java/.userPrefs/ continuously displayed