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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T20:44:10+00:00 2026-05-25T20:44:10+00:00

Where in the JBoss AS 6 startup script can I set the -b 0.0.0.0

  • 0

Where in the JBoss AS 6 startup script can I set the -b 0.0.0.0 parameter like in JBoss AS 5? The new version reads input from a temporary file .r.lock

:cmdStart
REM Executed on service start
del .r.lock 2>&1 | findstr /C:"being used" > nul
if not errorlevel 1 (
  echo Could not continue. Locking file already in use.
  goto cmdEnd
)
echo Y > .r.lock
jbosssvc.exe -p 1 "Starting %SVCDISP%" > run.log
call run.bat < .r.lock >> run.log 2>&1
jbosssvc.exe -p 1 "Shutdown %SVCDISP% service" >> run.log
del .r.lock
goto cmdEnd
  • 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-25T20:44:11+00:00Added an answer on May 25, 2026 at 8:44 pm

    I suppose you should modify these line:

    call run.bat < .r.lock >> run.log 2>&1
    

    for something like that:

    call run.bat -b 0.0.0.0 < .r.lock >> run.log 2>&1
    

    You can read more in JBoss Docs (its for JBoss EAP 5.1 but I think it should be similar): Run the Application Server as a Service.

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

Sidebar

Related Questions

I am new to jboss and would like to know what are the differences
In other words, making JBoss run a SQL script file or bean immediately on
I have a .jar file added to the CLASSPATH of the JBoss 5 startup
Using JBoss AS 6.1.0 Final with default deployment profile. I like to send a
On an existing application I am trying to startup the JBOSS server and I
My company is trying to upgrade from JBoss 4.2.3 to JBoss 7. Currently I've
Where can I embed startup initialization code in a Restlet web application, without using
I am using JBoss 5 and the system properties service to set some system
I was told I can add the -XX:+HeapDumpOnOutOfMemoryError parameter to my JVM start up
I use JBoss 7.1.1-FINAL AS. Its configured to startup in domain mode with default

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.