Adobe Newsgroups | Software Newsgroups | Microsoft Newsgroups | Game Newsgroups

MultiThreading when processing files with SOAP




This is the unformatted text-only version of this page: MultiThreading when processing files with SOAP


Satish_Pawashe@adobeforums.com
01-04-2005, 08:22 PM
I have am running into to another issue, where I am processing multiple files through many request to ASG using SOAP. All these requests are made from one Java Program in a loop (like batch processing). This Java Program spawns one thread per AGS request. I am not using LDAP or User authentication.
Basically this program process multiple files simultaneously by making multiple request to AGS at the same time.

That mean when I process 10 files thought this Java Program, 10 simultaneous requests are made to AGS via SOAP and each result is processed independent to each other. However all this requests are made from one client machine, where this Java program is running,

We are doing this to batch process 1000's of file in parallel to save time.

So the issue is as follows......

When I see the results from these multiple requests, I see the files getting mixed with other request's result. That is a file from [REQUEST NO 1] gets returned inside the rersult of [REQUEST NO 2].

This tell me that the AGS when used with SOAP for parallel batch processing from one client machine, is not Thread safe.

Is this true or I am doing something wrong.

Thanks,

Satish

This page is a text-only version of our site.
GroupBrowser is a leading web access service to your favorite newsgroups!

Click here to post your questions to newsgroups for FREE!