Eclipse Community Forums - RDF feed
https://www.eclipse.org/forums/
Eclipse Community ForumsUnable to profile application "Read timed out" response from Agent Controller
https://www.eclipse.org/forums/index.php/mv/msg/43159/140302/#msg_140302
Originally posted by: chwalker.uk.ibm.com
Hi
I'm very new to using TPTP but have been struggling with the following
configuration. My setup is:
- Eclipse Platform 3.4.1 running on WinXP
- TPTP Plugin version 4.5.1
- Java 1.5
- Remote Agent Controller 4.3.0 running on z/OS (latest version of a
z/OS controller)
I have been able to successfully deploy and profile a simple HelloWorld
Java application under this setup but anything more complex seems fail
with the following error:
<snip>
Agent Controller is unavailable under port 10002. Make sure that the
service is started and the port number is correct under preferences.
org.eclipse.core.runtime.CoreException: Agent Controller is unavailable
under port 10002. Make sure that the service is started and the port
number is correct under preferences.
at
org.eclipse.tptp.trace.ui.internal.launcher.core.LauncherUti lity.createCoreException(LauncherUtility.java:124)
at
org.eclipse.tptp.platform.jvmti.client.internal.launcher.TID elegateHelper.connectToAgentController(TIDelegateHelper.java :415)
at
org.eclipse.tptp.platform.jvmti.client.internal.launcher.TID elegateHelper.launch(TIDelegateHelper.java:322)
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:1164)
at
org.eclipse.tptp.trace.ui.provisional.launcher.PrimaryLaunch Delegate.run(PrimaryLaunchDelegate.java:195)
at java.lang.Thread.run(Unknown Source)
Caused by:
org.eclipse.tptp.platform.execution.exceptions.AgentControll erUnavailableException:
Error: Unable to connect to the Agent Controller.Read timed out
at
org.eclipse.tptp.platform.execution.client.core.internal.Nod eImpl.connect(NodeImpl.java:128)
at
org.eclipse.tptp.platform.execution.util.internal.AgentContr ollerFactory$EstablishConnection.run(AgentControllerFactory. java:126)
... 1 more
</snip>
The principal error message (the Agent Controller is unavailable under
port 10002) is untrue as I know a connection is made and accepted from
the Agent Controller log (servicelog.log) and that the HelloWorld test
seemed to work. The key error seemes to be the "Read timed out" implying
a missing response back from the controller?
My guess therefore is that either there is some kind of incompatibility
between the Agent Controller or I have incorrectly configured my
application in the Profile Configurations. Potentially the classpath but
this is a simple app with 2 Jar's needed on the classpath only.
Has anyone hit this problem before or have tips to overcome it?
Regards
Chris]]>2009-02-12T11:47:12-00:00Re: Unable to profile application "Read timed out" response from Agent Controller
https://www.eclipse.org/forums/index.php/mv/msg/43159/140347/#msg_140347
Please attempt using Java 1.4.2 on the agent controller. My guess is that
the workbench is seeing Java 1.5.0 on your Z/OS agent controller, and
therefore defaulting to using an unsupported Java profiler (the Java 1.5+
JVMTI profiler) which is unavailable for Z/OS.
Let me know what happens...]]>Jonathan West2009-02-12T17:31:52-00:00Re: Unable to profile application "Read timed out" response from Agent Controller
https://www.eclipse.org/forums/index.php/mv/msg/43159/140369/#msg_140369
Originally posted by: chwalker.uk.ibm.com
Hi Jonathan,
Thanks for the tip. I'm in the process of running the test however, the
remote application I wish to profile pre-req's Java 5.0. Unless this
could be worked around then I fear this could be a real blocker to any
progress.
Regards]]>2009-02-16T16:30:09-00:00Re: Unable to profile application "Read timed out" response from Agent Controller
https://www.eclipse.org/forums/index.php/mv/msg/43159/140478/#msg_140478
Unfortunately you need to setup the Agent Controller with JVM 1.4 to enabled
JVMPI profiler to work. However, you can try work around the problem by
launching your application as a standalone launch outside of workbench on
the target system:
On the remote system:
- start the Agent Controller
- make sure the AgentController/bin libraries are in the PATH
- launch your application with java -XrunpiAgent:server=controlled
yourApplication.
On the workbench side:
- create an Attach to Java launch configuration and select the target host
and the process launched for attach.
HTH
Eugene.
"Chris Walker" <chwalker@uk.ibm.com> wrote in message
news:gnc4al$4vm$1@build.eclipse.org...
> Hi Jonathan,
>
> Thanks for the tip. I'm in the process of running the test however, the
> remote application I wish to profile pre-req's Java 5.0. Unless this could
> be worked around then I fear this could be a real blocker to any progress.
>
> Regards]]>Eugene Chan2009-02-18T23:28:45-00:00