Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

LiveCycle DataService deadLock with managed assocation

Posted on 2008-09-29
1
454 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

Connect further...control easier

With the ATEN CE624, you can now enjoy a high-quality visual experience powered by HDBaseT technology and the convenience of a single Cat6 cable to transmit uncompressed video with zero latency and multi-streaming for dual-view applications where remote access is required.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
How to enable gc.log for tomcat? 3 52
Java: modify max heap size 7 149
classpath 4 120
method inner class 6 83
This article is about some of the basic and important steps to be used to improve the performance in web-sphere commerce application development. 1) Always leverage the Dyna-caching facility provided by the product 2) Remove the unwanted code …
There are numerous questions about how to setup an IBM HTTP Server to be administered from WebSphere Application Server administrative console. I do hope this article will wrap things up and become a reference for this task. You need three things…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…

856 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