You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@continuum.apache.org by Benoit Decherf <de...@yahoo-inc.com> on 2008/05/28 10:34:49 UTC
schedules are not working correctly
Hi,
I have a problem with continuum and the scheduler. I create a schedule
'NIGHTLY' that build the project with a specific profile each nights (at
22:00). 71 projects are build in the continuum. This works fine 'in
general', but sometimes the scheduled builds are not executed and I have
to restart continuum to make it works.
I find an error in the log that is probably relationed to this problem:
2008-05-26 09:37:23,325 [http-0.0.0.0-38080-5] INFO
org.apache.maven.continuum.build.settings.SchedulesActivator:default -
Unactivating schedule NIGHTLY
2008-05-26 09:37:23,325 [http-0.0.0.0-38080-5] INFO
org.apache.maven.continuum.build.settings.SchedulesActivator:default -
Stopping active schedule "NIGHTLY".
There was no such logger 'com.opensymphony.xwork.Action:schedule' 2850225.
2008-05-26 09:40:11,637 [http-0.0.0.0-38080-5] WARN
com.opensymphony.xwork.util.LocalizedTextUtil - Unable to find text for
key 'projectGroup.releaseBuilds' in ResourceBundles for locale 'fr'
2008-05-26 09:45:19,646 [http-0.0.0.0-38080-5] WARN
com.opensymphony.xwork.util.LocalizedTextUtil - Unable to find text for
key 'projectGroup.releaseBuilds' in ResourceBundles for locale 'fr'
2008-05-26 09:46:25,494 [http-0.0.0.0-38080-5] INFO
com.opensymphony.xwork.interceptor.Interceptor:exceptionLogging - Error
ocurred during execution
org.apache.maven.continuum.ContinuumException: No such object.
at
org.apache.maven.continuum.DefaultContinuum.logAndCreateException(DefaultContinuum.java:2847)
at
org.apache.maven.continuum.DefaultContinuum.getSchedule(DefaultContinuum.java:2311)
at
org.apache.maven.continuum.web.action.ScheduleAction.input(ScheduleAction.java:111)
Caused by:
org.apache.maven.continuum.store.ContinuumObjectNotFoundException: Could
not find object. Type
'org.apache.maven.continuum.model.project.Schedule'. Id: '31'.
at
org.apache.maven.continuum.store.JdoContinuumStore.getObjectById(JdoContinuumStore.java:1053)
at
org.apache.maven.continuum.store.JdoContinuumStore.getObjectById(JdoContinuumStore.java:1041)
at
org.apache.maven.continuum.store.JdoContinuumStore.getSchedule(JdoContinuumStore.java:1886)
at
org.apache.maven.continuum.DefaultContinuum.getSchedule(DefaultContinuum.java:2307)
... 134 more
Benoit.
Re: schedules are not working correctly
Posted by Emmanuel Venisse <em...@gmail.com>.
can we see some lines before the first log line you sent?
You don't need to restart Continuum, go to the schedule page and you can
reactivate it.
Emmanuel
On Wed, May 28, 2008 at 10:34 AM, Benoit Decherf <de...@yahoo-inc.com>
wrote:
> Hi,
>
> I have a problem with continuum and the scheduler. I create a schedule
> 'NIGHTLY' that build the project with a specific profile each nights (at
> 22:00). 71 projects are build in the continuum. This works fine 'in
> general', but sometimes the scheduled builds are not executed and I have to
> restart continuum to make it works.
>
> I find an error in the log that is probably relationed to this problem:
> 2008-05-26 09:37:23,325 [http-0.0.0.0-38080-5] INFO
> org.apache.maven.continuum.build.settings.SchedulesActivator:default -
> Unactivating schedule NIGHTLY
> 2008-05-26 09:37:23,325 [http-0.0.0.0-38080-5] INFO
> org.apache.maven.continuum.build.settings.SchedulesActivator:default -
> Stopping active schedule "NIGHTLY".
> There was no such logger 'com.opensymphony.xwork.Action:schedule' 2850225.
> 2008-05-26 09:40:11,637 [http-0.0.0.0-38080-5] WARN
> com.opensymphony.xwork.util.LocalizedTextUtil - Unable to find text for
> key 'projectGroup.releaseBuilds' in ResourceBundles for locale 'fr'
> 2008-05-26 09:45:19,646 [http-0.0.0.0-38080-5] WARN
> com.opensymphony.xwork.util.LocalizedTextUtil - Unable to find text for
> key 'projectGroup.releaseBuilds' in ResourceBundles for locale 'fr'
> 2008-05-26 09:46:25,494 [http-0.0.0.0-38080-5] INFO
> com.opensymphony.xwork.interceptor.Interceptor:exceptionLogging - Error
> ocurred during execution
> org.apache.maven.continuum.ContinuumException: No such object.
> at
> org.apache.maven.continuum.DefaultContinuum.logAndCreateException(DefaultContinuum.java:2847)
> at
> org.apache.maven.continuum.DefaultContinuum.getSchedule(DefaultContinuum.java:2311)
> at
> org.apache.maven.continuum.web.action.ScheduleAction.input(ScheduleAction.java:111)
>
> Caused by:
> org.apache.maven.continuum.store.ContinuumObjectNotFoundException: Could not
> find object. Type 'org.apache.maven.continuum.model.project.Schedule'. Id:
> '31'.
> at
> org.apache.maven.continuum.store.JdoContinuumStore.getObjectById(JdoContinuumStore.java:1053)
> at
> org.apache.maven.continuum.store.JdoContinuumStore.getObjectById(JdoContinuumStore.java:1041)
> at
> org.apache.maven.continuum.store.JdoContinuumStore.getSchedule(JdoContinuumStore.java:1886)
> at
> org.apache.maven.continuum.DefaultContinuum.getSchedule(DefaultContinuum.java:2307)
> ... 134 more
>
>
> Benoit.
>
Re: schedules are not working correctly
Posted by Emmanuel Venisse <em...@gmail.com>.
The action is in the schedule page (active or not).
Maybe you have more logs that will can explain your issue.
On Fri, Jun 13, 2008 at 12:21 PM, Benoit Decherf <de...@yahoo-inc.com>
wrote:
> What is the action to stop it ?
>
> The schedule is still active in the administration page.
>
> Benoit
>
>
> Emmanuel Venisse wrote:
>
>> I see nothing in the code that can stop a schedule without a user action.
>>
>> On Fri, Jun 13, 2008 at 10:31 AM, Benoit Decherf <de...@yahoo-inc.com>
>> wrote:
>>
>>
>>
>>> Can anybody help me with this ? This occurs every weeks!
>>>
>>> Benoit
>>>
>>>
>>>
>>>
>>> Benoit Decherf wrote:
>>>
>>>
>>>
>>>> Hi,
>>>>
>>>> I have a problem with continuum and the scheduler. I create a schedule
>>>> 'NIGHTLY' that build the project with a specific profile each nights (at
>>>> 22:00). 71 projects are build in the continuum. This works fine 'in
>>>> general', but sometimes the scheduled builds are not executed and I have
>>>> to
>>>> restart continuum to make it works.
>>>>
>>>> I find an error in the log that is probably relationed to this problem:
>>>> 2008-05-26 09:37:23,325 [http-0.0.0.0-38080-5] INFO
>>>> org.apache.maven.continuum.build.settings.SchedulesActivator:default -
>>>> Unactivating schedule NIGHTLY
>>>> 2008-05-26 09:37:23,325 [http-0.0.0.0-38080-5] INFO
>>>> org.apache.maven.continuum.build.settings.SchedulesActivator:default -
>>>> Stopping active schedule "NIGHTLY".
>>>> There was no such logger 'com.opensymphony.xwork.Action:schedule'
>>>> 2850225.
>>>> 2008-05-26 09:40:11,637 [http-0.0.0.0-38080-5] WARN
>>>> com.opensymphony.xwork.util.LocalizedTextUtil - Unable to find text
>>>> for
>>>> key 'projectGroup.releaseBuilds' in ResourceBundles for locale 'fr'
>>>> 2008-05-26 09:45:19,646 [http-0.0.0.0-38080-5] WARN
>>>> com.opensymphony.xwork.util.LocalizedTextUtil - Unable to find text
>>>> for
>>>> key 'projectGroup.releaseBuilds' in ResourceBundles for locale 'fr'
>>>> 2008-05-26 09:46:25,494 [http-0.0.0.0-38080-5] INFO
>>>> com.opensymphony.xwork.interceptor.Interceptor:exceptionLogging -
>>>> Error
>>>> ocurred during execution
>>>> org.apache.maven.continuum.ContinuumException: No such object.
>>>> at
>>>>
>>>> org.apache.maven.continuum.DefaultContinuum.logAndCreateException(DefaultContinuum.java:2847)
>>>>
>>>> at
>>>>
>>>> org.apache.maven.continuum.DefaultContinuum.getSchedule(DefaultContinuum.java:2311)
>>>>
>>>> at
>>>>
>>>> org.apache.maven.continuum.web.action.ScheduleAction.input(ScheduleAction.java:111)
>>>>
>>>>
>>>> Caused by:
>>>> org.apache.maven.continuum.store.ContinuumObjectNotFoundException: Could
>>>> not
>>>> find object. Type 'org.apache.maven.continuum.model.project.Schedule'.
>>>> Id:
>>>> '31'.
>>>> at
>>>>
>>>> org.apache.maven.continuum.store.JdoContinuumStore.getObjectById(JdoContinuumStore.java:1053)
>>>>
>>>> at
>>>>
>>>> org.apache.maven.continuum.store.JdoContinuumStore.getObjectById(JdoContinuumStore.java:1041)
>>>>
>>>> at
>>>>
>>>> org.apache.maven.continuum.store.JdoContinuumStore.getSchedule(JdoContinuumStore.java:1886)
>>>>
>>>> at
>>>>
>>>> org.apache.maven.continuum.DefaultContinuum.getSchedule(DefaultContinuum.java:2307)
>>>>
>>>> ... 134 more
>>>>
>>>>
>>>> Benoit.
>>>>
>>>>
>>>>
>>>>
>>>
>>
>>
>
>
Re: schedules are not working correctly
Posted by Benoit Decherf <de...@yahoo-inc.com>.
What is the action to stop it ?
The schedule is still active in the administration page.
Benoit
Emmanuel Venisse wrote:
> I see nothing in the code that can stop a schedule without a user action.
>
> On Fri, Jun 13, 2008 at 10:31 AM, Benoit Decherf <de...@yahoo-inc.com>
> wrote:
>
>
>> Can anybody help me with this ? This occurs every weeks!
>>
>> Benoit
>>
>>
>>
>>
>> Benoit Decherf wrote:
>>
>>
>>> Hi,
>>>
>>> I have a problem with continuum and the scheduler. I create a schedule
>>> 'NIGHTLY' that build the project with a specific profile each nights (at
>>> 22:00). 71 projects are build in the continuum. This works fine 'in
>>> general', but sometimes the scheduled builds are not executed and I have to
>>> restart continuum to make it works.
>>>
>>> I find an error in the log that is probably relationed to this problem:
>>> 2008-05-26 09:37:23,325 [http-0.0.0.0-38080-5] INFO
>>> org.apache.maven.continuum.build.settings.SchedulesActivator:default -
>>> Unactivating schedule NIGHTLY
>>> 2008-05-26 09:37:23,325 [http-0.0.0.0-38080-5] INFO
>>> org.apache.maven.continuum.build.settings.SchedulesActivator:default -
>>> Stopping active schedule "NIGHTLY".
>>> There was no such logger 'com.opensymphony.xwork.Action:schedule' 2850225.
>>> 2008-05-26 09:40:11,637 [http-0.0.0.0-38080-5] WARN
>>> com.opensymphony.xwork.util.LocalizedTextUtil - Unable to find text for
>>> key 'projectGroup.releaseBuilds' in ResourceBundles for locale 'fr'
>>> 2008-05-26 09:45:19,646 [http-0.0.0.0-38080-5] WARN
>>> com.opensymphony.xwork.util.LocalizedTextUtil - Unable to find text for
>>> key 'projectGroup.releaseBuilds' in ResourceBundles for locale 'fr'
>>> 2008-05-26 09:46:25,494 [http-0.0.0.0-38080-5] INFO
>>> com.opensymphony.xwork.interceptor.Interceptor:exceptionLogging - Error
>>> ocurred during execution
>>> org.apache.maven.continuum.ContinuumException: No such object.
>>> at
>>> org.apache.maven.continuum.DefaultContinuum.logAndCreateException(DefaultContinuum.java:2847)
>>>
>>> at
>>> org.apache.maven.continuum.DefaultContinuum.getSchedule(DefaultContinuum.java:2311)
>>>
>>> at
>>> org.apache.maven.continuum.web.action.ScheduleAction.input(ScheduleAction.java:111)
>>>
>>>
>>> Caused by:
>>> org.apache.maven.continuum.store.ContinuumObjectNotFoundException: Could not
>>> find object. Type 'org.apache.maven.continuum.model.project.Schedule'. Id:
>>> '31'.
>>> at
>>> org.apache.maven.continuum.store.JdoContinuumStore.getObjectById(JdoContinuumStore.java:1053)
>>>
>>> at
>>> org.apache.maven.continuum.store.JdoContinuumStore.getObjectById(JdoContinuumStore.java:1041)
>>>
>>> at
>>> org.apache.maven.continuum.store.JdoContinuumStore.getSchedule(JdoContinuumStore.java:1886)
>>>
>>> at
>>> org.apache.maven.continuum.DefaultContinuum.getSchedule(DefaultContinuum.java:2307)
>>>
>>> ... 134 more
>>>
>>>
>>> Benoit.
>>>
>>>
>>>
>
>
Re: schedules are not working correctly
Posted by Emmanuel Venisse <em...@gmail.com>.
I see nothing in the code that can stop a schedule without a user action.
On Fri, Jun 13, 2008 at 10:31 AM, Benoit Decherf <de...@yahoo-inc.com>
wrote:
> Can anybody help me with this ? This occurs every weeks!
>
> Benoit
>
>
>
>
> Benoit Decherf wrote:
>
>> Hi,
>>
>> I have a problem with continuum and the scheduler. I create a schedule
>> 'NIGHTLY' that build the project with a specific profile each nights (at
>> 22:00). 71 projects are build in the continuum. This works fine 'in
>> general', but sometimes the scheduled builds are not executed and I have to
>> restart continuum to make it works.
>>
>> I find an error in the log that is probably relationed to this problem:
>> 2008-05-26 09:37:23,325 [http-0.0.0.0-38080-5] INFO
>> org.apache.maven.continuum.build.settings.SchedulesActivator:default -
>> Unactivating schedule NIGHTLY
>> 2008-05-26 09:37:23,325 [http-0.0.0.0-38080-5] INFO
>> org.apache.maven.continuum.build.settings.SchedulesActivator:default -
>> Stopping active schedule "NIGHTLY".
>> There was no such logger 'com.opensymphony.xwork.Action:schedule' 2850225.
>> 2008-05-26 09:40:11,637 [http-0.0.0.0-38080-5] WARN
>> com.opensymphony.xwork.util.LocalizedTextUtil - Unable to find text for
>> key 'projectGroup.releaseBuilds' in ResourceBundles for locale 'fr'
>> 2008-05-26 09:45:19,646 [http-0.0.0.0-38080-5] WARN
>> com.opensymphony.xwork.util.LocalizedTextUtil - Unable to find text for
>> key 'projectGroup.releaseBuilds' in ResourceBundles for locale 'fr'
>> 2008-05-26 09:46:25,494 [http-0.0.0.0-38080-5] INFO
>> com.opensymphony.xwork.interceptor.Interceptor:exceptionLogging - Error
>> ocurred during execution
>> org.apache.maven.continuum.ContinuumException: No such object.
>> at
>> org.apache.maven.continuum.DefaultContinuum.logAndCreateException(DefaultContinuum.java:2847)
>>
>> at
>> org.apache.maven.continuum.DefaultContinuum.getSchedule(DefaultContinuum.java:2311)
>>
>> at
>> org.apache.maven.continuum.web.action.ScheduleAction.input(ScheduleAction.java:111)
>>
>>
>> Caused by:
>> org.apache.maven.continuum.store.ContinuumObjectNotFoundException: Could not
>> find object. Type 'org.apache.maven.continuum.model.project.Schedule'. Id:
>> '31'.
>> at
>> org.apache.maven.continuum.store.JdoContinuumStore.getObjectById(JdoContinuumStore.java:1053)
>>
>> at
>> org.apache.maven.continuum.store.JdoContinuumStore.getObjectById(JdoContinuumStore.java:1041)
>>
>> at
>> org.apache.maven.continuum.store.JdoContinuumStore.getSchedule(JdoContinuumStore.java:1886)
>>
>> at
>> org.apache.maven.continuum.DefaultContinuum.getSchedule(DefaultContinuum.java:2307)
>>
>> ... 134 more
>>
>>
>> Benoit.
>>
>>
>
Re: schedules are not working correctly
Posted by Benoit Decherf <de...@yahoo-inc.com>.
Can anybody help me with this ? This occurs every weeks!
Benoit
Benoit Decherf wrote:
> Hi,
>
> I have a problem with continuum and the scheduler. I create a schedule
> 'NIGHTLY' that build the project with a specific profile each nights
> (at 22:00). 71 projects are build in the continuum. This works fine
> 'in general', but sometimes the scheduled builds are not executed and
> I have to restart continuum to make it works.
>
> I find an error in the log that is probably relationed to this problem:
> 2008-05-26 09:37:23,325 [http-0.0.0.0-38080-5] INFO
> org.apache.maven.continuum.build.settings.SchedulesActivator:default
> - Unactivating schedule NIGHTLY
> 2008-05-26 09:37:23,325 [http-0.0.0.0-38080-5] INFO
> org.apache.maven.continuum.build.settings.SchedulesActivator:default
> - Stopping active schedule "NIGHTLY".
> There was no such logger 'com.opensymphony.xwork.Action:schedule'
> 2850225.
> 2008-05-26 09:40:11,637 [http-0.0.0.0-38080-5] WARN
> com.opensymphony.xwork.util.LocalizedTextUtil - Unable to find text
> for key 'projectGroup.releaseBuilds' in ResourceBundles for locale 'fr'
> 2008-05-26 09:45:19,646 [http-0.0.0.0-38080-5] WARN
> com.opensymphony.xwork.util.LocalizedTextUtil - Unable to find text
> for key 'projectGroup.releaseBuilds' in ResourceBundles for locale 'fr'
> 2008-05-26 09:46:25,494 [http-0.0.0.0-38080-5] INFO
> com.opensymphony.xwork.interceptor.Interceptor:exceptionLogging -
> Error ocurred during execution
> org.apache.maven.continuum.ContinuumException: No such object.
> at
> org.apache.maven.continuum.DefaultContinuum.logAndCreateException(DefaultContinuum.java:2847)
>
> at
> org.apache.maven.continuum.DefaultContinuum.getSchedule(DefaultContinuum.java:2311)
>
> at
> org.apache.maven.continuum.web.action.ScheduleAction.input(ScheduleAction.java:111)
>
>
> Caused by:
> org.apache.maven.continuum.store.ContinuumObjectNotFoundException:
> Could not find object. Type
> 'org.apache.maven.continuum.model.project.Schedule'. Id: '31'.
> at
> org.apache.maven.continuum.store.JdoContinuumStore.getObjectById(JdoContinuumStore.java:1053)
>
> at
> org.apache.maven.continuum.store.JdoContinuumStore.getObjectById(JdoContinuumStore.java:1041)
>
> at
> org.apache.maven.continuum.store.JdoContinuumStore.getSchedule(JdoContinuumStore.java:1886)
>
> at
> org.apache.maven.continuum.DefaultContinuum.getSchedule(DefaultContinuum.java:2307)
>
> ... 134 more
>
>
> Benoit.
>