• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Knute Snortum
  • Bear Bibeault
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • Piet Souris
  • Ganesh Patekar
Bartenders:
  • Frits Walraven
  • Carey Brown
  • Tim Holloway

connector in apache server

 
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello to all

I want to know what is the role of connector (bridge) in apache server & apache tomcat?

If i have to call jsps or servlets then is connector is must?

Thank you
 
Bartender
Posts: 11445
18
Android Google Web Toolkit Mac Eclipse IDE Ubuntu Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Found this article which helped me understand the connector conceptually. http://www.mulesoft.com/understanding-tomcat-connectors
 
arpita sabat
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In order to connect my server to other server is it must to configure to the connector?
 
Bartender
Posts: 20838
125
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Tomcat is a modular system. It is the specific wiring together of these modules that make it a J2EE server, but the modules are fairly flexible so other types of systems can also be created.

The Connector component is a javabean that establishes and configures a listener (network port) so that external clients can communicate with Tomcat. The Connector is intended to be wired into a Service component and feed an Engine component. The Engine is what handles the actual web application, including routing the requests received from Connectors to the proper webapp, server or JSP.

There are 2 primary types of Connector for Tomcat 6: HTTP Connectors and AJP Connectors. The HTTP Connectors handle http and https clients and the AJP Connector is the tunnel that allows a proxing server such as Apache HTTP to link to Tomcat.

For more details, see the Tomcat Configuration Reference: http://tomcat.apache.org/tomcat-6.0-doc/config/http.html
 
arpita sabat
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for reply. I am using apache tomcat 7.0.42 & apache server 2. I am not getting how to create connector for apache server. I m newbie to this.
 
Rancher
Posts: 43009
76
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You will also need to configure the Apache httpd: http://httpd.apache.org/docs/2.2/mod/mod_proxy_ajp.html
 
arpita sabat
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am trying pass the parameters between two jsp files but unable to do this. I m linux user. My jsp files unable to communicate with each other. I have put that jsp files under /var/www/html folder & trying to call this using apache server.

Is workers.properties file solve this issue or mod_proxy, mod_proxy_ajp ?
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!