How to add another listen port in Tomcat 4.X ?

A

Ahan Hsieh

Dear All:
In tomcat 4.x there is a default listen port 8080 mapping to webapps,
and now I need another
listen port (maybe 8888) to connect to another directory(maybe webapps2),
would you tell me
how to set environment in server.xml ?

Regards.
 
D

David W. Burhans

Here is the URL for the Tomcat server configuration documentation:
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/index.html

Read about Service configuration, Coyote HTTP/1.1 connectors, Engine, and Host.

Basically do the following:
Duplicate your existing service.
Give the new service, new engine, and new host each a new name.
If necessary, change the prefix of any loggers in the new service,
new engine, and/or new host.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,744
Messages
2,569,480
Members
44,900
Latest member
Nell636132

Latest Threads

Top