delete persisted jobs?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

delete persisted jobs?

rhodebump
Hi,
I have several hundred instances of addSuggestionsToShoppingList that  
are listed in the JobList and in Services.

Is there a way to delete all the persisted jobs since I don't think  
these jobs will ever succeed.

Thanks.




Async-Service failed.
Exception: org.ofbiz.service.ServiceAuthException
Message: User authorization is required for this service:  
addSuggestionsToShoppingList
---- stack trace  
---------------------------------------------------------------
org.ofbiz.service.ServiceAuthException: User authorization is required  
for this service: addSuggestionsToShoppingList
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:315)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:211)
org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:136)
org.ofbiz.service.job.GenericServiceJob.exec(GenericServiceJob.java:70)
org.ofbiz.service.job.JobInvoker.run(JobInvoker.java:221)
java.lang.Thread.run(Thread.java:619)
--------------------------------------------------------------------------------

2008-10-02 02:52:57,791 (default-invoker-Thread-2)  
[PersistedServiceJob.java:202:INFO ] Persisted Job [34843] Failed Re-
Scheduling : 1222916157790

Reply | Threaded
Open this post in threaded view
|

Re: delete persisted jobs?

BJ Freeman
take a look at why the service purgeOldJobs is not acting on these
     <JobSandbox jobId="8300" jobName="Purge Old Jobs"
runTime="2000-01-01 00:00:00.000" serviceName="purgeOldJobs"
poolId="pool" runAsUser="system" recurrenceInfoId="100"/>


Phillip Rhodes wrote:

> Hi,
> I have several hundred instances of addSuggestionsToShoppingList that
> are listed in the JobList and in Services.
>
> Is there a way to delete all the persisted jobs since I don't think
> these jobs will ever succeed.
>
> Thanks.
>
>
>
>
> Async-Service failed.
> Exception: org.ofbiz.service.ServiceAuthException
> Message: User authorization is required for this service:
> addSuggestionsToShoppingList
> ---- stack trace
> ---------------------------------------------------------------
> org.ofbiz.service.ServiceAuthException: User authorization is required
> for this service: addSuggestionsToShoppingList
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:315)
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:211)
> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:136)
> org.ofbiz.service.job.GenericServiceJob.exec(GenericServiceJob.java:70)
> org.ofbiz.service.job.JobInvoker.run(JobInvoker.java:221)
> java.lang.Thread.run(Thread.java:619)
> --------------------------------------------------------------------------------
>
>
> 2008-10-02 02:52:57,791 (default-invoker-Thread-2)
> [PersistedServiceJob.java:202:INFO ] Persisted Job [34843] Failed
> Re-Scheduling : 1222916157790
>
>
>
>
Reply | Threaded
Open this post in threaded view
|

Re: delete persisted jobs?

BJ Freeman
also
https://localhost:8443/webtools/control/jobList?showAll=Y&hideFields=Y&lookupFlag=Y
find the re-sheduled job and in cancel job that will keep it from re-trying.


[hidden email] wrote:

> take a look at why the service purgeOldJobs is not acting on these
>     <JobSandbox jobId="8300" jobName="Purge Old Jobs"
> runTime="2000-01-01 00:00:00.000" serviceName="purgeOldJobs"
> poolId="pool" runAsUser="system" recurrenceInfoId="100"/>
>
>
> Phillip Rhodes wrote:
>> Hi,
>> I have several hundred instances of addSuggestionsToShoppingList that
>> are listed in the JobList and in Services.
>>
>> Is there a way to delete all the persisted jobs since I don't think
>> these jobs will ever succeed.
>>
>> Thanks.
>>
>>
>>
>>
>> Async-Service failed.
>> Exception: org.ofbiz.service.ServiceAuthException
>> Message: User authorization is required for this service:
>> addSuggestionsToShoppingList
>> ---- stack trace
>> ---------------------------------------------------------------
>> org.ofbiz.service.ServiceAuthException: User authorization is required
>> for this service: addSuggestionsToShoppingList
>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:315)
>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:211)
>> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:136)
>> org.ofbiz.service.job.GenericServiceJob.exec(GenericServiceJob.java:70)
>> org.ofbiz.service.job.JobInvoker.run(JobInvoker.java:221)
>> java.lang.Thread.run(Thread.java:619)
>> --------------------------------------------------------------------------------
>>
>>
>> 2008-10-02 02:52:57,791 (default-invoker-Thread-2)
>> [PersistedServiceJob.java:202:INFO ] Persisted Job [34843] Failed
>> Re-Scheduling : 1222916157790
>>
>>
>>
>>
>
>
>