Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Test and Performance Tools Platform (TPTP) » Agent Controller for iSeries
Agent Controller for iSeries [message #3597] Tue, 25 January 2005 19:46 Go to next message
Chris DeLashmutt is currently offline Chris DeLashmuttFriend
Messages: 2
Registered: July 2009
Junior Member
Has anyone had any luck trying to get Hyades/IBM Agent Controller (from
WSAD) on any version of iSeries working properly? I've gotten the agent
application (RASERVER) loaded and running on V5R1, but when I try to
attach to the agent from WSAD 5.1.2 on my workstation, I get no agents in
my list. I'm starting the RASERVER job first, and then trying to start a
small Java 1.3.1 application from QSH like this (replacing the <> values
with appropriate values): "java -cp <classpath> -XrunpiAgent <myClass>".
The -XrunpiAgent is supposed to cause the Hyades system to begin receiving
profiling information from the JVM so that I can view it in WSAD.

Here are some of the things I "know" so far:

- My workstation is attaching at least partially because I get a
connection error in WSAD when the RASERVER job isn't running when I try to
attach, but no errors if the job is started when I attach.
- The iSeries JVM is finding the PIAGENT service program in the HYADES
library, because if I rename that program, and use the "-XrunpiAgent"
parameter on my call to java, the JVM won't start.
- I can use the "Launch" function to successfully launch a new process
through the agent and profile it.

It seems like I'm really close, but I'm just missing something. I'll be
glad to post whatever anyone wants if someone needs a config file or
something.
Re: Agent Controller for iSeries [message #4378 is a reply to message #3597] Tue, 01 February 2005 21:02 Go to previous messageGo to next message
Samson Wai is currently offline Samson WaiFriend
Messages: 46
Registered: July 2009
Member
Hi,

The profiling agnet (piAgent) is a multi-threaded service program. You will
need to turn on multi-thread in QShell using the command:

export QIBM_MULTI_THREADED=Y

in order for the profiler to bootstrap correctly. This is already handled
when the application is remotely launched for profiling.

Samson


"Chris DeLashmutt" <chris.delashmutt@leaseplan.com> wrote in message
news:ct67na$vv6$1@www.eclipse.org...
> Has anyone had any luck trying to get Hyades/IBM Agent Controller (from
> WSAD) on any version of iSeries working properly? I've gotten the agent
> application (RASERVER) loaded and running on V5R1, but when I try to
> attach to the agent from WSAD 5.1.2 on my workstation, I get no agents in
> my list. I'm starting the RASERVER job first, and then trying to start a
> small Java 1.3.1 application from QSH like this (replacing the <> values
> with appropriate values): "java -cp <classpath> -XrunpiAgent <myClass>".
> The -XrunpiAgent is supposed to cause the Hyades system to begin receiving
> profiling information from the JVM so that I can view it in WSAD.
>
> Here are some of the things I "know" so far:
>
> - My workstation is attaching at least partially because I get a
> connection error in WSAD when the RASERVER job isn't running when I try to
> attach, but no errors if the job is started when I attach.
> - The iSeries JVM is finding the PIAGENT service program in the HYADES
> library, because if I rename that program, and use the "-XrunpiAgent"
> parameter on my call to java, the JVM won't start.
> - I can use the "Launch" function to successfully launch a new process
> through the agent and profile it.
>
> It seems like I'm really close, but I'm just missing something. I'll be
> glad to post whatever anyone wants if someone needs a config file or
> something.
>
Re: Agent Controller for iSeries [message #4931 is a reply to message #4378] Wed, 02 February 2005 23:21 Go to previous message
Chris DeLashmutt is currently offline Chris DeLashmuttFriend
Messages: 2
Registered: July 2009
Junior Member
Thanks, Samson. That works great.

Just for information purposes, I was also trying to get this running on
the iSeries with WebSphere. I was able to do that by making sure that the
HYADES library was on the library list for the user profile that runs the
Administrative server jobs for WebSphere. For WAS 4, that was the QEJBSVR
user profile, which was using the QDFTJOBD on my system. That JOBD was
using the system value for default library list, so I added the HYADES
library to the system value. Then I was able to start the WebSphere
server, and attach to it from the WSAD profiling tool. Very cool!

Samson Wai wrote:

> Hi,

> The profiling agnet (piAgent) is a multi-threaded service program. You will
> need to turn on multi-thread in QShell using the command:

> export QIBM_MULTI_THREADED=Y

> in order for the profiler to bootstrap correctly. This is already handled
> when the application is remotely launched for profiling.

> Samson


> "Chris DeLashmutt" <chris.delashmutt@leaseplan.com> wrote in message
> news:ct67na$vv6$1@www.eclipse.org...
>> Has anyone had any luck trying to get Hyades/IBM Agent Controller (from
>> WSAD) on any version of iSeries working properly? I've gotten the agent
>> application (RASERVER) loaded and running on V5R1, but when I try to
>> attach to the agent from WSAD 5.1.2 on my workstation, I get no agents in
>> my list. I'm starting the RASERVER job first, and then trying to start a
>> small Java 1.3.1 application from QSH like this (replacing the <> values
>> with appropriate values): "java -cp <classpath> -XrunpiAgent <myClass>".
>> The -XrunpiAgent is supposed to cause the Hyades system to begin receiving
>> profiling information from the JVM so that I can view it in WSAD.
>>
>> Here are some of the things I "know" so far:
>>
>> - My workstation is attaching at least partially because I get a
>> connection error in WSAD when the RASERVER job isn't running when I try to
>> attach, but no errors if the job is started when I attach.
>> - The iSeries JVM is finding the PIAGENT service program in the HYADES
>> library, because if I rename that program, and use the "-XrunpiAgent"
>> parameter on my call to java, the JVM won't start.
>> - I can use the "Launch" function to successfully launch a new process
>> through the agent and profile it.
>>
>> It seems like I'm really close, but I'm just missing something. I'll be
>> glad to post whatever anyone wants if someone needs a config file or
>> something.
>>
Previous Topic:Need workaround for XML parser error
Next Topic:[Common Base Event for Logging] Where to look for support for this in Eclipse
Goto Forum:
  


Current Time: Wed Sep 18 13:39:10 GMT 2019

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

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

Back to the top