Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Test and Performance Tools Platform (TPTP) » CPU spikes to 100% in 'Open profile dialog' if TPTP installed to extension point
CPU spikes to 100% in 'Open profile dialog' if TPTP installed to extension point [message #107532] Sat, 04 August 2007 03:15 Go to next message
Vadim Dmitriev is currently offline Vadim DmitrievFriend
Messages: 74
Registered: July 2009
Member
Hi!
I'm having some problem with TPTP 4.4.0.1. I just installed it few hours
ago and when i opened "Profile dialog" and selected some "External java
application" entry - CPU load spiked to 100% and remained there even when
menu was closed.
I found similiar bug
(https://bugs.eclipse.org/bugs/show_bug.cgi?id=194783). It was closed with
'worksforme' resolution, but problem described there remains.

Since i actually wanted to see what TPTP can do aside from overheating my
computer, i created another eclipse installation with TPTP ( + EMF/XSD)
installed to ECLIPSE_HOME directory (let's call this installation - "A").
In that case everything went smooth and clear in said dialog. After some
processing - CPU load returned to normal (2-3%).
I found that when TPTP is installed to extension point (eclipse
installation type "B") - serviceconfig.xml in ac.win_ia32 have many
CLASSPATH* variables assigned to "null" value. To be precise - every
variable, except CLASSPATH_ORG_APACHE_COMMONS_LOGGING,
CLASSPATH_ORG_ECLIPSE_TPTP_PLATFORM_MODELS and
CLASSPATH_ORG_APACHE_JAKARTA_COMMONS_LOGGING. Notably - all of these jars
are in TPTP's extension point, all other JARs are not found (?) and 'null'
value is assigned.

So, i replaced null values in serviceconfig.xml file of "B" with working
values from "A", opened "Profile dialog" and again, everything seemed to
be as good as in "A" case.
Seems that critical values for that issue are last three "CLASSPATH"
variables in "AgentControllerEnvironment" node (those that should point to
osgi, equinox.common and core.runtime JARs). If they are nulls, then
opening "Profile dialog" results in 100% CPU load. If they are pointing to
required JARs, then everything seems to be ok.

Finally, the Question ( :) )
Is it some kind of a bug or TPTP just must be installed to ECLIPSE_HOME?
Sadly, i haven't found any information about that requirement in
installation guide.

Thanks for your time and attention!

Environment: Win XP SP2, Eclipse 3.3, JDK 1.5.0_11.
Re: CPU spikes to 100% in 'Open profile dialog' if TPTP installed to extension p [message #110929 is a reply to message #107532] Fri, 31 August 2007 11:35 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: ben.playscapegames.com

Hi Vadim,

Im having the exact same problem you describe. I added a comment to the
closed bug you mentioned in the hope they will re-open. I too installed
TPTP to an extension point.

Would you post the values you patched into the Xml config file to get
things working again? - would like to try them myself.

Thanks
Ben

Vadim Dmitriev wrote:

> Hi!
> I'm having some problem with TPTP 4.4.0.1. I just installed it few hours
> ago and when i opened "Profile dialog" and selected some "External java
> application" entry - CPU load spiked to 100% and remained there even when
> menu was closed.
> I found similiar bug
> (https://bugs.eclipse.org/bugs/show_bug.cgi?id=194783). It was closed with
> 'worksforme' resolution, but problem described there remains.

> Since i actually wanted to see what TPTP can do aside from overheating my
> computer, i created another eclipse installation with TPTP ( + EMF/XSD)
> installed to ECLIPSE_HOME directory (let's call this installation - "A").
> In that case everything went smooth and clear in said dialog. After some
> processing - CPU load returned to normal (2-3%).
> I found that when TPTP is installed to extension point (eclipse
> installation type "B") - serviceconfig.xml in ac.win_ia32 have many
> CLASSPATH* variables assigned to "null" value. To be precise - every
> variable, except CLASSPATH_ORG_APACHE_COMMONS_LOGGING,
> CLASSPATH_ORG_ECLIPSE_TPTP_PLATFORM_MODELS and
> CLASSPATH_ORG_APACHE_JAKARTA_COMMONS_LOGGING. Notably - all of these jars
> are in TPTP's extension point, all other JARs are not found (?) and 'null'
> value is assigned.

> So, i replaced null values in serviceconfig.xml file of "B" with working
> values from "A", opened "Profile dialog" and again, everything seemed to
> be as good as in "A" case.
> Seems that critical values for that issue are last three "CLASSPATH"
> variables in "AgentControllerEnvironment" node (those that should point to
> osgi, equinox.common and core.runtime JARs). If they are nulls, then
> opening "Profile dialog" results in 100% CPU load. If they are pointing to
> required JARs, then everything seems to be ok.

> Finally, the Question ( :) )
> Is it some kind of a bug or TPTP just must be installed to ECLIPSE_HOME?
> Sadly, i haven't found any information about that requirement in
> installation guide.

> Thanks for your time and attention!

> Environment: Win XP SP2, Eclipse 3.3, JDK 1.5.0_11.
Re: CPU spikes to 100% in 'Open profile dialog' if TPTP installed to extension p [message #111258 is a reply to message #110929] Tue, 04 September 2007 01:30 Go to previous message
Vadim Dmitriev is currently offline Vadim DmitrievFriend
Messages: 74
Registered: July 2009
Member
This is a multi-part message in MIME format.
--------------030309030803030902040509
Content-Type: text/plain; charset=windows-1251
Content-Transfer-Encoding: 7bit

Hello, Ben.
Sorry for late reply.
I attached my serviceconfig.xml, however since it is filled with my
local library paths (and eventually their versions) you may have hard
time adopting it to yours.
Personally, I find that creating new eclipse installation 'tptp
all-in-one' under similar path ('c:\eclipse pack_\' while main install
is 'c:\eclipse pack\') is faster than adopting another config's paths.
This way all you have to do is just strip serviceconfig.xml of unneeded
underscores.

Best regards,
Vadim.

Ben Hutchison wrote:
> Hi Vadim,
>
> Im having the exact same problem you describe. I added a comment to the
> closed bug you mentioned in the hope they will re-open. I too installed
> TPTP to an extension point.
>
> Would you post the values you patched into the Xml config file to get
> things working again? - would like to try them myself.
>
> Thanks
> Ben
>
> Vadim Dmitriev wrote:
>
>> Hi!
>> I'm having some problem with TPTP 4.4.0.1. I just installed it few
>> hours ago and when i opened "Profile dialog" and selected some
>> "External java application" entry - CPU load spiked to 100% and
>> remained there even when menu was closed.
>> I found similiar bug
>> (https://bugs.eclipse.org/bugs/show_bug.cgi?id=194783). It was closed
>> with 'worksforme' resolution, but problem described there remains.
>
>> Since i actually wanted to see what TPTP can do aside from overheating
>> my computer, i created another eclipse installation with TPTP ( +
>> EMF/XSD) installed to ECLIPSE_HOME directory (let's call this
>> installation - "A"). In that case everything went smooth and clear in
>> said dialog. After some processing - CPU load returned to normal (2-3%).
>> I found that when TPTP is installed to extension point (eclipse
>> installation type "B") - serviceconfig.xml in ac.win_ia32 have many
>> CLASSPATH* variables assigned to "null" value. To be precise - every
>> variable, except CLASSPATH_ORG_APACHE_COMMONS_LOGGING,
>> CLASSPATH_ORG_ECLIPSE_TPTP_PLATFORM_MODELS and
>> CLASSPATH_ORG_APACHE_JAKARTA_COMMONS_LOGGING. Notably - all of these
>> jars are in TPTP's extension point, all other JARs are not found (?)
>> and 'null' value is assigned.
>
>> So, i replaced null values in serviceconfig.xml file of "B" with
>> working values from "A", opened "Profile dialog" and again, everything
>> seemed to be as good as in "A" case. Seems that critical values for
>> that issue are last three "CLASSPATH" variables in
>> "AgentControllerEnvironment" node (those that should point to osgi,
>> equinox.common and core.runtime JARs). If they are nulls, then opening
>> "Profile dialog" results in 100% CPU load. If they are pointing to
>> required JARs, then everything seems to be ok.
>
>> Finally, the Question ( :) )
>> Is it some kind of a bug or TPTP just must be installed to
>> ECLIPSE_HOME? Sadly, i haven't found any information about that
>> requirement in installation guide.
>
>> Thanks for your time and attention!
>
>> Environment: Win XP SP2, Eclipse 3.3, JDK 1.5.0_11.
>
>


--------------030309030803030902040509
Content-Type: text/xml;
name="serviceconfig.xml"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
filename="serviceconfig.xml"

<?xml version="1.0" encoding="UTF-8"?>
<AgentControllerConfiguration>
<AgentControllerEnvironment configuration="default">
<Variable name="JAVA_PATH" position="replace" value="C:\Program Files\Java\jdk1.5.0_12\jre\bin\java.exe"/>
<Variable name="RASERVER_HOME" position="replace" value="C:\Program Files\eclipse j\tptpr\eclipse\plugins\org.eclipse.tptp.platform.ac.win_ia3 2_4.4.0.v200706020100\agent_controller "/>
<Variable name="TPTP_AC_HOME" position="replace" value="%RASERVER_HOME%"/>
<Variable name="PLUGINS_HOME" position="replace" value="C:\Program Files\eclipse j\tptpr\eclipse\plugins"/>
<Variable name="PATH" position="prepend" value="%RASERVER_HOME%\bin"/>
<Variable name="SYS_TEMP_DIR" position="replace" value="%TEMP%"/>
<Variable name="LOCAL_AGENT_TEMP_DIR" position="replace" value="%SYS_TEMP_DIR%"/>
<Variable name="CLASSPATH_ORG_APACHE_COMMONS_LOGGING" position="append" value="C:\Program Files\eclipse j\tptpr\eclipse\plugins\org.apache.commons.logging_1.0.4.v20 0706111724.jar "/>
<Variable name="CLASSPATH_ORG_ECLIPSE_CORE_COMMANDS" position="append" value="C:\Program Files\eclipse j\eclipse\plugins\org.eclipse.core.commands_3.3.0.I20070605- 0010.jar "/>
<Variable name="CLASSPATH_ORG_ECLIPSE_CORE_RUNTIME" position="append" value="C:\Program Files\eclipse j\eclipse\plugins\org.eclipse.core.runtime_3.3.100.v20070530 .jar "/>
<Variable name="CLASSPATH_ORG_ECLIPSE_EQUINOX_COMMON" position="append" value="C:\Program Files\eclipse j\eclipse\plugins\org.eclipse.equinox.common_3.3.0.v20070426 .jar "/>
<Variable name="CLASSPATH_ORG_ECLIPSE_OSGI" position="append" value="C:\Program Files\eclipse j\eclipse\plugins\org.eclipse.osgi_3.3.0.v20070530.jar"/>
<Variable name="CLASSPATH_ORG_ECLIPSE_EMF_COMMON" position="append" value="C:\Program Files\eclipse j\web\eclipse\plugins\org.eclipse.emf.common_2.3.0.v20070711 1516.jar "/>
<Variable name="CLASSPATH_ORG_ECLIPSE_EMF_ECORE" position="append" value="C:\Program Files\eclipse j\web\eclipse\plugins\org.eclipse.emf.ecore_2.3.1.v200707111 516.jar "/>
<Variable name="CLASSPATH_ORG_ECLIPSE_EMF_ECORE_XMI" position="append" value="C:\Program Files\eclipse j\web\eclipse\plugins\org.eclipse.emf.ecore.xmi_2.3.1.v20070 7111516.jar "/>
<Variable name="CLASSPATH_ORG_ECLIPSE_JFACE" position="append" value="C:\Program Files\eclipse j\eclipse\plugins\org.eclipse.jface_3.3.0.I20070606-0010.jar "/>
<Variable name="CLASSPATH_ORG_ECLIPSE_SWT" position="append" value="C:\Program Files\eclipse j\eclipse\plugins\org.eclipse.swt.win32.win32.x86_3.3.0.v334 6.jar;C:\Program Files\eclipse j\eclipse\plugins\org.eclipse.swt_3.3.0.v3346.jar"/>
<Variable name="CLASSPATH_ORG_ECLIPSE_TPTP_PLATFORM_MODELS" position="append" value="C:\Program Files\eclipse j\tptpr\eclipse\plugins\org.eclipse.tptp.platform.models_4.3 .0.v200708071640\fastxpath.jar;C:\Program Files\eclipse j\tptpr\eclipse\plugins\org.eclipse.tptp.platform.models_4.3 .0.v200708071640\tptp-models.jar "/>
<Variable name="CLASSPATH_ORG_JUNIT" position="append" value="C:\Program Files\eclipse j\eclipse\plugins\org.junit_3.8.2.v200706111738\junit.jar"/ >
<Variable name="CLASSPATH_COM_IBM_ICU" position="append" value="C:\Program Files\eclipse j\eclipse\plugins\com.ibm.icu_3.6.1.v20070417.jar"/>
<Variable name="CLASSPATH_ORG_APACHE_JAKARTA_COMMONS_LOGGING" position="append" value="%CLASSPATH_ORG_APACHE_COMMONS_LOGGING%"/>
<Variable name="CLASSPATH" position="append" value="C:\Program Files\eclipse j\eclipse\plugins\org.eclipse.core.runtime_3.3.100.v20070530 .jar "/>
<Variable name="CLASSPATH" position="append" value="C:\Program Files\eclipse j\eclipse\plugins\org.eclipse.equinox.common_3.3.0.v20070426 .jar "/>
<Variable name="CLASSPATH" position="append" value="C:\Program Files\eclipse j\eclipse\plugins\org.eclipse.osgi_3.3.0.v20070530.jar"/>
</AgentControllerEnvironment>
<ApplicationAliases>
<Application configuration="default" executable="java.exe" location="%SYS_TEMP_DIR%" path="%JAVA_PATH%">
<Variable name="CLASSPATH" position="append" value="%CLASSPATH_ORG_ECLIPSE_EQUINOX_COMMON%"/>
<Variable name="PATH" position="prepend" value="%RASERVER_HOME%\bin"/>
</Application>
</ApplicationAliases>
<Plugin path="%PLUGINS_HOME%"/>
<Agent path="%TPTP_AC_HOME%\agents"/>
<Logging directory="%TPTP_AC_HOME%\config" format="CBE" level="INFORMATION"/>
<ProcessController>%TPTP_AC_HOME%\bin\tptpProcessController.exe </ProcessController>
<Connection name="Dev">
<TransportLayer loadlib="socketTL" type="TPTP_SOCKET">
<Configuration>
<Port>10006</Port>
</Configuration>
<CommandExtractor>tptpCmdExtr</CommandExtractor>
</TransportLayer>
<TransportLayer loadlib="namedPipeTL" type="TPTP_LOG">
<Configuration>
<PipeName>acmasterlog</PipeName>
</Configuration>
<CommandExtractor>tptpCmdExtr</CommandExtractor>
</TransportLayer>
<TransportLayer loadlib="namedPipeTL" type="TPTP_NAMEDPIPE">
<Configuration>
<PipeName>acmaster</PipeName>
</Configuration>
<CommandExtractor>tptpCmdExtr</CommandExtractor>
</TransportLayer>
<TransportLayer loadlib="sharedMemTL" type="TPTP_SHAREDMEM">
<Configuration>
<MemName>acbuffer</MemName>
</Configuration>
<CommandExtractor>tptpCmdExtr</CommandExtractor>
</TransportLayer>
<TransportLayer loadlib="tptpCCTL" type="TPTP_CCTL">
<Configuration>
<Port>10002</Port>
<SecuredPort>10003</SecuredPort>
<FilePort>10005</FilePort>
<IsDataMultiplexed>false</IsDataMultiplexed>
<ProcessPolling>true</ProcessPolling>
<Jvm>C:\Program Files\Java\jdk1.5.0_12\jre\bin\server\jvm.dll</Jvm>
<Version>4.4.0</Version>
<SecurityEnabled>false</SecurityEnabled>
<Hosts configuration="default">
<Allow host="LOCAL"/>
</Hosts>
</Configuration>
<CommandExtractor>tptpCmdExtr</CommandExtractor>
</TransportLayer>
<TransportLayer loadlib="tptpACTL" type="TPTP_ACTL">
<Configuration/>
<CommandExtractor>tptpCmdExtr</CommandExtractor>
</TransportLayer>
</Connection>
<PeerConnectionTransport>TPTP_CCTL</PeerConnectionTransport >
</AgentControllerConfiguration>

--------------030309030803030902040509--
Previous Topic:Mac support for the Agent Controller
Next Topic:TPTP 4.4.0.2 asks for a JAXP
Goto Forum:
  


Current Time: Fri Apr 26 07:04:30 GMT 2024

Powered by FUDForum. Page generated in 0.03012 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top