Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / June 2005

Tip: Looking for answers? Try searching our database.

Monitoring threads in Java.

Thread view: 
jaj_developer@yahoo.co.uk - 21 May 2005 20:41 GMT
All,

Is there a program/utility/class lib (pref gpl) that allows a user to
monitor the threads (like the one in Eclipse, but stand alone)?

The reason I ask is because I have an applet that has athread issue and
I cannot debug it when it's running as an applet, so i'ds like to
monitor the tread.

Does this sort of thing exist?

Thanks in advance

Jaj
ByteCoder - 21 May 2005 20:53 GMT
> All,
>
[quoted text clipped - 10 lines]
>
> Jaj

I think you are looking for a profiling application (profiler). I
suppose there is a profiler plugin for Eclips, but I doubt there is a
stand-alone profiling application.

Signature

-------------
- ByteCoder -           ...I see stupid people
-------------
                  Curiosity *Skilled* the cat

Ross Bamford - 21 May 2005 23:58 GMT
> > All,
> >
[quoted text clipped - 14 lines]
> suppose there is a profiler plugin for Eclips, but I doubt there is a
> stand-alone profiling application.

JProfiler?

Signature

  [Ross A. Bamford]     [ross AT the.website.domain]
Roscopeco Open Tech ++ Open Source + Java + Apache + CMF
http://www.roscopec0.f9.co.uk/ + info@the.website.domain

ByteCoder - 22 May 2005 08:28 GMT
>> > All,
>> >
[quoted text clipped - 16 lines]
>
> JProfiler?

I guess so. :)

Signature

-------------
- ByteCoder -           ...I see stupid people
-------------
                  Curiosity *Skilled* the cat

Roland - 21 May 2005 21:02 GMT
> All,
>
[quoted text clipped - 10 lines]
>
> Jaj

You can debug an applet when it's running in your browser. All you have
to do is to specify the appropriate runtime parameters in the Java
Control Panel: in the control panel select "Java" tab and press "View"
of "Java applet runtime settings" and add the following parameter:

-Xrunjdwp:transport=dt_socket,server=y,address=localhost:9999,suspend=n

If you are using Eclipse, you create a "Remote Java application" run
configuration (menu Run->Debug..., select "Remote Java application",
press New) with Host and Port matching the address given in -Xrunjdwp.

After you finished debugging, remove the -Xrunjdwp parameter from the
Java control panel. Otherwise the browser/plugin keeps listenening for
debug sessions on the specified port (might be a security risk).
Signature

Regards,

Roland de Ruiter
  ___      ___
 /__/ w_/ /__/
/  \ /_/ /  \

Bart van Pelt - 04 Jun 2005 19:34 GMT
Does this help you?

http://java.sun.com/developer/technicalArticles/J2SE/jconsole.html


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.