I'm trying to start a JBoss3 and a JBoss4 server under Eclipse at the same time. It appears the same port numbers are used in both the server configs when you download them to a Windows environment. In order to do this, I have to have each server instance use separate ports or I'll get an error 'already active' for the port. I believe I have to make two changes:
1) The Web port to use (usually 8080): defined in C:\jboss-xxx\server\default\deploy\jbossweb-tomcat50.sar\service.xml
2) The RMI port to use (usually 1098): I have found this value in a number of files under the subdirectories of C:\jboss-xxx\server\..., in files named jboss-service.xml and jboss-minimal.xml. Which one of these files is the one used by JBoss to determine the RMI port?
3) Are there any other duplicate entries I need to change?
There are quite a few ports used by JBoss, have a look at the following page: -
http://wiki.jboss.org/wiki/Wiki.jsp?page=ConfigurePorts