TPTP and Java Web Start [message #47904] |
Thu, 22 December 2005 05:03  |
Eclipse User |
|
|
|
Originally posted by: Jose.Paumard.wanadoo.fr
Hi all,
I'm having troubles profiling a client launched using Java Web Start (TPTP
4.1, used in Eclipse 3.1, on Windows XP).
The agent is launched correctly, the JWS application is launched using a
special command lines that loads the JNLP localy, with the
-XrunpiAgent:enabled option added to it. This command line stuff is used
to debug the JWS application.
The application is correctly launched, but when I try to connect to the
agent :
1) it doesnt shows the process in which my application runs (process shown
are java.exe, my app is in a javaw.exe). I tried to change the JVM option
in the config file, with no success
2) when I try to gather data in the Eclipse perspective, nothing happens
and that process java.exe dies.
Thanks for any hints you could give,
José
|
|
|
|
Re: TPTP and Java Web Start [message #48088 is a reply to message #47904] |
Fri, 23 December 2005 07:23   |
Eclipse User |
|
|
|
Originally posted by: osadeh.gmail.com
José Paumard wrote:
> Hi all,
> I'm having troubles profiling a client launched using Java Web Start
> (TPTP 4.1, used in Eclipse 3.1, on Windows XP).
> The agent is launched correctly, the JWS application is launched using a
> special command lines that loads the JNLP localy, with the
> -XrunpiAgent:enabled option added to it. This command line stuff is used
> to debug the JWS application.
> The application is correctly launched, but when I try to connect to the
> agent : 1) it doesnt shows the process in which my application runs
> (process shown are java.exe, my app is in a javaw.exe). I tried to
> change the JVM option in the config file, with no success
> 2) when I try to gather data in the Eclipse perspective, nothing happens
> and that process java.exe dies.
> Thanks for any hints you could give,
> José
>
Hi,
I am using the JAVAWS_VM_ARGS environment variable to pass variables to
WebStart instead of messing with the command line. Also I often use
Process Explorer
(http://www.sysinternals.com/Utilities/ProcessExplorer.html) to see the
exact command line of a running application and verify that my arguments
were passed correctly.
Oren
|
|
|
|
Powered by
FUDForum. Page generated in 0.24533 seconds