title: How to run the Glassfish v2.1.1 and Glassfish v3.1 at the same time on the same machine?
body: <p>I have 2 projects in development; one of them deployed into the Glassfish v2.1.1, other one into Glassfish v3.1. I want to run both servers at the same time. For this, changed the default ports of Glassfish v2.1.1, 8080 and 8181 to 9090 and 9191 respectively from domain.xml. But when I started the v2.1.1 (while v3.1 is running) from Netbeans 7.0, having "<code>java.net.BindException: Address already in use</code>" exception. The question is on the topic. Your suggestion is appreciated.</p>
  
  <p>Thanks.</p>
  
  <p>Edit : Forgot to mention that I am on Ubuntu 10.10 if it makes a sense. </p>