Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » ServerTools (WTP) » Profile Server (WTP and TPTP)
Profile Server (WTP and TPTP) [message #163243] Wed, 08 March 2006 11:19 Go to next message
Eclipse UserFriend
Originally posted by: georg.hicker.reflex.at

Hi everybody!

I'm using WTP to start my Tomcat with an Axis deployed.
Everything works fine so far, but a view days ago I wanted to profile
the server using tptp, since I did deploy some webservices.
I did't manage to configure the server to be profileable.

Does anybody know what to do?
Are there any cheats?
Is it even possible?

kind regards
georg
Re: Profile Server (WTP and TPTP) [message #163268 is a reply to message #163243] Wed, 08 March 2006 12:40 Go to previous messageGo to next message
Samson Wai is currently offline Samson WaiFriend
Messages: 46
Registered: July 2009
Member
Hi,

I am no expert on the WTP product but if there happens to have a way to add
JVM arguments then you can do the following:

1. Make sure TPTP Agent Controller's library is in your library path:
Windows: set PATH=<Agent Controller install dir>\bin;%PATH%
Linux: export LD_LIBRARY_PATH=<Agent Controller install dir>/lib:$PATH
2. Start Agent Controller
3. Add "-XrunpiAgent:server=enabled" to the JVM arguments
4. Start your server

You can bring up the Profiling perspective and attach to the Java Profiling
Agent from the attach dialog by bringing up the Profiling configuration.

Samson


"Georg Hicker" <georg.hicker@reflex.at> wrote in message
news:dumell$3s2$1@eclipse.org...
> Hi everybody!
>
> I'm using WTP to start my Tomcat with an Axis deployed.
> Everything works fine so far, but a view days ago I wanted to profile
> the server using tptp, since I did deploy some webservices.
> I did't manage to configure the server to be profileable.
>
> Does anybody know what to do?
> Are there any cheats?
> Is it even possible?
>
> kind regards
> georg
Re: Profile Server (WTP and TPTP) [message #168890 is a reply to message #163268] Tue, 09 May 2006 22:54 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: p_saville.yahoo.com

I have tried the suggested solution and it works just fine.

I have also managed to successfully start the server in "Profiling" mode by
using the "Profile" window and selecting the server launch target. This
starts the server successfully, but the Profiling perspective shows nothing.

It would be nice if the "Start Server in Profiling Mode" toolbar button from
the Servers view did everything required to actually monitor the server
through the profiling perspective.

Has anyone managed to do this successfully, the easy way without any manual
changes? I would appreciate knowing how to do it if so.

Thanks and best regards,
Philip


"Samson Wai" <samwai@ca.ibm.com> wrote in message
news:dumjc6$r2p$1@eclipse.org...
> Hi,
>
> I am no expert on the WTP product but if there happens to have a way to
> add
> JVM arguments then you can do the following:
>
> 1. Make sure TPTP Agent Controller's library is in your library path:
> Windows: set PATH=<Agent Controller install dir>\bin;%PATH%
> Linux: export LD_LIBRARY_PATH=<Agent Controller install dir>/lib:$PATH
> 2. Start Agent Controller
> 3. Add "-XrunpiAgent:server=enabled" to the JVM arguments
> 4. Start your server
>
> You can bring up the Profiling perspective and attach to the Java
> Profiling
> Agent from the attach dialog by bringing up the Profiling configuration.
>
> Samson
>
>
> "Georg Hicker" <georg.hicker@reflex.at> wrote in message
> news:dumell$3s2$1@eclipse.org...
>> Hi everybody!
>>
>> I'm using WTP to start my Tomcat with an Axis deployed.
>> Everything works fine so far, but a view days ago I wanted to profile
>> the server using tptp, since I did deploy some webservices.
>> I did't manage to configure the server to be profileable.
>>
>> Does anybody know what to do?
>> Are there any cheats?
>> Is it even possible?
>>
>> kind regards
>> georg
>
>
Re: Profile Server (WTP and TPTP) [message #168968 is a reply to message #168890] Wed, 10 May 2006 22:10 Go to previous messageGo to next message
Gorkem Ercan is currently offline Gorkem ErcanFriend
Messages: 166
Registered: July 2009
Senior Member
WTP recently added an extension point so that jvm arguments can be added
for profiling purposes. All the server adapters are supporting this in
the latest RC. I guess that TPTP will ship with implementations of this
extension points for Calisto and then Start server in Profile support
from server tooling UI will be available

--
Görkem


Philip wrote:
> I have tried the suggested solution and it works just fine.
>
> I have also managed to successfully start the server in "Profiling" mode by
> using the "Profile" window and selecting the server launch target. This
> starts the server successfully, but the Profiling perspective shows nothing.
>
> It would be nice if the "Start Server in Profiling Mode" toolbar button from
> the Servers view did everything required to actually monitor the server
> through the profiling perspective.
>
> Has anyone managed to do this successfully, the easy way without any manual
> changes? I would appreciate knowing how to do it if so.
>
> Thanks and best regards,
> Philip
>
>
> "Samson Wai" <samwai@ca.ibm.com> wrote in message
> news:dumjc6$r2p$1@eclipse.org...
>> Hi,
>>
>> I am no expert on the WTP product but if there happens to have a way to
>> add
>> JVM arguments then you can do the following:
>>
>> 1. Make sure TPTP Agent Controller's library is in your library path:
>> Windows: set PATH=<Agent Controller install dir>\bin;%PATH%
>> Linux: export LD_LIBRARY_PATH=<Agent Controller install dir>/lib:$PATH
>> 2. Start Agent Controller
>> 3. Add "-XrunpiAgent:server=enabled" to the JVM arguments
>> 4. Start your server
>>
>> You can bring up the Profiling perspective and attach to the Java
>> Profiling
>> Agent from the attach dialog by bringing up the Profiling configuration.
>>
>> Samson
>>
>>
>> "Georg Hicker" <georg.hicker@reflex.at> wrote in message
>> news:dumell$3s2$1@eclipse.org...
>>> Hi everybody!
>>>
>>> I'm using WTP to start my Tomcat with an Axis deployed.
>>> Everything works fine so far, but a view days ago I wanted to profile
>>> the server using tptp, since I did deploy some webservices.
>>> I did't manage to configure the server to be profileable.
>>>
>>> Does anybody know what to do?
>>> Are there any cheats?
>>> Is it even possible?
>>>
>>> kind regards
>>> georg
>>
>
>
h
Re: Profile Server (WTP and TPTP) [message #169779 is a reply to message #168968] Mon, 22 May 2006 19:57 Go to previous message
Ron Gavlin is currently offline Ron GavlinFriend
Messages: 91
Registered: July 2009
Member
TPTP folks,

Do you plan to leverage this new WTP Generic Server extension point? If
so, will this be available in TPTP 4.2 (i3)?

- Ron
Previous Topic:facet runtimes ?
Next Topic:is there a way to eliminate useless add and remove notifications of the XML-Editor or has anyone mad
Goto Forum:
  


Current Time: Tue Apr 16 19:15:40 GMT 2024

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

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

Back to the top