Looking at Threads in jconsole and should I worry?

When watching a threaded app in jconsole in the Threads Tab, I see a lot of threads, but I assume for several reasons that the ones name btpool#-# where # is a number are the ones in which my code is executing.
Now when I select a thread like "main, Reference Handler, etc" some of these have stack traces some of them do not list any of my classes, but some of them do, even the btpool threads have stack traces.
My question is what is the significance of these stack traces? They seem to be there even when the app is running fine no tasks skippped or crashed.
Second question why are the first lines left out, the one that say what kind of an Exception was thrown? Seems like that would be helpful info.
In the thread list is a thread called Thread-2 which always has a line -locked java.net.SocksSocketImpl@......., is this something I could fix?
RMIScheduler(0) always has sun.misc.Unsafe.park(Native Method), anything helpful there?
Am I correct in assuming that the "Detect Deadlock" button only applies to the currently selected thread?
So much info, but what is important?
Jim

If you want to know more information, I suggest using a debugger. This will give you answers to most of these questions.
jjones3566 wrote:
My question is what is the significance of these stack traces? It shows what the thread is doing.
They seem to be there even when the app is running fine no tasks skippped or crashed.If you had no stack traces, your program wouldn't be doing anything, or waiting to do anything.
Second question why are the first lines left out, the one that say what kind of an Exception was thrown?What suggests that an Exception is being thrown?
Seems like that would be helpful info.If this were happening, you would see the Exception in the stack trace.
In the thread list is a thread called Thread-2 which always has a line -locked java.net.SocksSocketImpl@......., is this something I could fix?If you have a dealock, yes. Otherwise, probably no.
RMIScheduler(0) always has sun.misc.Unsafe.park(Native Method), anything helpful there?It means it waiting to do something. i.e. park'ing
Am I correct in assuming that the "Detect Deadlock" button only applies to the currently selected thread?No.
So much info, but what is important?Not enough information I would guess, a debugger is better if you are trying to find a bug.

Similar Messages

  • An icon has appeared on my desktop called colour sync utility.  I clicked on it, and it came up with information about needing to repair something which I tried to do but it didnt work. What is this and shouldI be worried ?

    An icon has appeared on my desktop called colour sync utility.  I clicked on it, and it came up with information about needing to repair something which I tried to do but it didnt work. What is this and shouldI be worried ?

    The Color Sync Utility is part of OSX and usually resides in the Application/Utilities folder.
    Don't know how it appeared on your desktop.
    But it is no malware, spyware or the like but as said part of OSX.
    http://docs.info.apple.com/article.html?path=Mac/10.6/en/8476.html
    Stefan

  • Why do disk permissions change and should I worry?

    I noticed that my JavaAppletPlugin disk permission says that it should be something that it is not.  I can temporarily fix it by doing a repair disk permissions but sometime later the JavaAppletPlugin disk permissions change back to the settings prior to the repair.
    Why do these particular disk permissions change and should I worry about them?

    Thank you for your answer and I appreciate it.  However, I do have to admit that I am still bothered because, although it may be nothing to worry about, it still pops up as something my Mac thinks is in need of repair and I don't know why the permissions changed if they were supposed to be something specific before.  Call me crazy but it seems like it should not pop up if everything were ok.

  • I looked at system.log in the system profiler today and see lots of activity at 2 a.m. when I was fast asleep, should I worry? It seems to reset hostname and mentions frequent transitions for interface, looks weird to me (I'm not a teckie!)

    I looked at system.log in the system profiler today and see lots of activity at 2 a.m. when I was fast asleep, should I worry? It seems to reset hostname and mentions frequent transitions for interface, looks weird to me (I'm not a teckie!)
    This is a section:
    May 12 02:05:10 wendy-drapers-macbook configd[14]: setting hostname to "wendy-drapers-macbook.local"
    May 12 02:05:29 wendy-drapers-macbook kernel[0]: Auth result for: 00:26:44:14:17:a3 MAC AUTH succeeded
    May 12 02:05:29 wendy-drapers-macbook kernel[0]: AirPort: Link Up on en1
    May 12 02:05:29 wendy-drapers-macbook mDNSResponder[16]: Note: Frequent transitions for interface en1 (192.168.1.92); network traffic reduction measures in effect
    May 12 02:05:29 macbook configd[14]: setting hostname to "macbook.lan"
    May 12 02:05:31 macbook mDNSResponder[16]: Note: Frequent transitions for interface en1 (FE80:0000:0000:0000:021E:C2FF:FEB3:1A3E); network traffic reduction measures in effect
    May 12 02:05:34 macbook com.apple.launchd[1] (org.samba.nmbd): Throttling respawn: Will start in 5 seconds

    I've been seeing messages exactly like that (and many, many other kinds) in the Console since the first version of OS X.  They look menacing but are harmless.
    You don't need any kind of security software.
    Just surf the web carefully, pay attention to where you're going and don't install anything that you don't recognize.  If you are asked to enter an admin user name and password, DON'T.  Unless you know for sure that you initiated the installation from a known and reliable source (like Apple).
    Mac malware relies on social engineering.  No amount of security/anti-virus, blah, blah, blah software is going to help.

  • I have an iPhone 5 and when i lightly tap on the back top part of my phone it sounds like something is rattling inside. Only on the top part of the phone, not on the bottom. I am wondering if anyone knows what this may be and should i have it looked at?

    I have an iPhone 5 and when i lightly tap on the back top part of my phone it sounds like something is rattling inside. Only on the top part of the phone, not on the bottom. I am wondering if anyone knows what this may be and should i have it looked at?

    Definitlely have it looked at. That could be a hardware deffect on the maker(apple) so there could be a definite replacement option.

  • When I open Itunes, i get a dialog box saying 'icloud session is closing'. I have never used iCloud and my library is missing (or i am looking at the iCloud library which should be empty).

    How do I know I am on the iCloud, I never signed up for it, and should not be in/on it. How do I get out of the iCloud if I am indeed in/on it.

    Hi,
    Just several ideas to be checked:
    1. Please, verify the prerequisites of Operations Console listed by the following link:
    http://technet.microsoft.com/en-us/library/dn249696.aspx
    2. Install all the SCOM related system updates.
    3. Clear SCOM Console cache:
    http://systemcenter.no/?p=215
    4. Try to clean up Ops Manager cache on SCOM Management server. To do this stop Microsoft Monitoring Agent service, navigate to SCOM installation path (by default, C:\Program Files\Microsoft System Center 2012 R2\Operations Manager\Server) and
    delete Health Service State folder. Start Microsoft Monitoring Agent service afterwards.
    5. If nothing helps, maybe try to reinstall SCOM Console.
    Igor Savchenko, VIAcode Consulting LLC (http://www.viacode.com/)

  • Adding value of one field into another field and should  display it

    Hai Experts,
    i have problem try help me plz,
    my problem is:
    i have some fields like A,B,C,D,E.in my ddic table and i designed a screen with same fields
    so here i want have values on gallons
    ex : think
    E = order value
    C = gallons
    and when i enter each value in order value it should go sum with gallons and should display on screen ,it should not save in table,when i open screen next time it should not show any values

    Hi  ,
    U Can try the   UserEXIT  PBAS0001 component  EXIT_SAPFP50M_001 . The code in the Include Program  ZXPADU01  looks  something  like  this .
    DATA: I0002 TYPE P0002.
      CLASS CL_HR_PNNNN_TYPE_CAST DEFINITION LOAD.
      CASE INNNN-INFTY.
        WHEN '0002'.
          CALL METHOD CL_HR_PNNNN_TYPE_CAST=>PRELP_TO_PNNNN
            EXPORTING
              PRELP = INNNN
            IMPORTING
              PNNNN = I0002.
          MOVE I0002-VORNA  TO I0002-RUFNM.
          CALL METHOD CL_HR_PNNNN_TYPE_CAST=>PNNNN_TO_PRELP
            EXPORTING
              PNNNN = I0002
            IMPORTING
              PRELP = INNNN.
      ENDCASE.
    U can also  implement  the  same in the BADI  HRPAD00INFTY   method  BEFORE_OUTPUT . The  same   code  should  work

  • I'm looking at buying an IPad and was wondering if it has the capacity to replace a video camera.

    I'm looking at buying an IPad and was wondering if it has the capacity to replace a video camera.  I'm looking at the 128GB version and I know there are many variables.  But I'm thinking that it should hold at least 60 mintues of video before needing it to be downloaded.  Thoughts?

    If you want to record good video, get a camera.
    iPads can record video but they lack almost all other useful features of a dedicated camera - eg a decent lens, the ability to zoom, reasonable audio, removable media, small form factor .... and on and on.
    x

  • One user: "Safari is missing important resources and should be reinstalled"

    I have just installed the Safari 3 Beta and when I open the browser it say:
    "Safari is missing important resources and should be reinstalled."
    And its on all sites I try to visit.
    I have tried to (un)install it 3 times and same problem.
    And the scary: Its only on one user. (There not are administrator)
    I have the (nearly) same problem when I'd installed FireFox 2.
    I solved the problem by create a new user, but I really won't do that again. (Have a lot of stuff to move)
    - Josso
    PS: And sorry for my bad english, I'm a boy from Denmark - Europe.
    Windows Vista Home Premium   Windows Vista  

    I have marked my message as "Solved" cause its now solved, but I get a new problem:
    Safari can’t open the page “http://www.apple.com/startpage”. The error was: “unknown error” ((null):10022) Please choose Report Bugs to Apple from the Help menu, note the error number, and describe what you did before you saw this message.
    I think I saw the problem in another thread so I'll searching.
    Thanks for help. =D

  • HT2128 Does any one know how to attach a document from your mail, while you are already in your e-mail, meaning not having to look for your file first and then open the e-mail.

    Does any one know how to attach a document from your mail, while you are already in your e-mail, meaning not having to look for your file first and then open the e-mail.

    Luis
    Good question - and one that a lot of (business) people would like solved!
    Your question prompted me to do some research, and I found this workaround posted by Scott Grossberg:
    His solution actually addresses a second problem too - how to attach a document when replying to an email message. In your case you may not need to consider the "reply" aspect - but if not right now, it'll come in useful someday!
    I've pasted it verbatim - if it works for you (it does for me) then all credit goes to Scott for solving the problem. There's just one thing I'd add to his solution: you will probably want to rename the message, as by default Goodreader gives it the Subject line: Mail with GoodReader attachments.
    THE GOODREADER OPTION
    1.  CREATE the document you want to send.
    2.  SAVE it to GoodReader (this will require you to buy and install the app).
    3.  Go to your email and OPEN the email thread to which you want to Reply and attach your file.
    4.  COMPOSE your Reply.
    5.  DOUBLE TAP the message.
    6.  TAP SELECT ALL. This will copy the entire email thread.
    7.  OPEN GOODREADER on the iPad and go to the file you want to send as part of your Reply.
    8.  At the bottom of the GoodReader screen you will see an EXPORT icon (it looks like a rectangle with an arrow pointing to the right).
    9.  TAP the Export button.
    10.  TAP EMAIL FILE. Depending on your needs, tap either SEND FILE “AS IS” or “FLATTEN ANNOTATIONS.” This will open a compose message screen with the chosen document already attached.
    11.  TAP in the body of the email screen. TAP PASTE. This will place your composed Reply and the prior email thread into the message.
    12.  ENTER the Recipients’ names in the TO: field of your message.
    13.  SEND your email Reply.
    The modified version (= when composing a new message rather than a reply):
    1 Make sure that the doc you want to attach is saved in GoodReader
    2 In the message you are composing, double tap, select all, and then copy.
    3 Open GoodReader and select the file you want to attach
    4 Select the export button at the bottom of screen
    5 Select e-mail file
    6 Position cursor in body of the email message, tap and paste. You may want to delete the "sent from GoodReader" text that precedes the attachment.
    7 Rename your message (as by default it will be Mail with GoodReader attachments)
    8 Add the recipient's address in the To field.
    Hope this helps! All thanks to Scott for this workaround.

  • What is the application "Agent.app" and should I 'allow' it?

    What is the application "Agent.app" and should I 'allow' it to accept incoming network connections? I've looked at the forums, and all other references talk about apps with titles "___agent.app" (with a suffix to it)...

    Nvm... now I can't figure out how to delete this post...

  • Threads, Process, exec( ), and destroy( )

    I have the following code:
    public class A extends Thread
      private Process   myProcess;
      public synchronized void killProcess()
        if(myProcess != null)
           myProcess.destroy();
      public void run()
            try
              synchronized(this)
                myProcess = Runtime.getRuntime().exec( "some process");
                ...... code to handle streams ..........
              myProcess.waitFor();         
            catch(Exception e)
              e.printStackTrace();
    }One thread will be creating a Process and then waiting for it to finish. Another thread may
    determine that the process needs to be destroyed. I cannot put the call to waitFor( ) in the
    syncrhonized block bacause that would block any other operation on the Process.
    Is it ok that two threads will be using the same reference at the same time?
    Do you think there is any other problem with this code?
    Thanks in advance!

    Doesnt look that good, however an important thing you
    forgot so far if multiple threads are using the inner
    var myProcess - you not only have to synchronize your
    thread itself (methods) but also the object myProcess
    too...Not really. Whoever wants to access the myProcess variable will have to go through killProcess which
    is synchronized. So there is no way two threads can access this variable at the same time.
    Well.. no way other than what my original question is: one thread calling waitFor( ) and another tread calling destroy( ).
    But since waitFor( ) blocks, I cannot synchronize it. Btw, I have actually tried this code and it does exactly what I want, but I am just not sure if it's likely to see any unpleasant surprises at some point.

  • I have lost the possibility to control sharpness. I've lost the window to look at for the sharpness and the buttons... I am using a Mac 10.9.5 and Lightroom 5.7.1

    I have lost the possibility to control sharpness. I've lost the window to look at for the sharpness and the buttons... I am using a Mac 10.9.5 and Lightroom 5.7.1

    Hi Jim, thank for the answer. It works thank you very much..
    Kind regards.
    Louis Dijksman
    Op 24 jan. 2015, om 20:55 heeft JimHess <[email protected]> het volgende geschreven:
    I have lost the possibility to control sharpness. I've lost the window to look at for the sharpness and the buttons... I am using a Mac 10.9.5 and Lightroom 5.7.1
    created by JimHess in Photoshop Lightroom - View the full discussion
    I am interpreting that to say that the detail panel is missing your develop module. If that is the case, right-click on one of the other panel headings and make sure there is a checkmark for detail.
    If the reply above answers your question, please take a moment to mark this answer as correct by visiting: https://forums.adobe.com/message/7128302#7128302 and clicking ‘Correct’ below the answer
    Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page:
    Please note that the Adobe Forums do not accept email attachments. If you want to embed an image in your message please visit the thread in the forum and click the camera icon: https://forums.adobe.com/message/7128302#7128302
    To unsubscribe from this thread, please visit the message page at , click "Following" at the top right, & "Stop Following"
    Start a new discussion in Photoshop Lightroom by email or at Adobe Community
    For more information about maintaining your forum email notifications please go to https://forums.adobe.com/thread/1516624.

  • Why does my site look nothing like the design and during testing once uploaded to the server?

    Why does my site look nothing like the design and during testing once uploaded to the server?,
    Im using Muse whichj crashes like you would not beleive, but after much perseverance I got a basic 4 page holding site together, I tested the site and it all looked fine, when I uploaded it to the server it looks nothing like the site I tested, to the point that even the background has changed colour and nothing is in the rite place.

    Hi John, Sure it's
    http://www.thezine.co.uk
    thanks
    it should be looking like this

  • URGENT: Unable to see "Live Threads" in JConsole

    Hi,
    I can connect to JConsole and display "Number of Threads" graph fine. But I don't see anything under "Live Threads". I tried with both JDK 1.5.0_06 and JDK 1.5.0_05. I would appreciate if you have input.
    Thanks,
    Mustafa

    It is a problem in Oracle Application Server that overrides the Thread.getId() method and their implementation doesn't conform to the Thread.getId() specification.
    I know that Oracle has an internal bug filed against this problem. When this bug is fixed, you will be able to see the thread list. You may want to contact Oracle for the bug status.

Maybe you are looking for

  • Hi newbie here  . .

    Hi everyone (Sorry if this post is in the wrong thread but am just getting sorted). Newbie here and having just swapped from a Windows machine to my mac I am finding a problem with itunes. Please in words of one syllable . . could some one please say

  • The operation could not be completed because an error occurred when creating frame 6105 (error -1).

    I am trying to share a project and after the 3% of sharing the project it appears this message. The operation could not be completed because an error occurred when creating frame 6105 (error -1). What can I do?? I need some help please!!

  • Using adjustment layers to only one layer

    I know how to use an adjustment layer - it goes directly over the layer I'm editing and I'm able to edit the colour (such as hue etc). The trouble is, anything below that adjustment layer then gets affected. Is there any way I am able to make this ad

  • How to pass values to SQL server Agent Job which internally calls SSIS

    Hi, I have a requirement where i need to call remotely SSIS package from ASPX. After following MSDN form, I have creaed one SQL server agent job and calling that job from ASPX. I am ablt call SQL server agent job from ASPX. Only issue i am facing is:

  • Responsive projects autosizing for multiple devices -- best practices?

    While it's a nice idea to have the three different breakpoints on width that allow you to make some major layout changes, I'm having trouble making this work well across multiple devices.  With the high resolutions of current mobile devices, this mod