Bug 534360 (RHQ-1164) - QA should turn on large message warnings
Summary: QA should turn on large message warnings
Keywords:
Status: CLOSED NOTABUG
Alias: RHQ-1164
Product: RHQ Project
Classification: Other
Component: Tests
Version: unspecified
Hardware: All
OS: All
medium
medium
Target Milestone: ---
: ---
Assignee: RHQ Project Maintainer
QA Contact:
URL: http://jira.rhq-project.org/browse/RH...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-11-21 15:13 UTC by Charles Crouch
Modified: 2015-02-01 23:24 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Enhancement
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-08-18 15:36:36 UTC
Embargoed:


Attachments (Terms of Use)

Description Charles Crouch 2008-11-21 15:13:00 UTC
Since RHQ-1145 has been implemented we need to actually use this feature to see if we have any more problems with large messages to/from the agent.


Comment 1 John Mazzitelli 2008-11-21 17:25:40 UTC
Read here to learn how to turn this on:

http://support.rhq-project.org/display/RHQ/Design-DebuggingCommunications

Basics:

1) Go to the agent's log4j.xml file and turn NONE to TRACE under the OutgoingCommandTrace category:

<category name="org.rhq.enterprise.communications.command.client.OutgoingCommandTrace">
   <priority value="TRACE"/>
   <appender-ref ref="COMMANDTRACE"/>
</category>

This assumes you are  NOT using RHQ_AGENT_DEBUG=true. If you are, then copy log4j.xml and name it log4j-debug.xml and make the same change described above to it.

2) when you start the agent, pass in these options to rhq-agent.bat/sh:

-Drhq.trace-command-size-threshold=99999 -Drhq.trace-command-response-size-threshold=99999

This will log messages in the command-trace.log if a command or response object is 100K large or larger.  I think that should be a good threshold to look for.

Comment 2 John Mazzitelli 2008-12-12 21:37:51 UTC
You can use the agent prompt command "debug --comm=true" to turn on this tracing with a set of default rhq.trace-command sysprop settings.

Comment 3 Red Hat Bugzilla 2009-11-10 20:27:07 UTC
This bug was previously known as http://jira.rhq-project.org/browse/RHQ-1164


Comment 4 wes hayutin 2010-02-16 15:45:01 UTC
mass move off the qa triage list.  These are tasks for dev.

Comment 5 Corey Welton 2010-08-18 15:36:36 UTC
Closing per triage, though will open a new qe task against provisioning so QE can see how this is used.


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