on 04-23-2015 2:33 AM
Hi,
Whenever i run system jobs like System_removeoldjobs I always ended up with java stack error.
And also when searching old job Id it always resulted to that.
Can someone here help me why this error came out?
What are the possible reason and the solution for this?
Thanks!
-Alyssa
The problem is thatt even that system maintenance jobs like System_ProcesskeepClause ended up with this error.
Is it also possible to set KeepClause of jobs with script?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello,
You are probably trying to attempt to delete a very big chain. This has proven to cause some issues in older CPS versions.
What you can try to do is set the expiration date on that job. Then the process keep clause job will take care of it:
From the shell:
{
Job j = jcsSession.getJobByJobId(new Long(<your job id here>));
j.setKeepExpiration(new DateTimeZone());
jcsSession.persist();
}
After the next time the process keep clause job has ran it should be removed automatically.
If you are using RemoveOldJobs to remove everything after 3 months or so, you can also think of implementing a global keep clause.
Regards Gerben
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.