Time-out when launching the process [message #110309] |
Mon, 27 August 2007 08:51  |
Eclipse User |
|
|
|
Originally posted by: mauro.molinari.cardinis.com
Hello,
I still have problems to use TPTP on my machine.
I made an HelloWorld application. When I try to profile it, I get a
"warning" dialog with the text:
One of the selected launch delegates has failed.
Reson:
< nothing written here!! >
If I click on details, I find the following exception:
org.eclipse.core.runtime.CoreException
A time-out occurred while attempting to launch the process
org.eclipse.core.runtime.CoreException: A time-out occurred while
attempting to launch the process
at
org.eclipse.tptp.trace.ui.internal.launcher.core.LauncherUti lity.createCoreException(LauncherUtility.java:123)
at
org.eclipse.tptp.trace.ui.internal.launcher.core.LauncherUti lity.createCoreException(LauncherUtility.java:131)
at
org.eclipse.tptp.platform.jvmti.client.internal.launcher.TID elegateHelper.handleError(TIDelegateHelper.java:596)
at
org.eclipse.tptp.platform.jvmti.client.internal.launcher.TID elegateHelper.launchProcess(TIDelegateHelper.java:512)
at
org.eclipse.tptp.platform.jvmti.client.internal.launcher.TID elegateHelper.launch(TIDelegateHelper.java:312)
at
org.eclipse.tptp.platform.jvmti.client.internal.launcher.TIJ avaLauncherDelegate.launch(TIJavaLauncherDelegate.java:37)
at
org.eclipse.tptp.trace.ui.internal.launcher.core.LauncherUti lity.delegateInit(LauncherUtility.java:1153)
at
org.eclipse.tptp.trace.ui.provisional.launcher.PrimaryLaunch Delegate.run(PrimaryLaunchDelegate.java:196)
at java.lang.Thread.run(Unknown Source)
On the log I find:
!ENTRY org.eclipse.hyades.trace.ui 4 4 2007-08-27 14:47:16.890
!MESSAGE A time-out occurred while attempting to launch the process
!STACK 1
org.eclipse.core.runtime.CoreException: A time-out occurred while
attempting to launch the process
at
org.eclipse.tptp.trace.ui.internal.launcher.core.LauncherUti lity.createCoreException(LauncherUtility.java:123)
at
org.eclipse.tptp.trace.ui.internal.launcher.core.LauncherUti lity.createCoreException(LauncherUtility.java:131)
at
org.eclipse.tptp.platform.jvmti.client.internal.launcher.TID elegateHelper.handleError(TIDelegateHelper.java:596)
at
org.eclipse.tptp.platform.jvmti.client.internal.launcher.TID elegateHelper.launchProcess(TIDelegateHelper.java:512)
at
org.eclipse.tptp.platform.jvmti.client.internal.launcher.TID elegateHelper.launch(TIDelegateHelper.java:312)
at
org.eclipse.tptp.platform.jvmti.client.internal.launcher.TIJ avaLauncherDelegate.launch(TIJavaLauncherDelegate.java:37)
at
org.eclipse.tptp.trace.ui.internal.launcher.core.LauncherUti lity.delegateInit(LauncherUtility.java:1153)
at
org.eclipse.tptp.trace.ui.provisional.launcher.PrimaryLaunch Delegate.run(PrimaryLaunchDelegate.java:196)
at java.lang.Thread.run(Unknown Source)
!SUBENTRY 1 org.eclipse.hyades.trace.ui 4 0 2007-08-27 14:47:16.890
!MESSAGE A time-out occurred while attempting to launch the process
Anybody can help to solve this problem? :-(
My OS is Windows 2000.
I'm using the IAC.
TPTP version is 4.4.0.2.
Thanks in advance.
Mauro.
|
|
|
|
Re: Time-out when launching the process [message #110544 is a reply to message #110507] |
Tue, 28 August 2007 09:50   |
Eclipse User |
|
|
|
Originally posted by: mauro.molinari.cardinis.com
Alexander N, Alexeev ha scritto:
> Mauro, could you describe you case more precisely
>
> - What JRE do you use for profiled executions
> - What type of profiling do you use ("Java application", "External Java
> application")
> - Can you find ACServer.exe in Task Manger after fault?
> - Please, provide full consecution of you actions.
> Alex.
Hi Alexander,
thank you for your help.
- well, I just noticed that there is no JRE tab in Profile Dialog.
Anyway, in Run Dialog I set up the corresponding run configuration to
use JRE 1.5.0_12; moreover, in Profile Dialog, for this configuration,
under Monitor tab I checked just "Execution Time Analysis" under "Java
Profiling - JRE 1.5 or newer"
- I use "Java application"
- yes, ACServer.exe is there after fault
- I wrote the following class:
package com.cardinis.test;
public class HelloWorld
{
public static void main(String[] args)
{
System.out.println("Ciao");
}
}
Then I ran it, creating a new Run configuration for it, named
"HelloWorld" and with no particular option (the mentioned JRE is the
default for my workspace).
The program runs fine and outputs "Ciao".
Then, I opened the Profile dialog and, for HelloWorld configuration
under "Monitor" tab I checked "Execution Time Analysis" under "Java
Profiling - JRE 1.5 or newer". Finally I clicked on Profile. From that
moment on, I just click on the "HelloWorld" option under the Profile
button drop-down menu. But the result is always the one I described in
my previous message.
I successfully profiled other applications on another PC with TPTP
4.4.0, running Linux. But I can't profile on mine! :-(
Mauro.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Re: Time-out when launching the process [message #115161 is a reply to message #114994] |
Wed, 10 October 2007 12:23  |
Eclipse User |
|
|
|
Originally posted by: mauro.molinari.cardinis.com
Igor Alelekov ha scritto:
> Hi Mauro,
> The build 200709101254 doesn't contain the fix.
> Please try a last build.
> Regards,
> Igor
>
You're right, sorry!
Actually, with the latest development build it works, using the
stand-alone agent controller.
It doesn't work yet with the IAC.
I'm writing in the bug report.
Thanks again!
Mauro.
|
|
|