Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Test and Performance Tools Platform (TPTP) » Websphere does not start up with piAgent
Websphere does not start up with piAgent [message #30470] Wed, 07 September 2005 22:39 Go to next message
Eclipse User
Originally posted by: john96lee.yahoo.ca

Hello,

I tried to profile a j2ee application in Websphere5.1 in Windows 2000 with
piagent. so I added -XrunpiAgent:server=enabled into an attribute in
process:Server -> processDefinition -> jvmEntries.genericJvmArguments (in
the file
AppServer\config\cells\<my_cell>\nodes\<my_node>\servers\ <my_server>\s
erver.xml), and restart the server from the console. but the server
actually never got start up, what I see from the console is the message
like this:

C:\Program Files\WebSphere\AppServer\bin>startServer server1
ADMU0116I: Tool information is being logged in file C:\Program
Files\WebSphere\AppServer\logs\server1\startServer.log
ADMU3100I: Reading configuration for server: server1
ADMU3200I: Server launched. Waiting for initialization status.

It always stays in the waiting status.

From the Eclipse workbench, I can see the java profile agent is running.

I know the Agent Controller is working fine, since in the same machine, I
can profile the same app in jboss.

Any help is highly appreciated.

Thanks
John
Re: Websphere does not start up with piAgent [message #30540 is a reply to message #30470] Thu, 08 September 2005 11:23 Go to previous messageGo to next message
Eclipse User
Originally posted by: Navid_Mehregani_nmehrega.ca.ibm.com

This is a multipart message in MIME format.
--=_alternative 0054971385257076_=
Content-Type: text/plain; charset="US-ASCII"

Hi John,

It seems strange for WebSphere not to start up. Check to see if it starts
up properly when you remove the -XrunpiAgent parameter. Make sure you
have the bin directory of the Agent Controller in your PATH and make sure
that WebSphere doesn't override your PATH environment variable when you
start it up. Try profiling a simple Java application in enabled mode, if
it works then there isn't anything wrong on the TPTP side. You might also
find it useful to look into the log file of the Agent Controller located
in RA_HOME/config/servicelog.log

Navid Mehregani
--=_alternative 0054971385257076_=
Content-Type: text/html; charset="US-ASCII"


<br><font size=2 face="sans-serif">Hi John,</font>
<br>
<br><font size=2 face="sans-serif">It seems strange for WebSphere not to
start up. &nbsp;Check to see if it starts up properly when you remove the
-XrunpiAgent parameter. &nbsp;Make sure you have the bin directory of the
Agent Controller in your PATH and make sure that WebSphere doesn't override
your PATH environment variable when you start it up. &nbsp;Try profiling
a simple Java application in enabled mode, if it works then there isn't
anything wrong on the TPTP side. &nbsp;You might also find it useful to
look into the log file of the Agent Controller located in RA_HOME/config/servicelog.log</font>
<br>
<br><font size=2 face="sans-serif">Navid Mehregani</font>
--=_alternative 0054971385257076_=--
Re: Websphere does not start up with piAgent [message #30579 is a reply to message #30540] Thu, 08 September 2005 23:24 Go to previous messageGo to next message
Eclipse User
Originally posted by: john96lee.yahoo.ca

Hi Navid

Thanks for help. One correction: the problem that I had is in Windows XP
home edition, not in Windows 2000. Sorry about that.

Yes, if I remove –XrunpiAgent:server=enabled from the server.xml file,
then the Websphere started up properly. Regarding the path, I believe PATH
environment variable was not overridden by the Websphere since I can see
the Java Profile agent with the right PID displayed in the Eclipse profile
configuration agent screen. Beside, I can profile the jboss in the same
computer without any problem.

From RA_HOME/config/servicelog.log file, I found the following entries for
WebSphere startup:

- <CommonBaseEvent creationTime="2005-09-09T03:13:09.265000Z"
globalInstanceId="AE21C3667F4B480582A1394E206671FE" msg="Registering
process 2200" severity="10" version="1.0.1">
<sourceComponentId component="Data Collection Engine"
componentIdType="Application" location="192.168.0.2" locationType="IPV4"
processId="2284" subComponent="..\RAServer\messagePump.c"
componentType="Eclipse_TPTP" />
- <situation categoryName="ReportSituation">
<situationType xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:type="ReportSituation" reasoningScope="INTERNAL" reportCategory="LOG"
/>
</situation>
</CommonBaseEvent>
- <CommonBaseEvent creationTime="2005-09-09T03:13:09.265000Z"
globalInstanceId="AA8DEA883AFC4FF580A0AD5A7A7E7329" msg="Registered Agent
26ce2168-aeb0-49ea-99a8-503191ad22df." severity="10" version="1.0.1">
<sourceComponentId component="Data Collection Engine"
componentIdType="Application" location="192.168.0.2" locationType="IPV4"
processId="2284" subComponent="..\RAServer\messagePump.c"
componentType="Eclipse_TPTP" />
- <situation categoryName="ReportSituation">
<situationType xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:type="ReportSituation" reasoningScope="INTERNAL" reportCategory="LOG"
/>
</situation>
</CommonBaseEvent>


Thanks a lot for your help.

John
Re: Websphere does not start up with piAgent [message #30610 is a reply to message #30579] Fri, 09 September 2005 15:59 Go to previous messageGo to next message
Eclipse User
Originally posted by: Navid_Mehregani_nmehrega.ca.ibm.com

This is a multipart message in MIME format.
--=_alternative 006DC62D85257077_=
Content-Type: text/plain; charset="US-ASCII"

Hi John,

Unfortunately, the log records you've posted aren't very helpful for
determining your problem. What happens when you try to attach to the
profiling agent that pops up? Your problem is actually really difficult
to debug and it can be caused in a number of different ways. I'll give
you a list of how this problem can occur and I'll leave it up to you to
take the approach that makes more sense in your situation:

- As I said before, your PATH environment variable could be pointing to
the wrong piAgent.dll file. Are you using the TPTP RAC or IBM RAC? If
you're using the IBM RAC, then the dll files are all placed in your
System32 directory, which is always included in your PATH. I also still
have my doubts about WebSphere honouring the PATH environment variable
specified for the system.

- Your JDK version could be incompatible. TPTP doesn't support JDK 1.5
and it has had problems with certain JDK versions. Changing your JDK
might help.

- Try upgrading your RAC. I'd recommend using the RAC for TPTP 4.0


Navid Mehregani
--=_alternative 006DC62D85257077_=
Content-Type: text/html; charset="US-ASCII"


<br><font size=2 face="sans-serif">Hi John,</font>
<br>
<br><font size=2 face="sans-serif">Unfortunately, the log records you've
posted aren't very helpful for determining your problem. &nbsp;What happens
when you try to attach to the profiling agent that pops up? &nbsp;Your
problem is actually really difficult to debug and it can be caused in a
number of different &nbsp;ways. &nbsp;I'll give you a list of how this
problem can occur and I'll leave it up to you to take the approach that
makes more sense in your situation:</font>
<br>
<br><font size=2 face="sans-serif">- As I said before, your PATH environment
variable could be pointing to the wrong piAgent.dll file. &nbsp;Are you
using the TPTP RAC or IBM RAC? &nbsp;If you're using the IBM RAC, then
the dll files are all placed in your System32 directory, which is always
included in your PATH. &nbsp;I also still have my doubts about WebSphere
honouring the PATH environment variable specified for the system.</font>
<br>
<br><font size=2 face="sans-serif">- Your JDK version could be incompatible.
&nbsp;TPTP doesn't support JDK 1.5 and it has had problems with certain
JDK versions. &nbsp;Changing your JDK might help.</font>
<br>
<br><font size=2 face="sans-serif">- Try upgrading your RAC. &nbsp;I'd
recommend using the RAC for TPTP 4.0</font>
<br>
<br>
<br><font size=2 face="sans-serif">Navid Mehregani</font>
--=_alternative 006DC62D85257077_=--
Re: Websphere does not start up with piAgent [message #30750 is a reply to message #30610] Mon, 12 September 2005 14:04 Go to previous messageGo to next message
Karla Callaghan is currently offline Karla Callaghan
Messages: 10
Registered: July 2009
Junior Member
This is a multi-part message in MIME format.

------=_NextPart_000_0037_01C5B789.C1AFE5A0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

John,

FYI - the "TPTP RAC" referred to by Navid below is the "Technology =
Preview Agent Controller" that became available in TPTP 4.0 (but only as =
a separate download). No products have begun to use this yet to my =
knowledge, so the answer to Navid's question of which agent controller =
(RAC) you are using is the "IBM RAC". The IBM RAC, however, is simply =
referred to as the "Agent Controller" if you go to the TPTP site and =
look through the list of 4.0 downloads.

-Karla Callaghan

Committer, TPTP Platform Data Collection and Communications
Software Products Division, Intel Corp.

<Navid_Mehregani_nmehrega@ca.ibm.com> wrote in message =
news:dfspi6$bcf$1@news.eclipse.org...

Hi John,=20

Unfortunately, the log records you've posted aren't very helpful for =
determining your problem. What happens when you try to attach to the =
profiling agent that pops up? Your problem is actually really difficult =
to debug and it can be caused in a number of different ways. I'll give =
you a list of how this problem can occur and I'll leave it up to you to =
take the approach that makes more sense in your situation:=20

- As I said before, your PATH environment variable could be pointing =
to the wrong piAgent.dll file. Are you using the TPTP RAC or IBM RAC? =
If you're using the IBM RAC, then the dll files are all placed in your =
System32 directory, which is always included in your PATH. I also still =
have my doubts about WebSphere honouring the PATH environment variable =
specified for the system.=20

- Your JDK version could be incompatible. TPTP doesn't support JDK =
1.5 and it has had problems with certain JDK versions. Changing your =
JDK might help.=20

- Try upgrading your RAC. I'd recommend using the RAC for TPTP 4.0=20


Navid Mehregani
------=_NextPart_000_0037_01C5B789.C1AFE5A0
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2900.2627" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>John,</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>FYI - the "TPTP RAC" referred to by =
Navid below is=20
the "Technology Preview Agent Controller" that became available in TPTP =
4.0 (but=20
only as a separate download).&nbsp; No products have begun to use this =
yet to my=20
knowledge, so the answer to Navid's question of which agent controller =
(RAC) you=20
are using is the "IBM RAC".&nbsp; The IBM RAC, however,&nbsp;is simply =
referred=20
to as the "Agent Controller" if you go to the TPTP site and look through =
the=20
list of 4.0 downloads.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>-Karla Callaghan</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Committer, TPTP Platform Data =
Collection and=20
Communications</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Software Products Division, Intel=20
Corp.</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV>&lt;<A=20
href=3D"mailto:Navid_Mehregani_nmehrega@ca.ibm.com">Navid_Mehregani_nmehr=
ega@ca.ibm.com</A>&gt;=20
wrote in message <A=20
href=3D"news:dfspi6$bcf$1@news.eclipse.org">news:dfspi6$bcf$1@news.eclips=
e.org</A>...</DIV>
<BLOCKQUOTE=20
style=3D"PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; =
BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px"><BR><FONT=20
face=3Dsans-serif size=3D2>Hi John,</FONT> <BR><BR><FONT =
face=3Dsans-serif=20
size=3D2>Unfortunately, the log records you've posted aren't very =
helpful for=20
determining your problem. &nbsp;What happens when you try to attach to =
the=20
profiling agent that pops up? &nbsp;Your problem is actually really =
difficult=20
to debug and it can be caused in a number of different &nbsp;ways. =
&nbsp;I'll=20
give you a list of how this problem can occur and I'll leave it up to =
you to=20
take the approach that makes more sense in your situation:</FONT>=20
<BR><BR><FONT face=3Dsans-serif size=3D2>- As I said before, your PATH =
environment=20
variable could be pointing to the wrong piAgent.dll file. &nbsp;Are =
you using=20
the TPTP RAC or IBM RAC? &nbsp;If you're using the IBM RAC, then the =
dll files=20
are all placed in your System32 directory, which is always included in =
your=20
PATH. &nbsp;I also still have my doubts about WebSphere honouring the =
PATH=20
environment variable specified for the system.</FONT> <BR><BR><FONT=20
face=3Dsans-serif size=3D2>- Your JDK version could be incompatible. =
&nbsp;TPTP=20
doesn't support JDK 1.5 and it has had problems with certain JDK =
versions.=20
&nbsp;Changing your JDK might help.</FONT> <BR><BR><FONT =
face=3Dsans-serif=20
size=3D2>- Try upgrading your RAC. &nbsp;I'd recommend using the RAC =
for TPTP=20
4.0</FONT> <BR><BR><BR><FONT face=3Dsans-serif size=3D2>Navid=20
Mehregani</FONT></BLOCKQUOTE></BODY></HTML>

------=_NextPart_000_0037_01C5B789.C1AFE5A0--
Re: Websphere does not start up with piAgent [message #30970 is a reply to message #30750] Tue, 13 September 2005 21:21 Go to previous messageGo to next message
Eclipse User
Originally posted by: john96lee.yahoo.ca

Thanks for all kind help. I got everything works in Windows 2000 now.

John.
Re: Websphere does not start up with piAgent [message #31180 is a reply to message #30750] Wed, 14 September 2005 09:59 Go to previous messageGo to next message
Eclipse User
Originally posted by: Navid_Mehregani_nmehrega.ca.ibm.com

This is a multipart message in MIME format.
--=_alternative 004CE0FD8525707C_=
Content-Type: text/plain; charset="US-ASCII"

Actually, Karla, the IBM RAC I was referring to is the RAC IBM ships with
its Autonomic Computing tools. It's not open source. It has a install
shield and does some things differently than the open source RAC.

The TPTP RAC I was referring to, referred to the open source RAC that
ships with TPTP. I wasn't referring to the tech preview Agent Controller
in my messages at all.

John, can you please let us know what your problem was and how you
resolved it?

Navid Mehregani
--=_alternative 004CE0FD8525707C_=
Content-Type: text/html; charset="US-ASCII"


<br><font size=2 face="sans-serif">Actually, Karla, the IBM RAC I was referring
to is the RAC IBM ships with its Autonomic Computing tools. &nbsp;It's
not open source. &nbsp;It has a install shield and does some things differently
than the open source RAC. &nbsp;</font>
<br><font size=2 face="sans-serif"><br>
The TPTP RAC I was referring to, referred to the open source RAC that ships
with TPTP. &nbsp;I wasn't referring to the tech preview Agent Controller
in my messages at all. &nbsp;</font>
<br>
<br><font size=2 face="sans-serif">John, can you please let us know what
your problem was and how you resolved it?</font>
<br>
<br><font size=2 face="sans-serif">Navid Mehregani</font>
--=_alternative 004CE0FD8525707C_=--
Re: Websphere does not start up with piAgent [message #31251 is a reply to message #31180] Wed, 14 September 2005 12:00 Go to previous message
Karla Callaghan is currently offline Karla Callaghan
Messages: 10
Registered: July 2009
Junior Member
This is a multi-part message in MIME format.

------=_NextPart_000_000D_01C5B90A.C88E7D00
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

My apologies. I now know that there is yet another version of the RAC.

Regards,
Karla
<Navid_Mehregani_nmehrega@ca.ibm.com> wrote in message =
news:dg9acf$i7e$1@news.eclipse.org...

Actually, Karla, the IBM RAC I was referring to is the RAC IBM ships =
with its Autonomic Computing tools. It's not open source. It has a =
install shield and does some things differently than the open source =
RAC. =20

The TPTP RAC I was referring to, referred to the open source RAC that =
ships with TPTP. I wasn't referring to the tech preview Agent =
Controller in my messages at all. =20

John, can you please let us know what your problem was and how you =
resolved it?=20

Navid Mehregani
------=_NextPart_000_000D_01C5B90A.C88E7D00
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2900.2627" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>My apologies.&nbsp; I now know that =
there is yet=20
another version of the RAC.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Regards,</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Karla</FONT></DIV>
<BLOCKQUOTE=20
style=3D"PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; =
BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV>&lt;<A=20
=
href=3D"mailto:Navid_Mehregani_nmehrega@ca.ibm.com">Navid_Mehregani_nmehr=
ega@ca.ibm.com</A>&gt;=20
wrote in message <A=20
=
href=3D"news:dg9acf$i7e$1@news.eclipse.org">news:dg9acf$i7e$1@news.eclips=
e.org</A>...</DIV><BR><FONT=20
face=3Dsans-serif size=3D2>Actually, Karla, the IBM RAC I was =
referring to is the=20
RAC IBM ships with its Autonomic Computing tools. &nbsp;It's not open =
source.=20
&nbsp;It has a install shield and does some things differently than =
the open=20
source RAC. &nbsp;</FONT> <BR><FONT face=3Dsans-serif size=3D2><BR>The =
TPTP RAC I=20
was referring to, referred to the open source RAC that ships with =
TPTP.=20
&nbsp;I wasn't referring to the tech preview Agent Controller in my =
messages=20
at all. &nbsp;</FONT> <BR><BR><FONT face=3Dsans-serif size=3D2>John, =
can you=20
please let us know what your problem was and how you resolved =
it?</FONT>=20
<BR><BR><FONT face=3Dsans-serif size=3D2>Navid=20
Mehregani</FONT></BLOCKQUOTE></BODY></HTML>

------=_NextPart_000_000D_01C5B90A.C88E7D00--
Previous Topic:Does this Work with JAVA 5?
Next Topic:Exception in Test Perspective
Goto Forum:
  


Current Time: Thu Aug 28 03:11:47 EDT 2014

Powered by FUDForum. Page generated in 0.03704 seconds