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 6940297
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T12:44:03+00:00 2026-05-27T12:44:03+00:00

We are deploying application in WebSphere cluster. Application is running his own never terminated

  • 0

We are deploying application in WebSphere cluster. Application is running his own never terminated threads that are checking some condition for example:

while(true){
  logger.severe("Unterminated thread");
  Thread.sleep(10000);
}

Problem is that after the application is stop(via wsadmin or admin console) in the WebSphere, only the servlets are unregistrated but
these threads are not kill and are still running. Is there any way how to kill this treads when i am stopping the application? We are using WebSphere 7.

thanks

  • 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-05-27T12:44:03+00:00Added an answer on May 27, 2026 at 12:44 pm

    Based on your comments to another answer, I have a suggestion. (Note, I agree with Oleg that you really shouldn’t be doing it this way, but if you must…).

    I presume that in the regular Java application that this code is from, these background threads somehow receive a signal to stop. What I would suggest is using a ServletContextListener to send the stop signal when your servlets have all been deregistered.

    Note that if you don’t already have some way to tell the threads to stop, that’s probably another bug, and this won’t help at all.

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

Sidebar

Related Questions

We're deploying an application on a semi-embedded device that has memory constraints. Looking to
I'm deploying an application using ClickOnce, the problem is that the configuration file (xxx.exe.config)
I am deploying my application using the installer that i create using the Setup
I have read that deploying an application on development environment may be one of
I'm having some problems with deploying my application and while troubleshooting, I came across
I have a Windows Forms application and am deploying that application through ClickOnce deployment.
I have a Windows Forms application and am deploying that application through ClickOnce deployment.
I am deploying an application that has a bootstrap script, which installs a bunch
Hey all, I'm having some trouble setting up my grails application. Running the app
We are deploying django application, I found in the documentation that it is recommended

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.