File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes two connector ports in server.xml. what it means? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "two connector ports in server.xml. what it means?" Watch "two connector ports in server.xml. what it means?" New topic
Author

two connector ports in server.xml. what it means?

yamini nadella
Ranch Hand

Joined: Apr 13, 2004
Posts: 257
Hi,
In my server.xml I have two connector tags with different port numbers. What is the meaning of this? Below is part of my server.xml

Thanks in advance
Yamini.


<Connector port="8080" maxThreads="150" minSpareThreads="25" maxSpareThreads="75" enableLookups="false" redirectPort="8443" acceptCount="100" debug="0" connectionTimeout="20000" disableUploadTimeout="true" />
<Connector port="8009" enableLookups="false" redirectPort="8443" debug="0" protocol="AJP/1.3" />
Sivasundaram Umapathy
Ranch Hand

Joined: Aug 10, 2002
Posts: 360
The first one is the HTTP Connector which implements HTTP protocol and used for servicing client requests.

The second one is AJP Connector element which is used for communicating with a web connector via the AJP i.e Apache Java Protocol. You can use this when you want to integrate Tomcat into an Apache installation so that Apache handles the static content contained in the web application and also may be for utilizing Apache's SSL processing.


Siva
Co-Author - SCMAD Exam Guide - ISBN:9780070077881
Author - Java certification success, Part 4: SCEA
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: two connector ports in server.xml. what it means?