Dump data on request in tcpclient mode

859 views
Skip to first unread message

sb...@tibco.com

unread,
Jan 6, 2015, 3:30:50 AM1/6/15
to jac...@googlegroups.com
Hi,
I'm using the agent in tcpclient mode and I need to dump data on the fly (not waiting till JVM exits).
It seems it is possible, the doc says for tcpclient mode "Execution data is written to the socket connection on request..."
How do I do that "on request" dump ?
The associated example ExecutionDataServer seems to dump only on JVM exit.

Marc Hoffmann

unread,
Jan 6, 2015, 4:38:07 AM1/6/15
to jac...@googlegroups.com
Hi,

you need to send a dump command via this API:

RemoteControlWriter.visitDumpCommand(true, false)

See ExecutionDataClient example. The protocol is the same for both
tcp/ip connection modes, the only difference is how the connection is
established.

Regards,
-marc

sb...@tibco.com

unread,
Jan 6, 2015, 6:34:32 PM1/6/15
to jac...@googlegroups.com
Got it! thanks Marc
Reply all
Reply to author
Forward
This conversation is locked
You cannot reply and perform actions on locked conversations.
0 new messages