Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8912767
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T04:17:20+00:00 2026-06-15T04:17:20+00:00

My problem comes from real practice: I have an application, that depends on external

  • 0

My problem comes from real practice: I have an application, that depends on external (network) services. If some service become inaccessible my application freeze and I don’t understand where problems come from.

I don’t write application myself and source code doesn’t used logging if something go wrong.

I run jconsole and see all threads with traces (like do this with procexp in my previous job for Windows native application). But there are 120 threads!!

So I want to find threads there some classes (or regex pattern for package/class) in trace and print that traces. So I find place where network wait take place.

jconsole application shown that this theoretically possible to do (but I really don’t want clicks to all of 120 threads in jconsole interface I search by eyes there my packages).

Do I need to run a full debugger jdb? Do I need to start my app (which actually Spring application in Jboss application server) with some option to allow retrieving such info?

I am old live Emacs user, so dumping all thread with traces of locally running application by command line utility also resolve my problem.

I prefer connection to normally (without any debug tuning) running application as this seems unnecessary.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-15T04:17:22+00:00Added an answer on June 15, 2026 at 4:17 am

    I run jvisualvm visit “Threads” tab and press “Thread dump” button and get asked info!!

    So I can save report to file and perform searching in Emacs with regex.

    I just forget that jconsole deprecated as only recently back to Java world (from low level C world).

    But fill free point me to non-interactive command line solution…

    UPDATE kill -QUIT $pid make Java process to dump thread traces to stdout. jps -l help to find Java process. If stdin redefined (Tomcat AS, etc) – check out AS logs!

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a problem with an image preview that comes up when you hover
The problem comes from real environment where the production_plan table captures the order identification
I'm working on a Spring MVC 3 web application, I have some JSPs that
I have an entity which data comes from the database, however, some of its
My problem comes from HTML dropdown select not able to preserve multiple consecutive whitespaces
I am using Twitter Bootstrap, (CSS and JS). The problem comes from the Modal
i have an problem with handling data come from server , please see the
I have downloaded follwing code from one of Google Codes but problem is in
I am developing an application using symfony2 and twig for templates. The problem comes
Hi I am trying out drawing app and have a problem when it comes

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.