[flexcoders] LCDS deadLock with managed assocation

2008-09-29 Thread kcCedrics
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 like this: destination id=A-Mapping

RE: RE[flexcoders] S: LCDS - how can I improve the createItem function?

2008-09-29 Thread kcCedrics
Thanks Jeff for your answer, but I didn't really understand how can I create all 1000 items using a remote object call? I guess that I can make a function which add many items thanks to an array. But I don't know how you notify all clients that the items are added. Moreover, in my example when I

Re: [flexcoders] LCDS deadLock with managed assocation

2008-09-29 Thread kcCedrics
Thanks Igor for your answer, I already manage the fill methods but I don't know if there is something to stop the deadLock. The only thing I found into the documentation about deadLock is about use-transactions mode. I don't know if it's what you're talking about. So if it's not, can you tell me

[flexcoders] LCDS - how can I improve the createItem function?

2008-09-26 Thread kcCedrics
Hi everybody! I'm using a dataService with LCDS which can create many objects (more than 1000). So I'm calling 1000 times the createItem function of my custom assembler which make an INSERT SQL request. My question is : is it possible to give several object to the dataService to add them with

Re: RE[flexcoders] S: LCDS - how can I improve the createItem function?

2008-09-26 Thread kcCedrics
Thanks for your answer. I already did that. But the problem is the same : I have LCDS which make 1000 createItem request. In fact in my application I have my 1000 items in a datagrid, but when I check my lcds log file I see that LCDS is still creating item -- View this message in context:

RE: [flexcoders] IOException on DataService closing

2008-09-17 Thread kcCedrics
Hi Seth, thanks for your answer. The thing I don't understand is that error doesn't appear when I used LCDS 2.5!! it appears just since I use the 2.6 version. So, is there any way to catch this exception?? or maybe there's another way to disconnect a channel from DataService? Cédric -- View

RE: [flexcoders] IOException on DataService closing

2008-09-16 Thread kcCedrics
Hi, thanks for your answer. I added the includeCategory=true option to the logging and now I'm getting this exception: 2008-09-16 10:58:51,150 INFO [STDOUT] [LCDS] [SocketServer.General] Thread[my-rtmp-SocketServer-WorkerThread-1,5,jboss] Connection '9510837' starting a read. 2008-09-16