Hi,
Attached is a file called [login to view URL] contains all configuration files involved in an attempt to build a tomcat server with the following
properties:
1. A web application consisting of Servlets and JSPs available at the [login to view URL] domain name.
2. A background process in the form of a ScheduledExecutorService initialized in a ServletContextListener when tomcat starts.
3. A Database connection pool shared between the servlets and the background process.
4. Session sharing between this, and other servers in a heterogeneous cluster.
This configuration has a few problems:
A. It create and runs two copies of the background process but it should only create one.
B. The database connection pool is declared GlobalNamingResources but it ought to be in a element. However, Context elements created in META-INF/[login to view URL] make the DB connection pool available to the background process and not the web app while Context elements declared in [login to view URL] make the pool available to the web app, but not the background process. Furthermore, when declared in the META-INF/[login to view URL] file, none of the URL bindings work.
The purpose of this task is to provide the correct way to configure a [login to view URL] fragment file, or [login to view URL], to meet properties 1-4.
The way we will award this project is SIMPLE. We will award it to the lowest bidder that provides THE ANSWER TO EITHER PROBLEM A OR B in a private message along with your bid. We will then award the project, at which point the bidder will need to provide the answer to the other problem. Upon verifying the solutions for both A and B, the milestone will be marked complete and funds transferred.
Best of luck.