Re: MultiThreadModel-Problem?

2001-06-15 Thread Sebastian Schulz
hi, thank you all for your help hints, i'll check it out. Special thanks to Antony for his tip concerning ConcurrentHashMap-Implementation from Doug Lea! Bo, unfortunately i haven't the book Java Platform Performance, maybe you could give a summary from page 126? thank you all again! basti

MultiThreadModel-Problem?

2001-06-14 Thread Sebastian Schulz
hi, i use a servlet in MultiThreadModel-mode (default). when 2 users at the same time makes the same request to the servlet (a operation that needs a bit) it seams, that only the request of the user who was perhaps a millisecond earlier is responded correct, the other seams to be ignored. (i

Re: MultiThreadModel-Problem?

2001-06-14 Thread Luba Powell
HttpServlet is not thread safe. Synchronize your code where needed - Original Message - From: Sebastian Schulz [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, June 14, 2001 11:08 AM Subject: MultiThreadModel-Problem? hi, i use a servlet in MultiThreadModel-mode (default

RE: MultiThreadModel-Problem?

2001-06-14 Thread Christopher Kirk
seeing code I cann't be much more exact. - Chris. Brainbench MVP Java2. -Original Message- From: Sebastian Schulz [mailto:[EMAIL PROTECTED]] Sent: 14 June 2001 16:09 To: [EMAIL PROTECTED] Subject: MultiThreadModel-Problem? hi, i use a servlet in MultiThreadModel-mode (default

RE: MultiThreadModel-Problem?

2001-06-14 Thread silvio . c . l . terra
:20 AM To: [EMAIL PROTECTED] Subject: Re: MultiThreadModel-Problem? HttpServlet is not thread safe. Synchronize your code where needed - Original Message - From: Sebastian Schulz [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, June 14, 2001 11:08 AM Subject: MultiThreadModel

Re: MultiThreadModel-Problem?

2001-06-14 Thread Luba Powell
PROTECTED] Sent: Thursday, June 14, 2001 12:50 PM Subject: RE: MultiThreadModel-Problem? I'm new to all this, but is this (HttpServlet not being thread safe) a Tomcat problem, or just a general JSP problem, which will show up no matter what server I use (weblogic, for instance)? -Original

Re: MultiThreadModel-Problem?

2001-06-14 Thread Luba Powell
: MultiThreadModel-Problem? Sebastian Schulz wrote: [...] the second question is: data-container like HashMap or HashSet are considered to be not Thread-save. Can i use such containers in a MultiThreadModel-Servlet or must i use only slower structures like Vector? your help is realy

Re: MultiThreadModel-Problem?

2001-06-14 Thread Antony Bowesman
Sebastian Schulz wrote: [...] the second question is: data-container like HashMap or HashSet are considered to be not Thread-save. Can i use such containers in a MultiThreadModel-Servlet or must i use only slower structures like Vector? your help is realy needed, many