Forum main
page
Most
active member
Login page
Register
Log out
Search page
Information Online
View our event calendar
Add general event such as an upcoming
software release or conference
View all birthdays
Public image gallery
Upload your images in your profile
Profile editing page
Subscription list page
Address book page
Member list page
View the
most active member
User groups listing
Private message page
|
|
Users viewing this topic: none
|
|
Login | |
|
Multiple instances of skeds - 6 September 2004
|
|
|
sonya
Posts: 5
Score: 0 Joined: 1 September 2004 Status: offline
|
Hi Pieter, I am having some problems running multiple instances of a sked at the same time. I have posted to the BizTalkers forum, and it has been suggested that you may be able to offer some assistance as BizTalk Utilities instantiates skeds in the same way that I am trying to. An overview: I am having problems running multiple instances of BizTalk skeds simultaneously. I have created a very simple test application that runs a sked using something along the lines of: set oSked = CreateObject("sked://test.skx") sleep(2000) '2 second delay set oSked2 = CreateObject("sked://test2.skx") As I understand it, by instantiating skeds this way all channels and ports are skipped. All that these skeds do is use a VB dll, which writes output into a directory, delays for 5 seconds and then continues writing to the directory, hence identifying the order that the skeds run in. The output in the directory that I get is in the order: sked1_beforewait.txt sked1_afterwait.txt sked2_beforewait.txt sked2_afterwait.txt It appears that even though both skeds are being instantiated 2 seconds apart, the first sked completely finishes running before the second sked starts, which is causing problems. The XLANG Schedule component in COM+ shows that they are being initated 2 seconds apart, but are being blocked somewhere along the way. The two skeds are just a copy of the same thing, just with different names (and constants) to make sure there wasn't a problem with two instances of the same sked name being instantiated. They are not communicating with each other. Originally these were picking up an XML message from the queue as the first step of the sked. I have removed this to eliminate the queues as the cause of the blocking. The only step that the updated sked does is to call a vb dll component. This is a standard (very simple) vb dll, so it should be able to be instantiated from multiple sources simultaneously without a problem. The BizTalk Utilities Sync adapter uses the same approach to instantiate a sked, and as such probably has the same problem. Any ideas on how to instantiate skeds so that they run in a multithreaded manner? Thanks, Sonya.
|
|
|
|
New Messages |
No New Messages |
Hot Topic w/ New Messages |
Hot Topic w/o New Messages |
Locked w/ New Messages |
Locked w/o New Messages |
|
Post New Thread
Reply to Message
Post New Poll
Submit Vote
Delete My Own Post
Delete My Own Thread
Rate Posts
|
|
|