>>> sachin zingade <[EMAIL PROTECTED]> 22-Apr-00 8:53:51 AM >>>
>Hi guys

>I am using the Java Web Server 2.0 , I want multiple
>clients to access my servlet, i have implemented the
>SingleThreadModel,  for multiple requests the servlet
>gets hanged, later on for the single request also it doesn't
>work,

Well... it should _work_ but noit very well.

I don't know what you mean by "gets hanged" but implementing
SingleThreadModel prevents the servlet from serving more than one
request at a time.

It's usefull for debugging but not terribly useful for live
environments.

You probably want to recompile without SingleThreadModel, making sure
of course that any resources that could be subject to thread issues
are correctly synchronized.


> i have to shutdown the server and then start running
>the same.

This may be a Java Web Server issue. Try using Jakarta or Tomcat one
of the other industrial strength containers.



Nic Ferrier

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to