Yes.
And I think I'm going to stick to Frerk Meyer's solution about using cron. [Thanks for 
the link too.]
I don't know yet if a standalone server wich will listen without any help from tomcat 
to a port is more suited to this job.

The main problem is that I don't want too many requests to that servlet and will be a 
lot of requests.
The servlet is like erasing files from a folder [is not doing that, but is the same 
idea] for a request.
I don't want to try to erase the same folder 1000 times..





Viorel Dragomir

.
..
-------------------------------------------------------------------


----- Original Message ----- 
From: Steve Kirk 
To: 'Tomcat Users List' 
Sent: Wednesday, October 27, 2004 14:26
Subject: RE: Tomcat Listener [?]


Are you saying that you have a regular webapp on one port (e.g. 8080) and
want this service to do something for that webapp every 10 mins, as well as
listen for messages on another port?

> -----Original Message-----
> From: Viorel Dragomir [mailto:[EMAIL PROTECTED] 
> Sent: Wednesday 27 October 2004 11:55
> To: [EMAIL PROTECTED]
> Subject: Tomcat Listener [?]
> 
> 
> Hi,
> 
> Can I create a service that runs every ten minutes within Tomcat ?
> This class can also have to listen for messages at a specific 
> port. [I can use a servlet but I am interested if I can wait for
> messages at another port.]
> 
> In the mean time I'll search for a solution for this kind of app.
> 
> If you know that this specs can be done in an application 
> server say so, and I'll search other realms.
> 
> 
> 
> Viorel Dragomir
> 
> .
> ..
> -------------------------------------------------------------------
> 
> 
> 



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to