Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Test and Performance Tools Platform (TPTP) » Agent Controller on Linux
Agent Controller on Linux [message #33613] Tue, 04 October 2005 17:17 Go to next message
Eclipse UserFriend
Originally posted by: cleliacangiano.hotmail.com

Hi, I've already use the TPTP and Agent Controller on my Linux without
problems.
But now I've installed the BEA jvm and in the starting of the agent this
error message in showed:
Could not find the pthread library. Are your running a supported Linux
Distribution?

Any suggest?

Thanks!
Re: Agent Controller on Linux [message #33647 is a reply to message #33613] Tue, 04 October 2005 19:49 Go to previous messageGo to next message
Kevin P O'Leary is currently offline Kevin P O'LearyFriend
Messages: 4
Registered: July 2009
Junior Member
What exactly is reporting that it can't find the pthread library?

The linux dynamic linker usually finds the pthread library using the
LD_LIBRARY_PATH environment variable... in addition to various
default settings such as /usr/lib and /usr/lib. (see man ld.so)

What version of linux are you running on? Can you find /usr/lib/pthread.so?

Try doing an "ldd" on the executable reporting the error? Let me know what
version of pthread it is referencing.

Regards,

Kevin


"clelia" <cleliacangiano@hotmail.com> wrote in message
news:f9b6058ace3c6a6186b59e87995df38d$1@www.eclipse.org...
> Hi, I've already use the TPTP and Agent Controller on my Linux without
> problems.
> But now I've installed the BEA jvm and in the starting of the agent this
> error message in showed: Could not find the pthread library. Are your
> running a supported Linux Distribution?
>
> Any suggest?
>
> Thanks!
>
Re: Agent Controller on Linux [message #33856 is a reply to message #33647] Thu, 06 October 2005 09:23 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: cleliacangiano.hotmail.com

Hi Kevin,
with ldd RAServer command I see this:
[root@localhost bin]# ldd RAServer
linux-gate.so.1 => (0xffffe000)
libpthread.so.0 => /lib/tls/libpthread.so.0 (0x40024000)
libdl.so.2 => /lib/libdl.so.2 (0x40036000)
libcrypt.so.1 => /lib/libcrypt.so.1 (0x40039000)
libxerces-c.so.24 => /usr/AgentController/lib/libxerces-c.so.24
(0x40066000)
libcbe.so => /usr/AgentController/lib/libcbe.so (0x404b5000)
libhcclco.so => /usr/AgentController/lib/libhcclco.so (0x404d5000)
libhcclserc.so => /usr/AgentController/lib/libhcclserc.so
(0x404de000)
libhcclsert.so => /usr/AgentController/lib/libhcclsert.so
(0x404fb000)
libhccls.so => /usr/AgentController/lib/libhccls.so (0x40500000)
libhcclsm.so => /usr/AgentController/lib/libhcclsm.so (0x40504000)
libstdc++-libc6.2-2.so.3 => /usr/lib/libstdc++-libc6.2-2.so.3
(0x40510000)
libm.so.6 => /lib/tls/libm.so.6 (0x40552000)
libc.so.6 => /lib/tls/libc.so.6 (0x40575000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x40695000)

and it's the same result with ldd RAServer command using HotSpot jvm(with
this kind of jvm Agent Controller has no problems to running).
My LD_LIBRARY_PATH is:
LD_LIBRARY_PATH=/usr/lib:/lib:/lib/tls:/lib/i686:/usr/includ e:/usr/include/nptl:
/usr/include/nptl/bits/:/usr/jrockit5.0/jre/lib/i386/native_ thread:/usr/AgentCon
troller/lib:/usr/jrockit5.0/jre/lib/i386:/usr/jrockit5.0/jre /lib/i386/jrockit:/u
sr/java/jdk1.5.0_05/jre/lib/i386:/usr/java/jdk1.5.0_05/jre/l ib/i386/server


I have Mandrake version with:
Linux 2.6.8.1-12mdk Machine i686

Thanks for help,
clelia
Re: Agent Controller on Linux [message #34016 is a reply to message #33856] Thu, 06 October 2005 09:30 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: cleliacangiano.hotmail.com

Another element.

In the README of bea jvm ther is this note:

LD_ASSUME_KERNEL on Linux

When using BEA JRockit(R) JDK 5.0 Update 3 (RR25.2.0-28) @JROCKIT_KIT@ on
Linux, you should first
make sure that the environment variable 'LD_ASSUME_KERNEL' is *not*
defined. BEA JRockit(R) JDK 5.0 Update 3 (RR25.2.0-28) @JROCKIT_KIT@
supports the NPTL threading
library. However, if 'LD_ASSUME_KERNEL' is defined, it will direct
the runtime linker to use the older and slower LinuxThreads threading
library instead, for no benefit.

Anyway with the command: echo $LD_ASSUME_KERNEL
the result is empty

clelia
Re: Agent Controller on Linux [message #34062 is a reply to message #34016] Thu, 06 October 2005 15:42 Go to previous messageGo to next message
Kevin P O'Leary is currently offline Kevin P O'LearyFriend
Messages: 4
Registered: July 2009
Junior Member
Since you are using Mandrake with a 2.6 kernel I don't think
the problem is realted to LD_ASSUME_KERNEL... It is
my understanding that this was used for the later generations of the 2.4
kernel to support both nptl and linux threads. I don't think this applies
for
2.6. (but correct me if I am wrong on this)

But in this case based on your ldd you are using nptl, notice the tls in the
paths of your executables and since you don't have LD_ASSUME_KERNEL defined
then it doesn't come into play)

Both your ldd and LD__LIBRARY_PATH look good.

It's still unclear to me based on your description what is producing the
error
message about the pthread library... Can your track this down?

Hope this helps!

Thanks

Kevin


"clelia" <cleliacangiano@hotmail.com> wrote in message
news:5a88a8dabaed07cdda92356b3a4d0b89$1@www.eclipse.org...
> Another element.
>
> In the README of bea jvm ther is this note:
>
> LD_ASSUME_KERNEL on Linux
>
> When using BEA JRockit(R) JDK 5.0 Update 3 (RR25.2.0-28) @JROCKIT_KIT@ on
> Linux, you should first
> make sure that the environment variable 'LD_ASSUME_KERNEL' is *not*
> defined. BEA JRockit(R) JDK 5.0 Update 3 (RR25.2.0-28) @JROCKIT_KIT@
> supports the NPTL threading
> library. However, if 'LD_ASSUME_KERNEL' is defined, it will direct
> the runtime linker to use the older and slower LinuxThreads threading
> library instead, for no benefit.
>
> Anyway with the command: echo $LD_ASSUME_KERNEL
> the result is empty
>
> clelia
>
Re: Agent Controller on Linux [message #34129 is a reply to message #34062] Thu, 06 October 2005 17:07 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: cleliacangiano.hotmail.com

Hi Kevin,
What do you intend with "can your track it down?"
Anyway according to me the most important aspect is that the Agent
Controller doesn't work only with BEA JVM (in fact I've used successful
RAServer with Hot Spot JVM), but if I use this JVM without Agent
Controller I haven't problems.
Have you an email address? It'd be a faster way of communication: i need
to solve this trouble fastly. My address is: clelia.cangiano@gmail.com
Thanks a lot for you graceful helps. Have a nice day!

Clelia
Re: Agent Controller on Linux [message #34361 is a reply to message #34129] Fri, 07 October 2005 20:38 Go to previous messageGo to next message
Kevin P O'Leary is currently offline Kevin P O'LearyFriend
Messages: 4
Registered: July 2009
Junior Member
It was unclear to me based on your previous messages what executable
was reporting that it could not find the pthread library. All I meant was
could you tell if the JVM was reporting the error or the Agent Controller
was.

Thanks

Kevin

"clelia" <cleliacangiano@hotmail.com> wrote in message
news:47cbed0ebbd07cd5d04738554c03d688$1@www.eclipse.org...
> Hi Kevin,
> What do you intend with "can your track it down?" Anyway according to me
> the most important aspect is that the Agent Controller doesn't work only
> with BEA JVM (in fact I've used successful RAServer with Hot Spot JVM),
> but if I use this JVM without Agent Controller I haven't problems. Have
> you an email address? It'd be a faster way of communication: i need to
> solve this trouble fastly. My address is: clelia.cangiano@gmail.com
> Thanks a lot for you graceful helps. Have a nice day!
>
> Clelia
>
Re: Agent Controller on Linux [message #34528 is a reply to message #34361] Sun, 09 October 2005 20:32 Go to previous message
Eclipse UserFriend
Originally posted by: cleliacangiano.hotmail.com

Hi,
The error message comes from Agent Controller.
Have a nice day!

Clelia
Previous Topic:Looking for an experienced TPTP test engineer
Next Topic:XMI file
Goto Forum:
  


Current Time: Fri Mar 29 15:51:18 GMT 2024

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

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

Back to the top