keyongtech


  keyongtech > biztalk.* > biztalk.general > 02/2007

 #1  
01-13-07, 11:37 AM
ya3mro
when i try to bulid my project of biztalk i have this bulid error in
Error List

<< 'Transaction_2': a synchronized or atomic scope may not nest any
transactional or synchronized scopes >>

and i can't solve it
plz help me
 #2  
01-14-07, 07:07 PM
Jan Eliasen
On 13 Jan 2007 03:37:49 -0800, "ya3mro" <ya3mro> wrote:

>when i try to bulid my project of biztalk i have this bulid error in
>Error List
>
><< 'Transaction_2': a synchronized or atomic scope may not nest any
>transactional or synchronized scopes >>
>
>and i can't solve it

Well, it is because you can not have any tansactional or synchronized
scopes within a synchronized or atomic scope. You should find out
where you have done that and correct it. For instance, having an
atomic scope inside another atomic scope does not give you anything,
it only adds complexity.

Hope this helps, as I really feel I have just re-stated the error
message :-)
 #3  
02-06-07, 03:17 PM
Kam
you can't have an atomic scope or long running inside an atomic scope..
so check your orchestration....


ya3mro wrote:
[..]
 #4  
02-06-07, 04:00 PM
Kam
Some transactions/scopes types rules:

A non-transactional orchestration cannot have 'scope' shapes set to
either "Atomic" or "Long Running".

If an orchestration's transaction type is set to "Atomic", then the
orchestration cannot have any other transactions within its 'scope' shapes.

Atomic transactions cannot contain nested transactions or catch
exception blocks. However, they can have compensation blocks.

Long running transactions cannot be isolated from other transactions.
However they can contain other atomic transactions and can have catch
exception and compensation blocks.

Kam wrote:
[..]
Similar Threads
Question on synchronized and non synchronized methods

Hello all, Is it correct to say that a thread can execute a non synchronized method on a shared object on which another thread is already executing a synchronized method...

100% CPU max out in synchronized scope shape

Hi. In our BizTalk 2004 SP1 orchestration we are sending a file via the FTP adapter. The FTP send port is constructed dynamically. The port has delivery notification = true,...

synchronized block in synchronized static method

I recently stumbled across this idiom. public static synchronized int getThreadCountMax() { synchronized (ARTClientThread.class) { return threadCountMax; } }

Use of synchronized variables over synchronized methods?

I need to let a number of threaded objects change the state of a singular object by use of setter methods. What would be the better approach to synchronise based on a couple...

Synchronized Block v.s. Synchronized Method

Anyone knows the differences between synchronized block and synchronized method? Thanks!


All times are GMT. The time now is 05:28 PM. | Privacy Policy