Bug 1128172 - prefs.xml file disappears
Summary: prefs.xml file disappears
Keywords:
Status: NEW
Alias: None
Product: RHQ Project
Classification: Other
Component: Agent
Version: 4.6
Hardware: Unspecified
OS: Linux
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: Nobody
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-08-08 13:49 UTC by Yulia
Modified: 2022-03-31 04:27 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description Yulia 2014-08-08 13:49:27 UTC
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


Note You need to log in before you can comment on or make changes to this bug.