This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes JBoss/WildFly and the fly likes Configuring multiple users on 1 JBOSS servers Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "Configuring multiple users on 1 JBOSS servers" Watch "Configuring multiple users on 1 JBOSS servers" New topic

Configuring multiple users on 1 JBOSS servers

Ranch Hand

Joined: Aug 18, 2005
Posts: 372
If we are using weblogic, we can create different domains on the same server. Each user can work independently on a particular domain and start and stop the server on that domain without affecting the server in some other domain. Hence it is possible to have a single weblogic server as my development environment with multiple domains and allow multiple developers to deploy and test their code parallely on their respective domains. I want to ask whether this is possible with JBOSS. In our project, we have about 50 developers each working on his/her local JBOSS server installed on his/her system. We are planning to centralize the development server. We want to have 1 development server and all developers should connect to that to build and deploy and test their code. The server would reside at an onsite location in US and the developers would be in US and India. Would this be feasible with JBOSS?

We want to do this so that managing the server becomes easy and any maintenance / patches that need to be applied to the server needs to be done in only 1 place rather than do it in each local server. I would like to hear your thoughts on the pros and cons of each approach, having individual localized servers versus one centralized server for development. I need to prepare a business case on this by this week. Expecting to hear your expert thoughts and opinions. Thanks in advance...
Mark Spritzler

Joined: Feb 05, 2001
Posts: 17249

In an installation of JBoss you already have three different "configurations/server", that is if you just downloaded the zip and unzipped it. Those configurations are "all", "default", and "minimal". When you can "run" from the bin directory you are starting up the "default" server. If you wanted to start up the "all" configuration you call "run -c all"

You can always have more than one configuration running at the same time, hence you "multiple users on 1 JBoss server" it should really be called "multiple users on 1 JBoss installation". You can always copy any of those configurations and past it in that same "server" directory, and give the new directory a new name, like the developer's name, so If I copied the "default" directory into the server directory and renamed the directory to "sathish" I can now run an instance of JBoss with "run -c sathish"

Now the key here is the ports and the port numbers being used. Because you will have mutliple instances of the server running, each instance must use a seperate set of port numbers. This is easy to configure, but I will leave that for you to find here:

Good Luck and it is very possible.


Perfect World Programming, LLC - Two Laptop Bag - Tube Organizer
How to Ask Questions the Smart Way FAQ
Mark Spritzler

Joined: Feb 05, 2001
Posts: 17249


Please click on the My Profile link above and change your display name to meet the JavaRanch Naming Policy of using your real first and real last names.


wood burning stoves
subject: Configuring multiple users on 1 JBOSS servers
Similar Threads
Multiple Developers, One WebLogic Instance
DEV environment - best practice
EJB3: Build, Packaging and Deploying: Industry Standards
Diagnosing possible network issues
weblogic multipe sites on same host