Problems getting TPTP to work [message #128319] |
Fri, 11 April 2008 10:51 |
Eclipse User |
|
|
|
Originally posted by: MacAdam.eden.invalid
Hi,
In the search for the causes of a memory leak I wanted to try out TPTP.
I downloaded the runtime for TPTPT-4.4.1, and installed the zipfile to
the parent directory of eclipse (trust me, these files are correctly
placed in D:\eclipse\features and D:\eclipse\plugins).
Next I tried to launch the sample application using the 'launch
profiling' button.
1. I had no 'Profile' choice, but choose 'Open Profile Dialog ...'.
2. In the window that opened, I entered the data for the sample
application in the Main tab. In the Monitor tab I selected 'Memory
Analysis' at 'Java Profiling - JRE 1.5 or newer).
After pressing the 'Profile' button I got a warning window with reason:
"One of the selected launch delegates has failed.
Reason:"
(Note, no reason given!)
This warning had the following details:
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.execution.exceptions.AgentControll erUnavailableException:
Error: Unable to connect to the Agent Controller.Connection refused: connect
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)
at java.lang.Thread.run(Unknown Source)
So what do I need to do to be able to use TPTP?
(And I saw the AgentControllerUnavailableException. But I can not see
what I need to do to get the AgentController to work, beside following
the instructions, and finding out that setConfig.bat can not find JAXP,
which by the way is part of JDK 1.6).
Abel
|
|
|
|
Re: Problems getting TPTP to work [message #128410 is a reply to message #128383] |
Mon, 14 April 2008 07:20 |
Eclipse User |
|
|
|
Originally posted by: MacAdam.eden.invalid
Asaf Yaffe wrote:
> Abel,
>> So what do I need to do to be able to use TPTP?
>
> This is a known issue with the Integrated Agent Controller.
>> ...
> Try running SetConfig.bat from the directory it is located in (e.g., CD
> to the 'bin' directory before running it). This should solve the
> JAXP-related error and configure the Agent Controller.
>
> HTH,
> Asaf
>
Hi Asaf,
Thank you for your response. I already tried to run SetConfig.bat from
the directory from the DOS prompt. It generated the same error, and did
not configure the controller :-(.
Looking in the batch file I started to fiddle around with the line
resulting in the error message. I changed it from
@java -classpath ..\lib\config.jar
org.eclipse.tptp.platform.agentcontroller.config.TestJAXP > nul 2>&1
into:
java -classpath
D:\eclipse\plugins\org.eclipse.tptp.platform.agent_controlle r\bin >java
-classpath
D:\eclipse\plugins\org.eclipse.tptp.platform.agentcontroller _4.2.101.v200802221314\config.jar
org.eclipse.tptp.platform.agentcontroller.config.TestJAXP > nul 2>&1
Running this last line on its own on the command prompt did not result
in an error message. But this same line in the batch file resulted in
the following error message:
Exception in thread "main" java.lang.NoClassDefFoundError:
org/eclipse/tptp/platform/agentcontroller/config/SetConfig
Caused by: java.lang.ClassNotFoundException:
org.eclipse.tptp.platform.agentcontroller.config.SetConfig
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
Any suggestions on what I can do next?
Abel
|
|
|
|
Re: Problems getting TPTP to work [message #128434 is a reply to message #128422] |
Mon, 14 April 2008 12:53 |
Eclipse User |
|
|
|
Originally posted by: MacAdam.eden.invalid
Asaf Yaffe wrote:
> Abel,
>
> Please try downloading and using the standalone Agent Controller. Make
> sure to run its SetConfig script before launching it.
>
> HTH,
> Asaf
>
OK, thanks.
|
|
|
|
Re: Problems getting TPTP to work [message #128661 is a reply to message #128446] |
Sat, 19 April 2008 06:18 |
Eclipse User |
|
|
|
Originally posted by: himanshu.singh123.yahoo.co.in
Hi Igor,
Plz share the link with me from where I can download standalone Agent
Controller.
Currently I am using TPTP 4.4.1 All in one package which has complete
Eclipse Europa with TPTP profiling and monitering tools. I am also getting
the same problem.
Regards,
Himanshu
|
|
|
|
Powered by
FUDForum. Page generated in 0.04046 seconds