-
1. Re: Setting up Separate Servers
aggressivefish Apr 10, 2007 11:28 AM (in response to aggressivefish)This extra information might help out a bit more to what I've trying to accomplish.
I've been looking at the way JRun has multiple servers set up. One group or JSPs and everything related can be accessed as localhost:8080 whereby you can set up another server for another group of applications and they get created and accessed such as localhost:8181 and so on. The directory structure looks like this JRUN Directory/server1/default-ejb/default-war/...., JRun Directory/server2/default-ejb/default-war/..., etc..,. How can the same be accomplished using JBoss? Do I have to create a separate instance for this or is there another way? Thanks again.
AF -
2. Re: Setting up Separate Servers
peterj Apr 10, 2007 11:43 AM (in response to aggressivefish)See http://wiki.jboss.org/wiki/Wiki.jsp?page=ConfiguringMultipleJBossInstancesOnOneMachine
wiki search "multiple servers" -
3. Re: Setting up Separate Servers
aggressivefish Apr 10, 2007 1:03 PM (in response to aggressivefish)Hi Peter/All,
I had seen that page earlier but was hoping there was an easier way. Is there a way to specify the same computer but with a different port. I saw on the page it said to supply a different IP or DNS alias, is there a way to set up the same way but with a different port only (run -c port:8181 for example). Thanks again.
AF -
4. Re: Setting up Separate Servers
peterj Apr 10, 2007 2:29 PM (in response to aggressivefish)Yes, on that wiki page look at option #2 under "When I try to launch multiple instances I get port conflicts". Also look at the file docs/examples/binding-manager/sample-bindings.xml. That file contains information on how to configure ports for multiple servers.