Posts Topics Forums Images
Search videos from message boards Videos Search messages from microblogs Microblogs Search messages from imdb.com Imdb Search messages from yuku.com Yuku Search messages from lefora.com (free forums) Lefora
My account: Login | Sign Up
Loading... 

Thread: Thread.Abort in WCF Service hosted on WAS restarting the Service

Started 1 month ago by gauravpuri19
I have hosted a WCF service on WAS (on Windows Vista) and the protocol of the endpoint is netTcp. In the service I am starting a thread which takes a long time to run. It runs successfully. The problem is when ever Thread.Abort() is fired it restarts the service instead of aborting that thread only. In the first hit from the client it starts the thread and maintains the thread in the static ...
Site: CodeProject: Discussion Boards. Free source code and programming help  CodeProject: Discussion Boards. Free source code and programming help - site profile
Forum: WPF / WCF / WF  WPF / WCF / WF - forum profile
Total authors: 2 authors
Total thread posts: 2 posts
Thread activity: no new posts during last week
Domain info for: codeproject.com

Other posts in this thread:

DoctorMick replied 1 month ago
I don't know why you're experiencing the specific problem but you could look at using an alternative mechanism to Thread.Abort(). Have a read of this . It explains the problems around Thread.Abort and a neat alternative.

 

Top contributing authors

Name
Posts
gauravpuri19
1
user's latest post:
Thread.Abort in WCF Service...
Published (2009-11-13 06:29:00)
I have hosted a WCF service on WAS (on Windows Vista) and the protocol of the endpoint is netTcp. In the service I am starting a thread which takes a long time to run. It runs successfully. The problem is when ever Thread.Abort() is fired it restarts the service instead of aborting that thread only. In the first hit from the client it starts the thread and maintains the thread in the static dictionary and then on the second hit fires the...
DoctorMick
1
user's latest post:
Thread.Abort in WCF Service...
Published (2009-11-13 11:56:00)
I don't know why you're experiencing the specific problem but you could look at using an alternative mechanism to Thread.Abort(). Have a read of this . It explains the problems around Thread.Abort and a neat alternative.

Related threads on "CodeProject: Discussion Boards. Free source code and programming help":

Related threads on other sites:

Thread profile page for "Thread.Abort in WCF Service hosted on WAS restarting the Service" on http://www.codeproject.com. This report page is a snippet summary view from a single thread "Thread.Abort in WCF Service hosted on WAS restarting the Service", located on the Message Board at http://www.codeproject.com. This thread profile page shows the thread statistics for: Total Authors, Total Thread Posts, and Thread Activity