-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256
Lance,
On 7/19/17 7:35 AM, Campbell, Lance wrote:
> Thanks for your information. So when I have a process that I want
> to run as a thread I would assume I need to implement the
> interface ServletContextListener. I would also assume that the
>
, July 18, 2017 4:30 PM
To: users@tomcat.apache.org
Subject: Re: run thread from servlet
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256
Lance,
On 7/18/17 9:56 AM, Campbell, Lance wrote:
> Tomcat 8.0.x Question: I am wanting to know the proper way to start a
> thread from a servlet.
>
&
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256
Lance,
On 7/18/17 9:56 AM, Campbell, Lance wrote:
> Tomcat 8.0.x Question: I am wanting to know the proper way to start
> a thread from a servlet.
>
> Use Case: A batch process will call a URL that is a servlet. The
> servlet will call a
ip.bhattacha...@gmail.com]
> Sent: Tuesday, July 18, 2017 9:10 AM
> To: Tomcat Users List <users@tomcat.apache.org>
> Subject: Re: run thread from servlet
>
> Hello,
> I hope I understood the requirement correctly. I believe you can start
> EmailProcess thread by t
PM
To: Tomcat Users List <users@tomcat.apache.org>
Subject: RE: run thread from servlet
Basically I have batch jobs that I need to run on many different web
applications. The batch jobs call servlets that then create threads to do
whatever task I need done behind the scenes. The se
, 2017 9:10 AM
To: Tomcat Users List <users@tomcat.apache.org>
Subject: Re: run thread from servlet
Hello,
I hope I understood the requirement correctly. I believe you can start
EmailProcess thread by the context listener. This thread can wait on an object.
And the servlet can enque th
queue data thread ?
Thanks,
Tom
From: Pradip Bhattacharya [pradip.bhattacha...@gmail.com]
Sent: Tuesday, July 18, 2017 10:09 AM
To: Tomcat Users List
Subject: Re: run thread from servlet
Hello,
I hope I understood the requirement correctly. I believe you
Hello,
I hope I understood the requirement correctly. I believe you can start
EmailProcess thread by the context listener. This thread can wait on an
object. And the servlet can enque the data in a concurrent queue, and then
notify the object, on which EmailProcess thread is waiting.
Is this