geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject RE: how can I change the network listener for a web module?
Date Fri, 10 Feb 2006 20:04:14 GMT

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?



             "Lin Sun"                                                     
             .com>                                                      To 
             10/02/2006 02:57                                           cc 
                                       RE: how can I change the network    
             Please respond to         listener for a web module?          

When your server is not running, you can go to the var\config\config.xml
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"></attribute>
      <attribute name="port">8080</attribute>
      <attribute name="redirectPort">8443</attribute>

Or you can change it from the admin console, under server--web server and
edit TomcatWebConnector from there.


-----Original Message-----
From: []
Sent: Friday, February 10, 2006 2:35 PM
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

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

View raw message