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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T17:53:52+00:00 2026-06-18T17:53:52+00:00

I use Ant to start/shutdown JBoss 5 server through Jenkins. Ant java spawn and

  • 0

I use Ant to start/shutdown JBoss 5 server through Jenkins. Ant java spawn and fork are set to “true”, so command is executed in the background.

Jenkins successfully starts up the server, waits two minutes (a “sleep” command in Jenkins), then after the sleep it for some strange reason shuts down the server. The sleep command is the last step in the build job. The shutdown says:

2013-01-29 17:03:39,332 INFO  [org.jboss.bootstrap.microcontainer.ServerImpl] Runtime     shutdown hook called, forceHalt: true

I googled it and tried the suggested -Xrs command, but it didn’t help. What is happening here?

  • 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-18T17:53:53+00:00Added an answer on June 18, 2026 at 5:53 pm

    Jenkins have something called the process tree killer that will kill all processes created by the job (even those started with spawn and fork set to true).

    There are some workarounds to this behavior.

    • disabling process tree killer

      -Dhudson.util.ProcessTreeKiller.disable=true

    or

    • set the env. var BUILD_ID=dontKillMe in the JBOSS process.

      export BUILD_ID=dontKillMe

    You can browse the ProcessTreeKill wiki article or jenkins JIRA to find various workarounds for this issue.

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

Sidebar

Related Questions

I try to start some command from ssh non-interactive ssh connection. I use ant-sshexec
I use ant debug to build my project. After building with this command, my
As Android Java projects use Ant as a build tool, using Ivy for dependency
i have 3 web server. I use ant script for upload my files to
I use ant for sign my jars for web-start deployment. Ant.signjar is very slow
How can I use Ant to download and unpack java jars while only specifying
I start studying ANT today in order to make Java compiling easier. I wrote
Use 'ant clean test' with the newest android sdk got error: build.xml:622: The following
We use Ant to create a database in our testing environment with the following
I'm trying to use ant to use XSLT to preprocess three specific stylesheets in

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.