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

  • Home
  • SEARCH
  • 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 1068117
In Process

The Archive Base Latest Questions

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

At my office we run JBoss 4.0 and use Eclipse to debug and run

  • 0

At my office we run JBoss 4.0 and use Eclipse to debug and run the JBoss server. We’re deploying simple wars, nothing terribly complex. However, I haven’t yet figured out how to get this version of JBoss to either allow me to run separate instances of the war (HEAD and the Branch, for example) or to run separate servers controlled by two different projects in Eclipse. Anyone know how to do this? I’ve searched and found nothing that addresses this specifically.

  • 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-16T20:14:44+00:00Added an answer on May 16, 2026 at 8:14 pm

    The three things you have to think about are:

    • Making sure that instances do not overwrite each other’s files
    • Making sure that the instances don’t open the same TCP ports
    • Determining how to shut down each instance

    Create a copy of your configuration so you don’t have file collisions (like when temp files are created). Then, I would recommend just binding the two configurations to different IPs on the same machine, which will avoid port conflicts. You can do something like this:

     run –b 192.168.0.100 –c myconfig
     run –b 192.168.0.101 –c myconfig2
    

    If you have two network cards, this is easy. If you don’t, you can setup virtual IP addresses with a loopback adapter on Windows. On Linux, you can use ifconfig.

    To shut down, just make sure you specify the IP/port to shut down, like this:

    shutdown –s 192.168.0.100:1099 -S
    shutdown –s 192.168.0.101:1099 -S
    

    I’m not sure how to get you going on Eclipse, but you should be able to specify those flags to the run and shutdown scripts through the configuration somehow.

    We cover this topic in depth in JBoss in Action in section 15.2 – Collocating multiple application server instances.

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

Sidebar

Related Questions

In the office we use Visual Studio 2008 with Team Foundation Server as our
do we need to install Microsoft office in server to run a application to
My office has a central Source Safe 2005 install that we use for source
I have an application run on an enterprise having head office and branches. Each
I read in a few places it can run desktop programs such as Office
Does MS Office Live allows user to upload and use asp.net websites? We have
In the office here we have a startup script that runs on the server
I have a VPN in my office. One machine has windows server 2003 installed.
Everyone in my office uses Macs and therefore most use Safari. We have a
I run an in-house application, programmed with visual studio 2008, that uses SQL Server

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.