|Unable to profile application "Read timed out" response from Agent Controller [message #140302]
||Thu, 12 February 2009 06:47
Originally posted by: chwalker.uk.ibm.com|
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
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:
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.
org.eclipse.tptp.platform.jvmti.client.internal.launcher.TID elegateHelper.connectToAgentController(TIDelegateHelper.java :415)
at java.lang.Thread.run(Unknown Source)
Error: Unable to connect to the Agent Controller.Read timed out
org.eclipse.tptp.platform.execution.util.internal.AgentContr ollerFactory$EstablishConnection.run(AgentControllerFactory. java:126)
... 1 more
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?
|Re: Unable to profile application "Read timed out" response from Agent Controller [message #140478 is a reply to message #140369]
||Wed, 18 February 2009 18:28
| Eugene Chan
Registered: July 2009
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
On the workbench side:
- create an Attach to Java launch configuration and select the target host
and the process launched for attach.
"Chris Walker" <email@example.com> wrote in message
> 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.
Powered by FUDForum
. Page generated in 0.01588 seconds