|
Home > Archive > BizTalk Server Orchestration > April 2005 > Dehydration and HWS
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Dehydration and HWS
|
|
| Alexandr Zverev 2005-04-11, 7:50 am |
| Hello.
We are developing the solution using HWS. The orchestration is quite simple
- it just generates task message and become to wait the responce. But
sometimes (i don't know the particular reason) we can't see this new task
using getAllTasksForUser method, but the HAT is showing it. And just after
manually restarting BizTalk service this task is appears.
It looks like what the orchestration performs the dehydration. Is it true?
And what should we do to have the abilty to show all tasks using HWS service?
--
Alexandr Zverev
---------------------
Project Manager
NeMo corp.
Saint Petersburg
Russia
| |
| Vishal [MSFT] 2005-04-14, 2:49 am |
| I am not sure if this is a dehydration related issue. Could you send out
event log information in this case.
However if the issue is resolved, I would like to know what the cause was.
Thanks,
Vishal
--------------------
| Thread-Topic: Dehydration and HWS
| thread-index: AcU+hVS/PUWdFO8kTiiXhocnPmmDOQ==
| X-WBNR-Posting-Host: 62.152.78.130
| From: =?Utf-8?B?QWxleGFuZHIgWnZlcmV2?=
<AlexandrZverev@discussions.microsoft.com>
| Subject: Dehydration and HWS
| Date: Mon, 11 Apr 2005 03:58:02 -0700
|
| Hello.
|
| We are developing the solution using HWS. The orchestration is quite
simple
| - it just generates task message and become to wait the responce. But
| sometimes (i don't know the particular reason) we can't see this new task
| using getAllTasksForUser method, but the HAT is showing it. And just
after
| manually restarting BizTalk service this task is appears.
|
| It looks like what the orchestration performs the dehydration. Is it
true?
| And what should we do to have the abilty to show all tasks using HWS
service?
|
| --
| Alexandr Zverev
| ---------------------
| Project Manager
| NeMo corp.
| Saint Petersburg
| Russia
|
| |
| Alexandr Zverev 2005-04-15, 5:50 pm |
| EventLog is clear for this issue. In details action should act following
way.
1. Recieve of activation message
2. Prepare task message for user1 and send it.
3. Wait for user response for 10min (using listen shape)
4. If response arrived perform some logic and finish. Else send new task
to user2 and wait for user response unlimited period of time.
Observed behaviour is:
1. activation is ok
2. task for user1 ok and user1 recieve confirmation e-mail (the task
itself through SMTP port)
(at this point we try to access user1 tasks with getAllTasksForUser() and
situation is vary from time to time, once we could see the task, next time -
couldn't)
3. after timeout period action send task to user2 and user2 recieve
confirmation email (the task itself through SMTP port)
(at this point user1 task is visible with getAllTasksForUser() method, but
situation with task for user2 is the same as with user1 task between steps 2
and 3)
As I already told, eventlog is clear of any messages. And the only thing
wich could bring all task visible - is restarting biztalt service. The
reason I think that this is dehydration issue, because orchestration is in
dehydrated state between steps 2-3
Alex
"Vishal [MSFT]" <vishal@online.microsoft.com> wrote in message
news:5wEoA1JQFHA.4424@TK2MSFTNGXA01.phx.gbl...
>I am not sure if this is a dehydration related issue. Could you send out
> event log information in this case.
> However if the issue is resolved, I would like to know what the cause was.
>
> Thanks,
> Vishal
>
> --------------------
> | Thread-Topic: Dehydration and HWS
> | thread-index: AcU+hVS/PUWdFO8kTiiXhocnPmmDOQ==
> | X-WBNR-Posting-Host: 62.152.78.130
> | From: =?Utf-8?B?QWxleGFuZHIgWnZlcmV2?=
> <AlexandrZverev@discussions.microsoft.com>
> | Subject: Dehydration and HWS
> | Date: Mon, 11 Apr 2005 03:58:02 -0700
> |
> | Hello.
> |
> | We are developing the solution using HWS. The orchestration is quite
> simple
> | - it just generates task message and become to wait the responce. But
> | sometimes (i don't know the particular reason) we can't see this new
> task
> | using getAllTasksForUser method, but the HAT is showing it. And just
> after
> | manually restarting BizTalk service this task is appears.
> |
> | It looks like what the orchestration performs the dehydration. Is it
> true?
> | And what should we do to have the abilty to show all tasks using HWS
> service?
> |
> | --
> | Alexandr Zverev
> | ---------------------
> | Project Manager
> | NeMo corp.
> | Saint Petersburg
> | Russia
> |
>
| |
| Vishal [MSFT] 2005-04-15, 5:50 pm |
| I think I know what the issue here might be.
The getAllTasksforUser method call goes off of tracking information that
Hws captures which is different from HAT information.
Hws tracking information is written to Hws tables in BizTalkDTADb and this
happens transparently during the execution of an Hws action orchestration.
Tracking gets updated each time the orchestration hits the end of a scope.
So, if you were to place your send message in Step 2 inside a scope and
Step 3 etc after and outside the scope, you should see the Hws tracking
information getting updated with regards to the message sent.
There is some latency between a track point getting committed and it
showing up in the Hws tracking tables. So you might need to poll
getAllTasksForUser method but you wouldn't have to restart the service.
Let me know if this helps.
Vishal
--------------------
| From: "Alexandr Zverev" <azverev@newsgroup.nospam>
| References: <BA7BB343-B44B-4A0F-8CDA-1AAE83505FAE@microsoft.com>
<5wEoA1JQFHA.4424@TK2MSFTNGXA01.phx.gbl>
| Subject: Re: Dehydration and HWS
| Date: Thu, 14 Apr 2005 16:26:44 +0400
|
| EventLog is clear for this issue. In details action should act following
| way.
| 1. Recieve of activation message
| 2. Prepare task message for user1 and send it.
| 3. Wait for user response for 10min (using listen shape)
| 4. If response arrived perform some logic and finish. Else send new
task
| to user2 and wait for user response unlimited period of time.
|
| Observed behaviour is:
| 1. activation is ok
| 2. task for user1 ok and user1 recieve confirmation e-mail (the task
| itself through SMTP port)
| (at this point we try to access user1 tasks with getAllTasksForUser() and
| situation is vary from time to time, once we could see the task, next
time -
| couldn't)
| 3. after timeout period action send task to user2 and user2 recieve
| confirmation email (the task itself through SMTP port)
| (at this point user1 task is visible with getAllTasksForUser() method,
but
| situation with task for user2 is the same as with user1 task between
steps 2
| and 3)
|
| As I already told, eventlog is clear of any messages. And the only thing
| wich could bring all task visible - is restarting biztalt service. The
| reason I think that this is dehydration issue, because orchestration is
in
| dehydrated state between steps 2-3
|
| Alex
|
|
| "Vishal [MSFT]" <vishal@online.microsoft.com> wrote in message
| news:5wEoA1JQFHA.4424@TK2MSFTNGXA01.phx.gbl...
| >I am not sure if this is a dehydration related issue. Could you send out
| > event log information in this case.
| > However if the issue is resolved, I would like to know what the cause
was.
| >
| > Thanks,
| > Vishal
| >
| > --------------------
| > | Thread-Topic: Dehydration and HWS
| > | thread-index: AcU+hVS/PUWdFO8kTiiXhocnPmmDOQ==
| > | X-WBNR-Posting-Host: 62.152.78.130
| > | From: =?Utf-8?B?QWxleGFuZHIgWnZlcmV2?=
| > <AlexandrZverev@discussions.microsoft.com>
| > | Subject: Dehydration and HWS
| > | Date: Mon, 11 Apr 2005 03:58:02 -0700
| > |
| > | Hello.
| > |
| > | We are developing the solution using HWS. The orchestration is quite
| > simple
| > | - it just generates task message and become to wait the responce. But
| > | sometimes (i don't know the particular reason) we can't see this new
| > task
| > | using getAllTasksForUser method, but the HAT is showing it. And just
| > after
| > | manually restarting BizTalk service this task is appears.
| > |
| > | It looks like what the orchestration performs the dehydration. Is it
| > true?
| > | And what should we do to have the abilty to show all tasks using HWS
| > service?
| > |
| > | --
| > | Alexandr Zverev
| > | ---------------------
| > | Project Manager
| > | NeMo corp.
| > | Saint Petersburg
| > | Russia
| > |
| >
|
|
|
|
|
|
|
|