You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by "Agarwal, Naresh" <na...@informatica.com> on 2003/07/14 14:12:30 UTC

Do we have control on threads on which AXIS application runs?

Hi
 
I have developed a Web Service using AXIS deployed in TOMCAT. I have a requirement in which I need to perform some Init and UnInit operations at the time
creation and destruction of threads on which Web Service will run.
 
So in this case, these threads are spawned and controlled by Tomcat. Is it possible to perform Init and UnInit operations on Tomcat threads?
 
thanks & regards,
Naresh Agarwal

Re: Do we have control on threads on which AXIS application runs?

Posted by Benjamin Tomasini <bt...@neteverything.com>.
Thread management inside of a servlet container is dangerous.  I would
investigate a different design.

Ben

On Mon, 2003-07-14 at 08:12, Agarwal, Naresh wrote:
> Hi
>  
> I have developed a Web Service using AXIS deployed in TOMCAT. I have a
> requirement in which I need to perform some Init and UnInit operations
> at the time
> creation and destruction of threads on which Web Service will run.
>  
> So in this case, these threads are spawned and controlled by Tomcat.
> Is it possible to perform Init and UnInit operations on Tomcat
> threads?
>  
> thanks & regards,
> Naresh Agarwal
-- 
Benjamin Tomasini <bt...@neteverything.com>
NetEverything, LLC