[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[news.eclipse.tools.hyades] Re: piAgent Profiler failure

Kostja,

It does the same for me. Try providing an actual class to profile and it 
works just fine, e.g.:

java -XrunpiAgent:server=standalone,file=log.trcxml Test

Cheers, Carl.

dorodovkostja@xxxxxxxx (dorodov konstantin) wrote in 
news:b9m9ma$kq6$1@xxxxxxxxxxxxx:

> Hi,
> 
> just tried to run piAgent standalone with next problem:
> 
> ------------------------------
> H:\>java -XrunpiAgent:help
> usage: -XrunpiAgent[:[help]|[<option>=<value>, ...]]
> 
> Option Name and Values  Description (Default value)
> ----------------------  ---------------------------
> file=<file>             Name of output file.  Only used when
> server=standalone.(trace.trcxml)
> filters=<file>          Name of filter definitions.  Only used when
> server=standalone.(filters.txt)
> mode=full|noObjectCorrelation   Collect object execution
> information?.(full)
> server=standalone|enabled|controlled|application        Specifies how the
> Agent is to be run.(enabled)
> Example: java -XrunpiAgent:file=log.trcxml <classname>
> 
> Error occurred during initialization of VM
> -Xrun library failed to init: piAgent
> 
> H:\>java -version
> java version "1.4.1_01"
> Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-b01)
> Java HotSpot(TM) Client VM (build 1.4.1_01-b01, mixed mode)
> ---------------------------------------------------------------
> 
> RAServer was running and configured with the same Java path.
> 
> does anyone have an idea?
> 
> Kostja
>