[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[News.eclipse.test-and-performance] Re: problems with profiling tools

Hi Sam,


The log didn't show any error in it. Although we haven't tested Agent
Controller on Windows XP SP2, I have heard from many that the built-in
firewall causes a lot of trouble with networking application. Do you have
Windows built-in firewall (or any other firewall software) enabled on your
machines? I have run some testing on an SP2 machine and Windows poped up

No, I have it disabled, because I use Kerio as firewall. But this was the first what I thought the problem is. I can confirm the problem persist even when the firewall is disabled.


On another topic, "-XrunpiAgent:server=standalone" mode profiling does not
use the RAC at all. It will just write to a trace file "trace.trcxml" and
you can later import this file into Eclipse for viewing.
"-XrunpiAgent:server=controlled" mode will load the java program but not
running it until the java profiling agent is attached and monitored by
Eclipse workbench. "-XrunpiAgent:server=enabled" mode is like the
"controlled" mode except that it will start running the java program and let
Eclipse attach anytime it wants.

So it at least clarifies that the problem is not in the too short execution time of the profiled program. Yes, I am able to import the trace logs from "standalone" mode, but still I think the profilling managed by Eclipse/Hyades gives me more advantages.


BTW, since you are running under the 852 code page, do you have any
non-ASCII character in your classpath anywhere? There was a bug in Hyades
3.1 that it cannot handle non-ASCII paths correctly and was fixed in the
latest Hyades 3.2 driver. It would worth trying to change the code page to
437 and rerun the SetConfig.bat scripts just to confirm that it is not some
encoding problem with the config file - and of course you will need to
restart RAServer.

No change. I also moved rac to C:\\hyades_rac and adjusted system variables to following this change, to be sure there is on problem with spaces in path ("Program files" folder). It also makes no difference.


I even tried to accept the connections to RAServer from "ALL", not only "LOCAL". Still the same.

But What I forgot to mention is that there are actually two errors. First the IWAT0113E error apperas stating that the configuration is wrong or RAServer not running. If I click its OKay button, after a while appears another box with error IWAT0008E (about launching error of the application, which states that either RAServer is not started or Java Path is incorrect). But if I choose "Run" in Eclipse instead of "Profile", the test program runs fine.

David