Solved

What does it mean worker.properties?

Posted on 2008-06-14
3
560 Views
Last Modified: 2013-12-02
I know that worker.properties file is used to connect to tomacat and apache .. following are the few line that i  extracted from my worker.properties in my webserver..

can some please explain what does it means?

worker.localworker.type=ajp13
worker.localworker.host=localhost
worker.localworker.port=8009
 
worker.foreignworker.type=ajp13
worker.foreignworker.host=XX.XX.XX.59
worker.foreignworker.port=8009
 
worker.dealerportal.type=ajp13
worker.dealerportal.host=XX.XX.XX.64
worker.dealerportal.port=8009

Open in new window

0
Comment
Question by:jaisonshereen
  • 2
3 Comments
 
LVL 92

Expert Comment

by:objects
ID: 21787869
that define 3 connections
1. localworker is a ajp13 connection to port 8009 on localhost
2. foreignworker is a ajp13 connection to port 8009 on XX.XX.XX.59
3. dealerportal is a ajp13 connection to port 8009 on XX.XX.XX.64

0
 

Author Comment

by:jaisonshereen
ID: 21788489
what is localworker,foriegnworker,dealerportel?
0
 
LVL 92

Accepted Solution

by:
objects earned 500 total points
ID: 21789911
they are just the names of the connectuions. You use those in your apache config to specify what connection to use

0

Featured Post

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Most of the developers using Tomcat find it easy to configure the datasource in Server.xml and use the JNDI name in the code to get the connection.  So the default connection pool using DBCP (or any other framework) is made available and the life go…
When it comes to showing a 404 error page to your visitors, you do not want that generic page to show, and you especially do not want your hosting provider’s ad error page to show either. In this article, I will show you how to enable the custom 40…
The viewer will learn how to implement Singleton Design Pattern in Java.
This tutorial covers a practical example of lazy loading technique and early loading technique in a Singleton Design Pattern.

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question