You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ofbiz.apache.org by Phillip Rhodes <sp...@rhoderunner.com> on 2008/10/02 04:58:35 UTC

delete persisted jobs?

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


Re: delete persisted jobs?

Posted by "bjfree@free-man.net" <bj...@free-man.net>.
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.


bjfree@free-man.net 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
>>
>>
>>
>>
> 
> 
> 

Re: delete persisted jobs?

Posted by "bjfree@free-man.net" <bj...@free-man.net>.
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
> 
> 
> 
>