I guess you are referring to the concept of Virtual Tomcat Hosts. AFAIK, you don't have to install a second Geronimo to run the application on the different ports. I tried this the other day briefly. I have my welcome page running on 2 ports and able to get to both URLs below:
http://ipaddress:8080/ and http://ipaddress:8888/ I had to use ipaddress in the above URL. But I believe with proper network (DNS) configuration, I should be able to access http://host1:8080/ and http://host2:8888/ from a remote machine. Thanks, Lin -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Friday, February 10, 2006 3:04 PM To: [email protected] Cc: [email protected] Subject: RE: how can I change the network listener for a web module? Thank you very much for the fast reply. But I should have asked "what do you do if you have TomcatWebConnector2 defined to listen on port 9090 for the application called "newwebapp" while the default of port 8080 listen for the web application called "defaultwebapp?" Would you need to install another geronimo to run the application on the different ports while you allow the original and default ones continue to listen for the other web application? Thanks, Young "Lin Sun" <[EMAIL PROTECTED] .com> To <[email protected]> 10/02/2006 02:57 cc PM Subject RE: how can I change the network Please respond to listener for a web module? [EMAIL PROTECTED] che.org When your server is not running, you can go to the var\config\config.xml and change the value of the port attribute of TomcatWebConnector (currently 8080) to the port you want and restart the server: <gbean name="TomcatWebConnector"> <attribute name="host">0.0.0.0</attribute> <attribute name="port">8080</attribute> <attribute name="redirectPort">8443</attribute> </gbean> Or you can change it from the admin console, under server--web server and edit TomcatWebConnector from there. Thanks, Lin -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Friday, February 10, 2006 2:35 PM To: [email protected] Subject: how can I change the network listener for a web module? I am trying to run the different web applications from different ports beside the default port of 8080. I do not even know how the default gets into the my initial web application deployment because I did not specify the name like "TomcatWebConnector" any part of web.xml and geronimo-web.xml. Can I have a sample geronimo-web.xml that deploys a web application other than the port 8080? Thanks so much in advance. Young Kim
