Hi all I'm new to J2EE and EJB. Currently I'm learning EJB3.0, and try to follow the steps pointed out by some tutorials found via Google. Recently I need to run several Application Servers at the same time, just to see how easy/difficult it is with each server/framework. Then see a conflict in ports assigned for localhost:[port]. Most of the time, Axis2/JBoss/SunJSAS/Tomcat/Glassfish/WebLogicServer choose 8080 as its default AS port. This confuses me quite sometime in trying to know which AS is making troubles with my http://localhost:8080. So, my question is: is it a good strategy to assign different ports for Servers and versions ? For example - Axis2-1.1.1 = 8080, 1.2 = 8081, 1.3-RC2 = 8082 - JBoss 4.0.2 = 8180, 4.0.5.GA = 8182, 4.2.0 = 8183, 5.0 = 8184 - Tomcat 5.5.23 = 8280, 6.0.13 = 8281 - ....... Thanks alot for your spending time with me.
- Posted by: Cuong Huy To
- Posted on: August 13 2007 05:26 EDT
Yes, you have to assign different ports for Servers and versions although I don't know why you install so many application servers on the same PC. In fact you can create a few application servers in weblogic. Java Development
Thank you for your answer, I need to have more control and understanding of ASs, that's why I have them installed on a same PC. Recently I've found out that with JBoss, there is a little difference between 4.0.x and 4.2.x, in the following example: - Imagine we install JBoss on a PC whose IP is 18.104.22.168, with JBoss 4.0.x, we can call http://22.214.171.124:8080, while with JBoss 4.2.x, without any pre-configuration (that I have not found out how), we can only access to http://localhost:8080 Cuong