users@jersey.java.net

[Jersey] Re: running a parallel polling thread when the webapp gets deployed

From: Glen Mazza <gmazza_at_talend.com>
Date: Mon, 13 Feb 2012 08:01:24 -0500

Marek, you work for Oracle, can't you have someone unsubscribe everyone
from the old email list and reregister them for the new one?

Glen

On 02/13/2012 03:51 AM, Marek Potociar wrote:
> First of all, you are still using the old Jersey email alias... ;)
> Also, I think that Jersey forum is not the right place for discussing
> EJB timers. You should direct your question towards the forums of the
> JavaEE application server you are using. (Since you are not mentioning
> what application server are you running on, there is also a possibility
> that your AS does not support all JavaEE features...) Try e.g.
> GlassFish ( http://glassfish.java.net ) to get full JavaEE feature
> support.
>
> Marek
>
> On Fri 10 Feb 2012 04:10:50 PM CET, tmp wrote:
>> thanks alot!
>>
>> that seems to be exactly what i was searching for.
>>
>> unfortunately i cannot get it work.
>> i just added a new method to my resource class:
>>
>> @Schedule(second="*/5",minute ="*", hour="*", info="every 5s")
>> public void automaticTimeout() {
>> System.out.println("HELLO TIMER");
>> }
>>
>> when i start the webapplication, nothing happens.
>> is there anything missing?
>>
>> --
>> View this message in context: http://jersey.576304.n2.nabble.com/running-a-parallel-polling-thread-when-the-webapp-gets-deployed-tp7269447p7272934.html
>> Sent from the Jersey mailing list archive at Nabble.com.


-- 
Glen Mazza
Talend Community Coders - coders.talend.com
blog: www.jroller.com/gmazza