but I am in trouble now as I cannot switch to 1.5 until some more time. It might take some time to migrate existing applications to 1.5.
by the way we deploy the java on websphere & AS400 thanks Kiran Kumar -----Original Message----- From: Torsten Curdt [mailto:[EMAIL PROTECTED] Sent: Sunday, April 17, 2005 1:14 PM To: Kumar, Kiran Subject: wrong mailing list? >Kiran, > Again: I don't really think the lock >will solve your problem. This only helps if you have >concurrent threads accessing the same session. >Check the relation of the thread and the session id. >As for the DCL: AFAIK this can *not* be solved in any (secure) >way due to JVM internals - I though the article made that clear. >The only way to do proper synchronization is synchronize all >access ...or use Dough's concurrent utils (which are now >also part of java 1.5) >cheers >-- >Torsten