configuring tomcat....please help.

Hi,

I have developed a web service which provides a result after 30 sec. Now i want only two clients to access the web service concurrently. if a third client wants to access teh service at teh same time, the third request has to be dropped. please help me how to configure this on tomcat for this. I am using tomcat and jwsdp1.5 to develop websevices(jaxrpc).

Thanks and Regards,

kartik.

[413 byte] By [karthik_reddya] at [2007-11-27 0:26:56]
# 1

I don't know how you can do this in Tomcat configuration but I it could be possible to increment a counter when the Java methods get called and decrement it before the method returns and when a call arrives and the counter is 2 or bigger just return an error code. Accessing the counter must be synchronized of course.

_NetMackan_a at 2007-7-11 22:26:04 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...