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

Dorodov,

If you get an error during initialization is is due to the fact the JVM
cannot find all of the necessary libraries to link-edit the profiler code.
If you add the \bin directory to your PATH (on Windows) this will be
sufficient.

Note:  When you run the profiler in standalone mode you do not need to have
the RAServer running.

Thanks,
Richard

"dorodov konstantin" <dorodovkostja@xxxxxxxx> wrote in message
news:b9m9ma$kq6$1@xxxxxxxxxxxxxxxx
> 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
>