Hello,

could somebody please tell me how Tomcat handles requests. I have the
following scenario documented by the following protocol. As the protocol
shows, the application behaves as it should: Start handling the request and
after handling the request the configured filter removes the lock on the
associated form.
This works OK as long as i don't post requests to fast.
After some fast requests i only get the start of the request protocolled,
but no end nor the release of locks are protocolled. After further testing,
it seems to me that the filter is not executed when request are coming to
fast - so the resource stays locked and Tomcat starts a new thread for every
incoming requests ....

What can i do to ensure that the resource is always released (my servlet
forwards to a JSP, after the JSP has finished the resource can be released).
Would it be better to write a subclass of a JSP and implement this in a
finally block of the service method?
My forms are locked on a per session/function base.
Tomcat 4.01 is running on Windows 2000.

Thanks for any help in advance

Reto

Application-Log:
[24.01.2002 08:01:38] - SMIController.handleRequest (D): Start:
dis_ind_entry [session=00A8D7F074380565008677E2D1519269]
[24.01.2002 08:01:38] - SMIController.handleRequest (D): End: dis_ind_entry
[session=00A8D7F074380565008677E2D1519269]
sims.servlet.worker.dataEntry.DistrictIndicatorWorker pushed back in pool.
[24.01.2002 08:01:38] - Filter (D): Lock on form released
[24.01.2002 08:01:39] - SMIController.handleRequest (D): Start:
dis_ind_entry [session=00A8D7F074380565008677E2D1519269]
[24.01.2002 08:01:39] - SMIController.handleRequest (D): End: dis_ind_entry
[session=00A8D7F074380565008677E2D1519269]
sims.servlet.worker.dataEntry.DistrictIndicatorWorker pushed back in pool.
[24.01.2002 08:01:39] - Filter (D): Lock on form released
[24.01.2002 08:01:39] - SMIController.handleRequest (D): Start:
dis_ind_entry [session=00A8D7F074380565008677E2D1519269]
[24.01.2002 08:01:39] - SMIController.handleRequest (D): End: dis_ind_entry
[session=00A8D7F074380565008677E2D1519269]
sims.servlet.worker.dataEntry.DistrictIndicatorWorker pushed back in pool.
[24.01.2002 08:01:39] - Filter (D): Lock on form released
[24.01.2002 08:01:40] - SMIController.handleRequest (D): Start:
dis_ind_entry [session=00A8D7F074380565008677E2D1519269]
[24.01.2002 08:01:41] - SMIController.handleRequest (D): End: dis_ind_entry
[session=00A8D7F074380565008677E2D1519269]
sims.servlet.worker.dataEntry.DistrictIndicatorWorker pushed back in pool.
[24.01.2002 08:01:41] - Filter (D): Lock on form released
[24.01.2002 08:01:59] - SMIController.handleRequest (D): Start:
dis_ind_entry [session=00A8D7F074380565008677E2D1519269]
[24.01.2002 08:01:59] - SMIController.handleRequest (D): End: dis_ind_entry
[session=00A8D7F074380565008677E2D1519269]
sims.servlet.worker.dataEntry.DistrictIndicatorWorker pushed back in pool.
[24.01.2002 08:01:59] - Filter (D): Lock on form released
[24.01.2002 08:01:59] - SMIController.handleRequest (D): Start:
dis_ind_entry [session=00A8D7F074380565008677E2D1519269]
[24.01.2002 08:01:59] - SMIController.handleRequest (D): End: dis_ind_entry
[session=00A8D7F074380565008677E2D1519269]
sims.servlet.worker.dataEntry.DistrictIndicatorWorker pushed back in pool.
[24.01.2002 08:01:59] - Filter (D): Lock on form released
[24.01.2002 08:01:59] - SMIController.handleRequest (D): Start:
dis_ind_entry [session=00A8D7F074380565008677E2D1519269]
[24.01.2002 08:02:00] - SMIController.handleRequest (D): Start:
dis_ind_entry [session=00A8D7F074380565008677E2D1519269]
[24.01.2002 08:02:00] - SMIController.handleRequest (D): End: dis_ind_entry
[session=00A8D7F074380565008677E2D1519269]
sims.servlet.worker.dataEntry.DistrictIndicatorWorker pushed back in pool.
[24.01.2002 08:02:00] - SMIController.handleRequest (D): Start:
dis_ind_entry [session=00A8D7F074380565008677E2D1519269]
[24.01.2002 08:02:01] - SMIController.handleRequest (D): Start:
dis_ind_entry [session=00A8D7F074380565008677E2D1519269]
[24.01.2002 08:02:01] - SMIController.handleRequest (D): Start:
dis_ind_entry [session=00A8D7F074380565008677E2D1519269]
[24.01.2002 08:02:02] - SMIController.handleRequest (D): Start:
dis_ind_entry [session=00A8D7F074380565008677E2D1519269]
[24.01.2002 08:02:02] - SMIController.handleRequest (D): Start:
dis_ind_entry [session=00A8D7F074380565008677E2D1519269]
[24.01.2002 08:02:02] - SMIController.handleRequest (D): Start:
dis_ind_entry [session=00A8D7F074380565008677E2D1519269]
[24.01.2002 08:02:03] - SMIController.handleRequest (D): Start:
dis_ind_entry [session=00A8D7F074380565008677E2D1519269]
[24.01.2002 08:02:03] - SMIController.handleRequest (D): Start:
dis_ind_entry [session=00A8D7F074380565008677E2D1519269]
[24.01.2002 08:02:03] - SMIController.handleRequest (D): Start:
dis_ind_entry [session=00A8D7F074380565008677E2D1519269]
[24.01.2002 08:02:04] - SMIController.handleRequest (D): Start:
dis_ind_entry [session=00A8D7F074380565008677E2D1519269]
[24.01.2002 08:02:05] - SMIController.handleRequest (D): Start:
dis_ind_entry [session=00A8D7F074380565008677E2D1519269]
[24.01.2002 08:02:06] - SMIController.handleRequest (D): Start:
dis_ind_entry [session=00A8D7F074380565008677E2D1519269]
[24.01.2002 08:02:06] - SMIController.handleRequest (D): Start:
dis_ind_entry [session=00A8D7F074380565008677E2D1519269]


--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>

Reply via email to