Home Page › Forums › BizTalk 2004 – BizTalk 2010 › Error Connecting two orchestrations- Can anyone help
- This topic has 4 replies, 1 voice, and was last updated 9 years, 5 months ago by
community-content.
-
AuthorPosts
-
-
March 16, 2006 at 11:31 AM #13183
Hi,
I am trying to call another orchestration within an orchestration using the Call Orchestration tool.
Ex. orchestration1 will call orchestration2
orchestration1 is has a \”parallelAction\” to activate two actions:
[b:9624c72344]action one[/b:9624c72344]: to send an xml message to another orchestration (orchestration3, say) using the Direct Binding mechanism.
[b:9624c72344]action two[/b:9624c72344]: to call another orchestration (orchestration2)orchestration2 is going to do a mapping to a database to save a certain record.
When I tried to test it I got this long error:
Microsoft.XLANGs.Core.PersistenceException: Exception occurred when persisting state to the database. —> Microsoft.BizTalk.XLANGs.BTXEngine.PersistenceItemException: A batch item failed persistence Item-ID 8fc8316d-7285-4bdf-ba2f-5119895bea63 OperationType MAIO_CommitBatch Status -1061151998 ErrorInfo The published message could not be routed because no subscribers were found. Please use the Health and Activity Monitoring (HAT) tool to diagnose this situation. . —> Microsoft.BizTalk.XLANGs.BTXEngine.PublishMessageException: Failed to publish (send) a message in the batch. This is usually because there is no one expecting to receive this message. The error was The published message could not be routed because no subscribers were found. Please use the Health and Activity Monitoring (HAT) tool to diagnose this situation. with status -1061151998. —> Microsoft.XLANGs.Core.PersistenceException: Exception occurred when persisting state to the database. —> Microsoft.BizTalk.XLANGs.BTXEngine.PersistenceItemException: A batch item failed persistence Item-ID 8fc8316d-7285-4bdf-ba2f-5119895bea63 OperationType MAIO_CommitBatch Status -1061151998 ErrorInfo The published message could not be routed because no subscribers were found. Please use the Health and Activity Monitoring (HAT) tool to diagnose this situation. . —> Microsoft.BizTalk.XLANGs.BTXEngine.PublishMessageException: Failed to publish (send) a message in the batch. This is usually because there is no one expecting to receive this message. The error was The published message could not be routed because no subscribers were found. Please use the Health and Activity Monitoring (HAT) tool to diagnose this situation. with status -1061151998.
— End of inner exception stack trace —
— End of inner exception stack trace —
at Microsoft.BizTalk.XLANGs.BTXEngine.CommitManager.Commit(IBTMessageBatchEx[] batches, Segment seg, IBTOperationStatus& s)
at Microsoft.BizTalk.XLANGs.BTXEngine.TransactionBatch.Commit(IBTMessageBatchEx[] batches, ITransaction transaction, IBTOperationStatus& s)
at Microsoft.BizTalk.XLANGs.BTXEngine.BTXXlangStore.Commit()
— End of inner exception stack trace —
— End of inner exception stack trace —
— End of inner exception stack trace —
at Microsoft.BizTalk.XLANGs.BTXEngine.BTXXlangStore.Commit()
at Microsoft.XLANGs.Core.Service.Persist(Boolean dehydrate, Context ctx, Boolean idleRequired, Boolean finalPersist, Boolean bypassCommit, Boolean terminate)
at Microsoft.XLANGs.Core.ServiceContext.PendingCommit(Boolean ignore, XMessage msg)
at Microsoft.XLANGs.Core.ExceptionHandlingContext.PendingCommit(Boolean ignoreCommit, XMessage msg)
at Microsoft.BizTalk.XLANGs.BTXEngine.BTXPortBase.SendMessage(Int32 iOperation, XLANGMessage msg, Correlation[] initCorrelations, Correlation[] followCorrelations, Context cxt, Segment seg, ActivityFlags flags)
at SamplePartnerPorts.Orchestration1.segment1(StopConditions stopOn)
at Microsoft.XLANGs.Core.SegmentScheduler.RunASegment(Segment s, StopConditions stopCond, Exception& exp)
Microsoft.XLANGs.Core.PersistenceException[b:9624c72344]Can anyone help? I will really appreciate it.[/b:9624c72344]
-
March 21, 2006 at 12:11 AM #13184
Is your direct binding working?
I’m guessing the problem is in your direct binding. Make sure you have an active subscription for the message or you’ll get that error.
-
March 21, 2006 at 5:31 AM #13185
Make sure you have Biztalk 2004 Sp1 installed.
The work around for this is dont use a scope shape, or atleast dont initialize any message in the scope shape.Also check if your direct binding is working prior to everything else.
-
-
March 8, 2007 at 3:44 AM #17900
[quote user="Anonymous"]Hi,
I am trying to call another orchestration within an orchestration using the Call Orchestration tool.
Ex. orchestration1 will call orchestration2
orchestration1 is has a \"parallelAction\" to activate two actions:
[b:9624c72344]action one[/b:9624c72344]: to send an xml message to another orchestration (orchestration3, say) using the Direct Binding mechanism.
[b:9624c72344]action two[/b:9624c72344]: to call another orchestration (orchestration2)orchestration2 is going to do a mapping to a database to save a certain record.
When I tried to test it I got this long error:
Microsoft.XLANGs.Core.PersistenceException: Exception occurred when persisting state to the database. —> Microsoft.BizTalk.XLANGs.BTXEngine.PersistenceItemException: A batch item failed persistence Item-ID 8fc8316d-7285-4bdf-ba2f-5119895bea63 OperationType MAIO_CommitBatch Status -1061151998 ErrorInfo The published message could not be routed because no subscribers were found. Please use the Health and Activity Monitoring (HAT) tool to diagnose this situation. . —> Microsoft.BizTalk.XLANGs.BTXEngine.PublishMessageException: Failed to publish (send) a message in the batch. This is usually because there is no one expecting to receive this message. The error was The published message could not be routed because no subscribers were found. Please use the Health and Activity Monitoring (HAT) tool to diagnose this situation. with status -1061151998. —> Microsoft.XLANGs.Core.PersistenceException: Exception occurred when persisting state to the database. —> Microsoft.BizTalk.XLANGs.BTXEngine.PersistenceItemException: A batch item failed persistence Item-ID 8fc8316d-7285-4bdf-ba2f-5119895bea63 OperationType MAIO_CommitBatch Status -1061151998 ErrorInfo The published message could not be routed because no subscribers were found. Please use the Health and Activity Monitoring (HAT) tool to diagnose this situation. . —> Microsoft.BizTalk.XLANGs.BTXEngine.PublishMessageException: Failed to publish (send) a message in the batch. This is usually because there is no one expecting to receive this message. The error was The published message could not be routed because no subscribers were found. Please use the Health and Activity Monitoring (HAT) tool to diagnose this situation. with status -1061151998.
— End of inner exception stack trace —
— End of inner exception stack trace —
at Microsoft.BizTalk.XLANGs.BTXEngine.CommitManager.Commit(IBTMessageBatchEx[] batches, Segment seg, IBTOperationStatus& s)
at Microsoft.BizTalk.XLANGs.BTXEngine.TransactionBatch.Commit(IBTMessageBatchEx[] batches, ITransaction transaction, IBTOperationStatus& s)
at Microsoft.BizTalk.XLANGs.BTXEngine.BTXXlangStore.Commit()
— End of inner exception stack trace —
— End of inner exception stack trace —
— End of inner exception stack trace —
at Microsoft.BizTalk.XLANGs.BTXEngine.BTXXlangStore.Commit()
at Microsoft.XLANGs.Core.Service.Persist(Boolean dehydrate, Context ctx, Boolean idleRequired, Boolean finalPersist, Boolean bypassCommit, Boolean terminate)
at Microsoft.XLANGs.Core.ServiceContext.PendingCommit(Boolean ignore, XMessage msg)
at Microsoft.XLANGs.Core.ExceptionHandlingContext.PendingCommit(Boolean ignoreCommit, XMessage msg)
at Microsoft.BizTalk.XLANGs.BTXEngine.BTXPortBase.SendMessage(Int32 iOperation, XLANGMessage msg, Correlation[] initCorrelations, Correlation[] followCorrelations, Context cxt, Segment seg, ActivityFlags flags)
at SamplePartnerPorts.Orchestration1.segment1(StopConditions stopOn)
at Microsoft.XLANGs.Core.SegmentScheduler.RunASegment(Segment s, StopConditions stopCond, Exception& exp)
Microsoft.XLANGs.Core.PersistenceException[b:9624c72344]Can anyone help? I will really appreciate it.[/b:9624c72344][/quote]
-
March 8, 2007 at 3:46 AM #17901
If you're running BizTalk Server 2004 with SP1 (N.B. not SP2 ! ), applying hotfix KB895175 might help you out.
-
-
AuthorPosts
- The forum ‘BizTalk 2004 – BizTalk 2010’ is closed to new topics and replies.