<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: TPTP and Ubuntu</title>
	<atom:link href="http://meikas.com/blog/2008/02/tptp-and-ubuntu/feed/" rel="self" type="application/rss+xml" />
	<link>http://meikas.com/blog/2008/02/tptp-and-ubuntu/</link>
	<description>Musings about Java, Eclipse and the world around me</description>
	<lastBuildDate>Thu, 29 Oct 2009 09:31:21 -0700</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.5</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Rick Beton</title>
		<link>http://meikas.com/blog/2008/02/tptp-and-ubuntu/comment-page-1/#comment-18</link>
		<dc:creator>Rick Beton</dc:creator>
		<pubDate>Wed, 03 Dec 2008 18:26:26 +0000</pubDate>
		<guid isPermaLink="false">http://meikas.com/blog/2008/tptp-and-ubuntu/#comment-18</guid>
		<description>I installed v4.5.0 from the Ganymede update site.  I also installed the .deb on my Ubuntu (see Paul&#039;s post, Sept 5th above).

I downloaded and installed the AC (http://www.eclipse.org/tptp/home/downloads/4.5.0/documents/installguide/agentcontroller_45/linux/getting_started.html).  I amended the shell scripts as described above.

I am now able to start the AC using ACStart.sh and run the SampleClient program, which gives satisfactory output.

However, in Eclipse I cannnot connect to the AC. In the Preferences window there is a new &quot;Agent Controller&quot; section. Under &quot;Hosts&quot;, this has a &quot;Test Connection&quot; button. However, this always gives me an error (Connection failed on host localhost) even though the AC is running and the same port was used (10002).

There is no useful output in the AC log file nor in Eclipse&#039;s workspace log file.

Any suggestions?</description>
		<content:encoded><![CDATA[<p>I installed v4.5.0 from the Ganymede update site.  I also installed the .deb on my Ubuntu (see Paul&#8217;s post, Sept 5th above).</p>
<p>I downloaded and installed the AC (<a href="http://www.eclipse.org/tptp/home/downloads/4.5.0/documents/installguide/agentcontroller_45/linux/getting_started.html)" rel="nofollow">http://www.eclipse.org/tptp/home/downloads/4.5.0/documents/installguide/agentcontroller_45/linux/getting_started.html)</a>.  I amended the shell scripts as described above.</p>
<p>I am now able to start the AC using ACStart.sh and run the SampleClient program, which gives satisfactory output.</p>
<p>However, in Eclipse I cannnot connect to the AC. In the Preferences window there is a new &#8220;Agent Controller&#8221; section. Under &#8220;Hosts&#8221;, this has a &#8220;Test Connection&#8221; button. However, this always gives me an error (Connection failed on host localhost) even though the AC is running and the same port was used (10002).</p>
<p>There is no useful output in the AC log file nor in Eclipse&#8217;s workspace log file.</p>
<p>Any suggestions?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: paul</title>
		<link>http://meikas.com/blog/2008/02/tptp-and-ubuntu/comment-page-1/#comment-17</link>
		<dc:creator>paul</dc:creator>
		<pubDate>Fri, 05 Sep 2008 14:59:47 +0000</pubDate>
		<guid isPermaLink="false">http://meikas.com/blog/2008/tptp-and-ubuntu/#comment-17</guid>
		<description>I almost gave up using TPTP, but your comments made it possible for me
 to get TPTP  running with the INTEGRATED agent controller (IAC) trough
the eclipse update manager. (my system: Ubuntu Hardy, Eclipse Ganymede, TPTP 4.5)

0) Install TPTP 4.5 plugins for eclipse through Help-&gt;Software Updates-&gt;Available
Software-&gt;Ganymede-&gt;Testing And Performance (I for some reason needed
to enable the site http://download.eclipse.org/releases/ganymede)

1)   libstdc++2.10-glibc2.2 is not available under ubuntu hardy any
more, but the gutsy version seems to work:

https://launchpad.net/ubuntu/gutsy/i386/libstdc++2.10-glibc2.2/1:2.95.4-24

(install libstdc++2.10-glibc2.2_2.95.4-24_i386.deb
 eg. with GDebi)

2) The bug fix (Bug 175696, 201989)  introduces  a bug in the start and
stop scripts (RAStart.sh, RAStop.sh which I found with
-name RASt\*.sh&quot;) of the IAC:

[[ -n $TEMP ]]

is not kown bei sh (unless it is in fact bash, which it is not under
ubuntu hardy at least in my installation). Replacing this bei

[ -n &quot;$TEMP&quot; ]

in two lines in both scripts, they work like s charm.

Now local profiling works (at least for me).</description>
		<content:encoded><![CDATA[<p>I almost gave up using TPTP, but your comments made it possible for me<br />
 to get TPTP  running with the INTEGRATED agent controller (IAC) trough<br />
the eclipse update manager. (my system: Ubuntu Hardy, Eclipse Ganymede, TPTP 4.5)</p>
<p>0) Install TPTP 4.5 plugins for eclipse through Help-&gt;Software Updates-&gt;Available<br />
Software-&gt;Ganymede-&gt;Testing And Performance (I for some reason needed<br />
to enable the site <a href="http://download.eclipse.org/releases/ganymede)" rel="nofollow">http://download.eclipse.org/releases/ganymede)</a></p>
<p>1)   libstdc++2.10-glibc2.2 is not available under ubuntu hardy any<br />
more, but the gutsy version seems to work:</p>
<p><a href="https://launchpad.net/ubuntu/gutsy/i386/libstdc++2.10-glibc2.2/1:2.95.4-24" rel="nofollow">https://launchpad.net/ubuntu/gutsy/i386/libstdc++2.10-glibc2.2/1:2.95.4-24</a></p>
<p>(install libstdc++2.10-glibc2.2_2.95.4-24_i386.deb<br />
 eg. with GDebi)</p>
<p>2) The bug fix (Bug 175696, 201989)  introduces  a bug in the start and<br />
stop scripts (RAStart.sh, RAStop.sh which I found with<br />
-name RASt\*.sh&#8221;) of the IAC:</p>
<p>[[ -n $TEMP ]]</p>
<p>is not kown bei sh (unless it is in fact bash, which it is not under<br />
ubuntu hardy at least in my installation). Replacing this bei</p>
<p>[ -n "$TEMP" ]</p>
<p>in two lines in both scripts, they work like s charm.</p>
<p>Now local profiling works (at least for me).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John Fitzpatrick</title>
		<link>http://meikas.com/blog/2008/02/tptp-and-ubuntu/comment-page-1/#comment-16</link>
		<dc:creator>John Fitzpatrick</dc:creator>
		<pubDate>Mon, 23 Jun 2008 21:25:40 +0000</pubDate>
		<guid isPermaLink="false">http://meikas.com/blog/2008/tptp-and-ubuntu/#comment-16</guid>
		<description>I spent hours (over a day now) trying to get TPTP to work under ubuntu. No luck. After trying many different things I am now giving up.

Main problems:

- initially I couldn&#039;t get the SampleClient to run. Copying all of the required shared object libraries to /lib resolved that but not before I had to start the TimeCollector manually (no matter what I could not get it to start when it was supposed to)

- despite setting the JAVA_PROFILER_HOME environment variable, I keep getting messages in the log file telling me that the environment variable isn&#039;t set

- just getting to the point mentioned above took hours...I am giving up and will probably look at using JProfiler

If you use Ubuntu I don&#039;t recommend even trying to use TPTP because you will spend hours just trying to get it setup, and that is even if you do get it setup.</description>
		<content:encoded><![CDATA[<p>I spent hours (over a day now) trying to get TPTP to work under ubuntu. No luck. After trying many different things I am now giving up.</p>
<p>Main problems:</p>
<p>- initially I couldn&#8217;t get the SampleClient to run. Copying all of the required shared object libraries to /lib resolved that but not before I had to start the TimeCollector manually (no matter what I could not get it to start when it was supposed to)</p>
<p>- despite setting the JAVA_PROFILER_HOME environment variable, I keep getting messages in the log file telling me that the environment variable isn&#8217;t set</p>
<p>- just getting to the point mentioned above took hours&#8230;I am giving up and will probably look at using JProfiler</p>
<p>If you use Ubuntu I don&#8217;t recommend even trying to use TPTP because you will spend hours just trying to get it setup, and that is even if you do get it setup.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rick Beton</title>
		<link>http://meikas.com/blog/2008/02/tptp-and-ubuntu/comment-page-1/#comment-15</link>
		<dc:creator>Rick Beton</dc:creator>
		<pubDate>Mon, 09 Jun 2008 09:29:16 +0000</pubDate>
		<guid isPermaLink="false">http://meikas.com/blog/2008/tptp-and-ubuntu/#comment-15</guid>
		<description>For the DASH/CSH problem:
Starting Agent Controller.
[: 46: ==: unexpected operator
ACServer started successfully.

simply change the == to =.

Rick</description>
		<content:encoded><![CDATA[<p>For the DASH/CSH problem:<br />
Starting Agent Controller.<br />
[: 46: ==: unexpected operator<br />
ACServer started successfully.</p>
<p>simply change the == to =.</p>
<p>Rick</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Charlie</title>
		<link>http://meikas.com/blog/2008/02/tptp-and-ubuntu/comment-page-1/#comment-14</link>
		<dc:creator>Charlie</dc:creator>
		<pubDate>Thu, 15 May 2008 12:16:41 +0000</pubDate>
		<guid isPermaLink="false">http://meikas.com/blog/2008/tptp-and-ubuntu/#comment-14</guid>
		<description>I had similar problems with Heron and a 32bit install on EMT64 hardware.  I tried about seventeen things to get it to work - the all in one download (at least that fixes the executables), the update site, manual install - different errors everywhere.

I had to set executable, set TEMP, edit the ACStart script to remove the == operator, get the libs noted above, start eclipse with -debug and -consolelog, watch serviclelog.xml, clear IPC registers with ipcrm, and more, in my various attempts.

I posted on the tptp list about the all in one failing (at least that should work?) - http://www.eclipse.org/newsportal/article.php?id=6214&amp;group=eclipse.tptp#6214.

I would &quot;just use JProfiler&quot; as others here suggest, but thats a $500USD &quot;just use.&quot;</description>
		<content:encoded><![CDATA[<p>I had similar problems with Heron and a 32bit install on EMT64 hardware.  I tried about seventeen things to get it to work &#8211; the all in one download (at least that fixes the executables), the update site, manual install &#8211; different errors everywhere.</p>
<p>I had to set executable, set TEMP, edit the ACStart script to remove the == operator, get the libs noted above, start eclipse with -debug and -consolelog, watch serviclelog.xml, clear IPC registers with ipcrm, and more, in my various attempts.</p>
<p>I posted on the tptp list about the all in one failing (at least that should work?) &#8211; <a href="http://www.eclipse.org/newsportal/article.php?id=6214&amp;group=eclipse.tptp#6214" rel="nofollow">http://www.eclipse.org/newsportal/article.php?id=6214&amp;group=eclipse.tptp#6214</a>.</p>
<p>I would &#8220;just use JProfiler&#8221; as others here suggest, but thats a $500USD &#8220;just use.&#8221;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: laurentZ</title>
		<link>http://meikas.com/blog/2008/02/tptp-and-ubuntu/comment-page-1/#comment-13</link>
		<dc:creator>laurentZ</dc:creator>
		<pubDate>Thu, 10 Apr 2008 08:33:59 +0000</pubDate>
		<guid isPermaLink="false">http://meikas.com/blog/2008/tptp-and-ubuntu/#comment-13</guid>
		<description>Flo,

The ACStart.sh shell error () is due to ubuntu using dash instead of bash:
http://en.wikipedia.org/wiki/Debian_Almquist_shell
The JVM crash is another issue but I have no idea about this part.</description>
		<content:encoded><![CDATA[<p>Flo,</p>
<p>The ACStart.sh shell error () is due to ubuntu using dash instead of bash:<br />
<a href="http://en.wikipedia.org/wiki/Debian_Almquist_shell" rel="nofollow">http://en.wikipedia.org/wiki/Debian_Almquist_shell</a><br />
The JVM crash is another issue but I have no idea about this part.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: flo</title>
		<link>http://meikas.com/blog/2008/02/tptp-and-ubuntu/comment-page-1/#comment-12</link>
		<dc:creator>flo</dc:creator>
		<pubDate>Sun, 09 Mar 2008 09:20:05 +0000</pubDate>
		<guid isPermaLink="false">http://meikas.com/blog/2008/tptp-and-ubuntu/#comment-12</guid>
		<description>Doing exactly as you say, I&#039;m am getting this:

flo@flo-acer-kub:/opt/agntctrl.linux_ia32-TPTP-4.4.1/bin$ ./ACStart.sh
Starting Agent Controller.
[: 46: ==: unexpected operator
ACServer started successfully.
# An unexpected error has been detected by HotSpot Virtual Machine:
#
#  SIGSEGV (0xb) at pc=0xb7b6ed20, pid=6049, tid=2802924432
#
# Java VM: Java HotSpot(TM) Server VM (1.5.0_13-b05 mixed mode)
# Problematic frame:
# C  [libtransportSupport.so.4+0x2d20]  getTheSocket+0x10
#
# An error report file with more information is saved as hs_err_pid6049.log
#
# If you would like to submit a bug report, please visit:
#   http://java.sun.com/webapps/bugreport/crash.jsp
#
flo@flo-acer-kub:/opt/agntctrl.linux_ia32-TPTP-4.4.1/bin$ ./SampleClient
ERROR: Unable to connect to the Agent Controller running on localhost at port number 10006
Press any key to exit...


Setup:
i386, ubuntu 7.04, java-1.5.0-java, TPTP 4.4

Any Ideas?</description>
		<content:encoded><![CDATA[<p>Doing exactly as you say, I&#8217;m am getting this:</p>
<p>flo@flo-acer-kub:/opt/agntctrl.linux_ia32-TPTP-4.4.1/bin$ ./ACStart.sh<br />
Starting Agent Controller.<br />
[: 46: ==: unexpected operator<br />
ACServer started successfully.<br />
# An unexpected error has been detected by HotSpot Virtual Machine:<br />
#<br />
#  SIGSEGV (0xb) at pc=0xb7b6ed20, pid=6049, tid=2802924432<br />
#<br />
# Java VM: Java HotSpot(TM) Server VM (1.5.0_13-b05 mixed mode)<br />
# Problematic frame:<br />
# C  [libtransportSupport.so.4+0x2d20]  getTheSocket+0&#215;10<br />
#<br />
# An error report file with more information is saved as hs_err_pid6049.log<br />
#<br />
# If you would like to submit a bug report, please visit:<br />
#   <a href="http://java.sun.com/webapps/bugreport/crash.jsp" rel="nofollow">http://java.sun.com/webapps/bugreport/crash.jsp</a><br />
#<br />
flo@flo-acer-kub:/opt/agntctrl.linux_ia32-TPTP-4.4.1/bin$ ./SampleClient<br />
ERROR: Unable to connect to the Agent Controller running on localhost at port number 10006<br />
Press any key to exit&#8230;</p>
<p>Setup:<br />
i386, ubuntu 7.04, java-1.5.0-java, TPTP 4.4</p>
<p>Any Ideas?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ivar Meikas</title>
		<link>http://meikas.com/blog/2008/02/tptp-and-ubuntu/comment-page-1/#comment-11</link>
		<dc:creator>Ivar Meikas</dc:creator>
		<pubDate>Tue, 04 Mar 2008 07:00:34 +0000</pubDate>
		<guid isPermaLink="false">http://meikas.com/blog/2008/tptp-and-ubuntu/#comment-11</guid>
		<description>I haven&#039;t used 64bit Linux myself, so unfortunately I don&#039;t know about that.</description>
		<content:encoded><![CDATA[<p>I haven&#8217;t used 64bit Linux myself, so unfortunately I don&#8217;t know about that.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matthew Payne</title>
		<link>http://meikas.com/blog/2008/02/tptp-and-ubuntu/comment-page-1/#comment-10</link>
		<dc:creator>Matthew Payne</dc:creator>
		<pubDate>Tue, 04 Mar 2008 04:24:58 +0000</pubDate>
		<guid isPermaLink="false">http://meikas.com/blog/2008/tptp-and-ubuntu/#comment-10</guid>
		<description>Does this work for 64bit Ubuntu.  I download agntctrl.linux_em64t-TPTP-4.1.0.zip but the files are all different inside</description>
		<content:encoded><![CDATA[<p>Does this work for 64bit Ubuntu.  I download agntctrl.linux_em64t-TPTP-4.1.0.zip but the files are all different inside</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sc</title>
		<link>http://meikas.com/blog/2008/02/tptp-and-ubuntu/comment-page-1/#comment-9</link>
		<dc:creator>Sc</dc:creator>
		<pubDate>Fri, 08 Feb 2008 16:18:43 +0000</pubDate>
		<guid isPermaLink="false">http://meikas.com/blog/2008/tptp-and-ubuntu/#comment-9</guid>
		<description>Same experience, ubuntu too... yesterday
Lot of time to get it running (I spent time following the 4.1 doc at first, don&#039;t know how I get there.. grr !), can&#039;t understand why they choose to have a recording server between the agent and the client, and so poor eventually so poor performance it is unusable :-/
Downloaded JProfiler, 5 minutes install, intuitive interface, very fast.
It hurts to say, tptp is nowhere at least under ubuntu.

Sc</description>
		<content:encoded><![CDATA[<p>Same experience, ubuntu too&#8230; yesterday<br />
Lot of time to get it running (I spent time following the 4.1 doc at first, don&#8217;t know how I get there.. grr !), can&#8217;t understand why they choose to have a recording server between the agent and the client, and so poor eventually so poor performance it is unusable :-/<br />
Downloaded JProfiler, 5 minutes install, intuitive interface, very fast.<br />
It hurts to say, tptp is nowhere at least under ubuntu.</p>
<p>Sc</p>
]]></content:encoded>
	</item>
</channel>
</rss>
