I want to install two GlassFish servers, each serving on different ports, on one Windows Server OS. Is this possible>
3 Answers
Yes, this should be possible.
-
bit of a nightmare though, need to move all the catalina ports, or bind each to a different ip.– TomApr 29, 2012 at 22:39
you can set up glassfish in different port with IIS. you run the glassfish admin console, and go to the network listener in the left side of admin GUI. Default port content three port, 4848, 8181, and 8080. You can add new Listener here such as [newport]and your application become http://localhost:[newport]/yourApp
Perhaps this is can help you!
I run with several instances, in Solaris, on the same system, so I think it will work on Windows as well.
You might need to carefully map out port utilization, by making the second instance use all non-default ports, or by running with multiple IP addresses, and binding each GF instance to its own IP.