-
Problem in Struts Concurrent Action calls.
Hello,
I have a problem in my Struts project.
I have 2 Action classes A.java and B.java.
A.java - Works on a Ticket. Login to an external system, gets data and does some processing.
B.java - Monitors A.java and displays the status (what A.java is exactly doing at that particular point of time)
The above works fine if I am running a single request.But it fails if I run concurrent request.
1) I run Ticket1 - A.java processes
2) I run Ticket2 - A.java processes
3) I run getCurrentStatus(Ticket1) // Stucks here.
4) I run getCurrentStatus(Ticket2)
The above concurrent request fetches the Status only when one of the Tickets is fully executed, which makes no meaning to getCurrentStatus().
Then I randomly tried to call multiple Action request in my project and tried to debug. First 2 request reach the server almost immediately and Threads are created, but third request reaches somewhat late (even though all the 3 request are calling same Action and are not dependant on any other Thread).
Can someone help me out in resolving this and let me know where am I going wrong.
Thanks
Bala
Thanks & Regards,
Bala
Similar Threads
-
Replies: 0
Last Post: 10-30-2002, 04:40 AM
-
Replies: 0
Last Post: 10-30-2002, 04:39 AM
-
By Iain Munro in forum .NET
Replies: 0
Last Post: 02-18-2002, 12:32 PM
-
Replies: 0
Last Post: 12-13-2001, 12:06 PM
-
By Adam Dawes in forum VB Classic
Replies: 3
Last Post: 12-21-2000, 11:50 AM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks