I see, please check the commits that went after RC-8 for both registry and
the task component. Also, you can debug a bit more in the task component
and see, what is really happening. There is a Quartz adapter class for
ntask called "TaskQuartzJobAdapter", debug in that and see.

Cheers,
Anjana.


On Wed, Sep 11, 2013 at 9:14 AM, Eranda Sooriyabandara <era...@wso2.com>wrote:

> Hi Anjana,
> As we can see in the logs task is scheduled but its not triggered which is
> the problem here. As I mentioned before this was working in RC-8.
>
> thanks
> Eranda
>
>
> On Wed, Sep 11, 2013 at 9:08 AM, Anjana Fernando <anj...@wso2.com> wrote:
>
>> Hi Eranda,
>>
>> Check if the task scheduling code in registry is getting hit. And if so,
>> if you see a log in the console saying, the task is scheduled.
>>
>> Cheers,
>> Anjana.
>>
>>
>> On Tue, Sep 10, 2013 at 10:05 PM, Eranda Sooriyabandara 
>> <era...@wso2.com>wrote:
>>
>>> Basically nothing happens at all. We set a debug point at execute method
>>> and it never hit.
>>>
>>> thanks
>>> Eranda
>>>
>>>
>>> On Tue, Sep 10, 2013 at 7:58 PM, Anjana Fernando <anj...@wso2.com>wrote:
>>>
>>>> I see, OK. Eranda, now when you said, not executed according to the
>>>> cron, is it executing in some way at all? .. you may want to debug the
>>>> scheduling code and see a bit, what is happening there.
>>>>
>>>> Cheers,
>>>> Anjana.
>>>>
>>>>
>>>> On Tue, Sep 10, 2013 at 7:26 PM, Ajith Vitharana <aji...@wso2.com>wrote:
>>>>
>>>>> Hi Anjana,
>>>>>
>>>>>
>>>>> On Tue, Sep 10, 2013 at 7:19 PM, Anjana Fernando <anj...@wso2.com>wrote:
>>>>>
>>>>>> Hi Eranda,
>>>>>>
>>>>>> Not sure what is happening there .. but there was some issue with the
>>>>>> way Registry was handling tasks, and Ajith fixed it. He actually told me,
>>>>>> registry is no longer using the scheduled tasks, and not sure, if he
>>>>>> altogether shut that functionality off or not. Ajith will know more info 
>>>>>> on
>>>>>> that.
>>>>>>
>>>>>
>>>>> Earlier, we used ArtifactPrefetchTask to load the generic artifacts
>>>>> and that is already removed. But recently we used task again  for ESB+
>>>>> G-Reg integration (new feature for this release).
>>>>> The issue I fixed was the NPE which is throwing the server shutdown.
>>>>>
>>>>> Thanks
>>>>> Ajith.
>>>>>
>>>>>
>>>>>>
>>>>>> Cheers,
>>>>>> Anjana.
>>>>>>
>>>>>>
>>>>>> On Tue, Sep 10, 2013 at 7:07 PM, Eranda Sooriyabandara <
>>>>>> era...@wso2.com> wrote:
>>>>>>
>>>>>>> Hi Anjana,
>>>>>>> Registry has a task MediationArtifactPopulatorTask which
>>>>>>> is registered when we uncomment the relevant configurations in the
>>>>>>> registry.xml. This task is started when registry started but not get
>>>>>>> executed according to the cron. This was observed in the latest pack 
>>>>>>> which
>>>>>>> built on clean repo and this is working with RC-8 packs.
>>>>>>>
>>>>>>> thanks
>>>>>>> Eranda
>>>>>>>
>>>>>>> --
>>>>>>> *Eranda Sooriyabandara
>>>>>>> *Senior Software Engineer;
>>>>>>> Integration Technologies Team;
>>>>>>> WSO2 Inc.; http://wso2.com
>>>>>>> Lean . Enterprise . Middleware
>>>>>>>
>>>>>>> E-mail: eranda AT wso2.com
>>>>>>> Mobile: +94 716 472 816
>>>>>>> Linked-In: http://www.linkedin.com/in/erandasooriyabandara
>>>>>>> Blog: http://emsooriyabandara.blogspot.com/
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> *
>>>>>>> *
>>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> *Anjana Fernando*
>>>>>> Technical Lead
>>>>>>  WSO2 Inc. | http://wso2.com
>>>>>> lean . enterprise . middleware
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Ajith Vitharana.
>>>>> WSO2 Inc. - http://wso2.org
>>>>> Email  :  aji...@wso2.com
>>>>> Mobile : +94772217350
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> *Anjana Fernando*
>>>> Technical Lead
>>>> WSO2 Inc. | http://wso2.com
>>>> lean . enterprise . middleware
>>>>
>>>
>>>
>>>
>>> --
>>> *Eranda Sooriyabandara
>>> *Senior Software Engineer;
>>> Integration Technologies Team;
>>> WSO2 Inc.; http://wso2.com
>>> Lean . Enterprise . Middleware
>>>
>>> E-mail: eranda AT wso2.com
>>> Mobile: +94 716 472 816
>>> Linked-In: http://www.linkedin.com/in/erandasooriyabandara
>>> Blog: http://emsooriyabandara.blogspot.com/
>>>
>>>
>>>
>>> *
>>> *
>>>
>>
>>
>>
>> --
>> *Anjana Fernando*
>> Technical Lead
>> WSO2 Inc. | http://wso2.com
>> lean . enterprise . middleware
>>
>
>
>
> --
> *Eranda Sooriyabandara
> *Senior Software Engineer;
> Integration Technologies Team;
> WSO2 Inc.; http://wso2.com
> Lean . Enterprise . Middleware
>
> E-mail: eranda AT wso2.com
> Mobile: +94 716 472 816
> Linked-In: http://www.linkedin.com/in/erandasooriyabandara
> Blog: http://emsooriyabandara.blogspot.com/
>
>
>
> *
> *
>



-- 
*Anjana Fernando*
Technical Lead
WSO2 Inc. | http://wso2.com
lean . enterprise . middleware
_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to