Page 1 of 2

Posted: Fri Mar 06, 2009 1:06 pm
by ray.wurlod
Each instance is logged separately, at least logically (the entries are all in the same table, but each is inspected through its own "view"). You open each instance's log in Director.

Posted: Sat Mar 07, 2009 8:37 am
by marcelo_almeida
Ray,

I can't see the log of the instance that gave mistake, it doesn't appear in the director.
See the log of the sequence. When the job multiple instance is called it begins and it concludes with the status = 99, this provokes the abort of the sequence.

Item #: 4
Event ID: 1011
Timestamp: 2009-03-06 10:30:29
Type: Info
User Name: SERVER85|isadmin
Message Id: IIS-DSTAGE-RUN-I-0019
Message: SeqChamaRTExecJob.SeqDocSiatcProposta.JobControl (DSWaitForJob): Waiting for job SeqDocSiatcProposta to finish

Item #: 5
Event ID: 1012
Timestamp: 2009-03-06 10:30:29
Type: Info
User Name: SERVER85|isadmin
Message Id: IIS-DSTAGE-RUN-I-0019
Message: SeqChamaRTExecJob.SeqDocSiatcProposta.JobControl (DSWaitForJob): Job SeqDocSiatcProposta has finished, status = 99 (Not running)

Posted: Sat Mar 07, 2009 8:42 am
by chulett
Where's your InvocationID? It looks to me like you're running your MI job in a non-MI mode as I would think it would say "Waiting for job SeqDocSiatcProposta.??? to finish" otherwise. :?

Posted: Sat Mar 07, 2009 8:46 am
by Mike
Do an exact search on "status = 99 (Not running)". This seems to be a bug related to auto-purge and multi-instance for version 8x.

Mike

Posted: Sat Mar 07, 2009 3:21 pm
by ray.wurlod
Check that you are supplying the invocation ID correctly. There does not appear to be an invocation ID in these messages.

Posted: Mon Mar 09, 2009 12:58 pm
by marcelo_almeida
Mike,

I saw that post, but don't solve the problem. I think this is another problem.

Thanks

Posted: Mon Mar 09, 2009 2:09 pm
by chulett
We think so, too. :?

Posted: Tue Mar 10, 2009 9:34 am
by marcelo_almeida
Forgive me, in fact, the job that is multiple instance is the sequence and not the job server.

After accomplishing more tests, I noticed that what really happens is the following:

I have two sequences, and the sequence father is not multiple instance, but the son is.
The sequence son, is invoked inside several times of the sequence father.

Usually, the mistake happens when the sequence son is invoked simultaneously at once, in other words, the fact of invoking the multiple instance sequence simultaneously several times is provoking the mistake.
I know this because I change the job father, placing the calls for the sequence son in sequence and the error ended.

But this doesn't solve the problem because sometimes I need to execut in parallel and not in sequence.

Posted: Tue Mar 10, 2009 10:50 am
by ArndW
Do you have your auto-purge enabled? That has caused some issues for me in the past when multi-instance log details have disappeared on me.

Posted: Tue Mar 10, 2009 12:04 pm
by marcelo_almeida
I tured off the auto-purge, however the error persisted.

Posted: Tue Mar 10, 2009 12:07 pm
by chulett
You do understand that, for any multi-instance job to work "in parallel" that each invocation id must be unique amongst any running invocations, yes?

Posted: Tue Mar 10, 2009 12:17 pm
by marcelo_almeida
Yes, for each instance a different id is passed.
The ID is passed though a different parameter for each instance.

Posted: Tue Mar 10, 2009 12:19 pm
by marcelo_almeida
Yes, for each instance a different id is passed.
The ID is passed though a different parameter for each instance.

Posted: Tue Mar 10, 2009 12:21 pm
by chulett
Please verify that this is, in fact, truly happening. The log messages you've posted so far seem to indicate otherwise.

Posted: Tue Mar 10, 2009 12:33 pm
by marcelo_almeida
You are correct.

But as I said this morning, the problem is with the sequence (SeqChamaRTExecJob.SeqDocSiatcProposta) and not with the job server (SeqDocSiatcProposta).
The log I posted is the job sequence. The job of multiple instances is the job sequence and it is having problems.