-
1. Re: How can I set 2 server configurations at the same machin
adrian.brock Aug 25, 2002 3:30 PM (in response to jussi_po)Yes, this is possible.
3.2 will include a service to help you do this.
Here is the xml file it uses to translate
configurations based on <server-name>
it might help you to find the port numbers to change.
http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/jboss/contrib/varia/src/resources/services/binding/sample-bindings.xml?rev=HEAD&content-type=text/vnd.viewcvs-markup
Regards,
Adrian -
2. Re: How can I set 2 server configurations at the same machin
jussi_po Aug 26, 2002 4:46 AM (in response to jussi_po)so I can't do this with 3.0.1 version?
Do you know when 3.2 ver is coming?
-jussi -
3. Re: How can I set 2 server configurations at the same machin
adrian.brock Aug 26, 2002 7:54 AM (in response to jussi_po)A release candidate should be out soon.
You can do it, you just have to do it by hand.
Copy ${jboss.dist}/server/default to
${jboss.dist}/server/anotherone
Then make the changes to the ports suggested by
that xml file.
To start the new server use
run.sh(bat) -c anotherone
Regards,
Adrian -
4. Re: How can I set 2 server configurations at the same machin
jussi_po Aug 26, 2002 9:59 AM (in response to jussi_po)and I put the xml file in ${jboss.dist}/server/default/debloy and
${jboss.dist}/server/anotherone/ debloy ?
right?
-jussi -
5. Re: How can I set 2 server configurations at the same machin
adrian.brock Aug 26, 2002 10:52 AM (in response to jussi_po)If you have 3.2, you put the xml where you like.
You add a binding service to the top of
jboss-service.xml
If you have 3.0.x, you'll have to go through the
*-service.xml identified in the xml and change the ports
manually.
Regards,
Adrian -
6. Re: How can I set 2 server configurations at the same machin
kirlen Jan 29, 2003 3:10 AM (in response to jussi_po)Hi,
I'm trying to do this, too. I'm using 3.2.0RC1 and trying to follow the instructions in the JBoss Admin and Development book.
I uncomment the Service Bindings section in jboss-service.xml, and point it to the service-bindings.xml file available at the SourceForge URL you provided. However, when I try to run, I get:
java.lang.ClassNotFoundException: No ClassLoaders found for: org.jboss.services.binding.ServiceBindingManager
Browsing through the various libs, I certainly don't see any such class, or even an org.jboss.services package.
Is this supposed to work yet?
Thanks,
Kevin