Solved

LiveCycle DataService deadLock with managed assocation

Posted on 2008-09-29
1
446 Views
Last Modified: 2013-12-02
Hi everybody,
I've got a really weird problem with LCDS!!
I'm using 4 data service for my objects A, B, C, D. My object A has a collection of B, a collection of C and a collection of D.
So in my datamanagement-config.xml I defined my destination (see code snippet below)

So my problem is that sometimes, my application seems to be in a dead lock state, and when I'm looking the jboss log I see that it's locked just after finishing the A fill method, it's never getting the B objects. Moreover after this, my jboss is completly locked, none of new client can get A or B objects.
I also used StackTrace software and I'm getting this log:
"my-rtmp-SocketServer-WorkerThread-32" prio=6 tid=0x29a11400 nid=0x39c waiting for monitor entry [0x2d3ef000..0x2d3efa94]

   java.lang.Thread.State: BLOCKED (on object monitor)

      at flex.data.SequenceManager.createSequence(SequenceManager.java:2251)

      - waiting to lock <0x091f0a10> (a flex.data.SequenceManager)

      at flex.data.SequenceManager.manageSequence(SequenceManager.java:786)

      at flex.data.SequenceManager.manageSequence(SequenceManager.java:755)

      at flex.data.DataService.serviceMessage(DataService.java:571)

      at flex.messaging.MessageBroker.routeMessageToService(MessageBroker.java:1495)
...

Is my problem can be relevant to the managed association?
Thanks for your answer
<destination id="A-Mapping" channels="my-rtmp">

        <adapter ref="java-dao" />

        <properties>

            <metadata>

                <identity property="FAid"/>

                <one-to-many property="FBList" destination="B-Mapping"/>

                <one-to-many property="FCList" destination="C-Mapping"/>

                <one-to-many property="FDList" destination="D-Mapping"/>

            </metadata>

...

<destination id="B-Mapping" channels="my-rtmp">

        <adapter ref="java-dao" />

        <properties>

            <metadata>

                <identity property="FBid"/>

            </metadata>

...
 

In my actionscript code I have this:

FADS = new DataService("A-Mapping");

FADS.fill(FAList);

FBDS = new DataService("B-Mapping");

FBDS.fill(FBList);

Open in new window

0
Comment
Question by:KCTeam
1 Comment
 

Accepted Solution

by:
KCTeam earned 0 total points
ID: 22718803
Problem fixed by changing DataService fill order and applying an Adobe hotfix.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

First things first - Preparation We need all the part for this install and it's much nicer to have them all on hand when you need them so here's what's required. Download Eclipse 3.5 32 bit (I like the Classic flavour) from here. (http://www.e…
This exercise is about for the following scenario: Dmgr and One node with 2 application server. Each application server contains it owns application. Application server name as follows server1 contains app1 server2 contains app1 Prereq…
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.
I designed this idea while studying technology in the classroom.  This is a semester long project.  Students are asked to take photographs on a specific topic which they find meaningful, it can be a place or situation such as travel or homelessness.…

948 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now