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 #59750] Wed, 22 March 2006 22:55 Go to next message
Lisa Davis is currently offline Lisa DavisFriend
Messages: 18
Registered: July 2009
Junior Member
Hi,

I'm trying to get the agent contoller to work on my Linux box so I can
attach to it remotely from my XP machine. I'm having problems though.
Here's what I put in the Linux shell command line:

/eclipse -vmargs -XrunpiAgent:server=enabled

And here's the error I get back:

Error occured during initialization of VM
Could not find -Xrun library: libpiAgent.so

I'm trying to launch eclipse from the /eclipse/eclipse home directory (the
eclipse.sh file is here). The libpiAgent.so exists in one of the plugin
directories in /eclipse/eclispe/plugin, but for some reason eclipse is not
picking it up.

Any help is very much appreciated.

Thank you in advance--
Lisa
Re: Agent Controller on Linux [message #59774 is a reply to message #59750] Thu, 23 March 2006 00:24 Go to previous messageGo to next message
Randy D. Smith is currently offline Randy D. SmithFriend
Messages: 394
Registered: July 2009
Senior Member
Check the "Getting Started with the Agent Controller" documentation...
you appear to be missing the LD_LIBRARY_PATH setup&export. That's the
one big difference between the Linux and Windows use of the Agent
Controller, and the one I often forget.

How are you starting the agent controller? The RAStart.sh start-up
script will probably do what you need... it's in the <RASERVER_HOME>/bin
directory. You did run SetConfig.sh on installation, right? If you
didn't, make sure to do that first before trying to relaunch.
--
RDS

Lisa Davis wrote:
> Hi,
>
> I'm trying to get the agent contoller to work on my Linux box so I can
> attach to it remotely from my XP machine. I'm having problems though.
> Here's what I put in the Linux shell command line:
>
> /eclipse -vmargs -XrunpiAgent:server=enabled
>
> And here's the error I get back:
>
> Error occured during initialization of VM
> Could not find -Xrun library: libpiAgent.so
>
> I'm trying to launch eclipse from the /eclipse/eclipse home directory
> (the eclipse.sh file is here). The libpiAgent.so exists in one of the
> plugin directories in /eclipse/eclispe/plugin, but for some reason
> eclipse is not picking it up.
>
> Any help is very much appreciated.
>
> Thank you in advance--
> Lisa
>
Re: Agent Controller on Linux [message #59821 is a reply to message #59774] Thu, 23 March 2006 16:21 Go to previous messageGo to next message
Lisa Davis is currently offline Lisa DavisFriend
Messages: 18
Registered: July 2009
Junior Member
Thanks for the heads-up Randy. I had forgotten about all of that. Now
though, I'm having a strange problem of Eclipse not seeing any of the TPTP
stuff. When I try to open the Profiling & Logging perspective, the option
just isn't there because Eclipse is not seeing the plugins for some
reason. Any ideas on what I've done wrong with that?

Thanks again!
Lisa
Re: Agent Controller on Linux [message #59845 is a reply to message #59821] Thu, 23 March 2006 19:33 Go to previous messageGo to next message
Randy D. Smith is currently offline Randy D. SmithFriend
Messages: 394
Registered: July 2009
Senior Member
You're not giving me a lot to go on here... help me understand your set-up.

Since we started talking about getting an AC up, I presume we're dealing
with two different systems. One is your workbench side, with your
Eclipse and TPTP installed on it, and the other is some tartget system
with the AC... or do you have Eclipse installed there as well? If
Eclipse on both places... you did install the TPTP plugins in both
places, right?

This problem you're seeing is on a system where TPTP *was* there and now
it's not? That would be rather strange... the only time I can recall
seeing things such as that were resolved by either (1) reinstallation
(ugh, let's not go there), (2) removal of a workspace that is somehow
corrupting things for us (okay, better than (1) but not necessarily
desirable), and (3) just trying "eclipse -clean" start-up option. So try
(3) first. When it comes up, go to the Help => About Eclipse SDK =>
Plug-in Details, and scroll down to the T's ... if TPTP is not there
then cue the Twilight Zone music and pick your poison, (1) or (2). If
they are there, but you still can't get the TPTP Perspective from Window
=> Open Perspective => Other... (Profiling and Logging is not on the
list), can you screen-shot the Plug-in Details with the TPTPs showing so
I can see which versions of which plugins we're dealing with??

--
RDS

Lisa Davis wrote:
> Thanks for the heads-up Randy. I had forgotten about all of that. Now
> though, I'm having a strange problem of Eclipse not seeing any of the
> TPTP stuff. When I try to open the Profiling & Logging perspective, the
> option just isn't there because Eclipse is not seeing the plugins for
> some reason. Any ideas on what I've done wrong with that?
>
> Thanks again!
> Lisa
>
Re: Agent Controller on Linux [message #59869 is a reply to message #59845] Thu, 23 March 2006 22:07 Go to previous messageGo to next message
Lisa Davis is currently offline Lisa DavisFriend
Messages: 18
Registered: July 2009
Junior Member
Sorry about that Randy. I have 2 machines: one is XP and the TPTP seems
to work fine, the other is Linux (SuSE 10). The Linux machine was a real
mess, so I blew it all away and started over. That seemed to do the trick
with everything except the agent controller. I get the following error
message now when I try to run ./eclipse -vmargs
-XrunpiAgent:server=enabled:

JVM terminated. Exit code=1
/usr/bin/java
-XrunpiAgent:server=enabled
-jar /opt/eclipse/eclipse/./startup.jar
-os linux
-ws gtk
-arch x86
-launcher /opt/eclipse/eclipse/./eclipse
-name Eclipse
-showsplash 600
-exitdata 2800005
-vm /usr/bin/java
-vmargs
-XrunpiAgent:server=enabled
-jar /opt/eclipse/eclipse/./startup.jar

I can also send you my serviceconfig.xml file if that will help, but I'm
pretty sure I have everything pointing to the right place now.

I hope this is enough detail. Please let me know if not, and I'll send
whatever else I can. As always, I really appreciate your help on this.

Thanks!

Lisa
Re: Agent Controller on Linux [message #59996 is a reply to message #59869] Fri, 24 March 2006 17:17 Go to previous message
Randy D. Smith is currently offline Randy D. SmithFriend
Messages: 394
Registered: July 2009
Senior Member
For a stock SuSE 10 install, the /usr/bin/java reference for the JVM
would concern me... I think by default /usr/bin/java is gcj. Do you have
another JVM installed? IBM or Sun... try running with one of those
instead (either put it earlier on the path, or run with the "-vm
/path/to/other/java" approach).
--
RDS

Lisa Davis wrote:
> Sorry about that Randy. I have 2 machines: one is XP and the TPTP
> seems to work fine, the other is Linux (SuSE 10). The Linux machine was
> a real mess, so I blew it all away and started over. That seemed to do
> the trick with everything except the agent controller. I get the
> following error message now when I try to run ./eclipse -vmargs
> -XrunpiAgent:server=enabled:
>
> JVM terminated. Exit code=1
> /usr/bin/java
> -XrunpiAgent:server=enabled
> -jar /opt/eclipse/eclipse/./startup.jar
> -os linux
> -ws gtk
> -arch x86
> -launcher /opt/eclipse/eclipse/./eclipse
> -name Eclipse
> -showsplash 600
> -exitdata 2800005
> -vm /usr/bin/java
> -vmargs
> -XrunpiAgent:server=enabled
> -jar /opt/eclipse/eclipse/./startup.jar
> I can also send you my serviceconfig.xml file if that will help, but I'm
> pretty sure I have everything pointing to the right place now.
> I hope this is enough detail. Please let me know if not, and I'll send
> whatever else I can. As always, I really appreciate your help on this.
>
> Thanks!
>
> Lisa
>
Previous Topic:missing 3 plugins
Next Topic:No new perspectives, views, or menu items after installing TPTP
Goto Forum:
  


Current Time: Thu Mar 28 08:17:59 GMT 2024

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

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

Back to the top