Friday 15 January 2010

Long Java processing causes error in Flex -


I have a web application (Java + Flex) where I upload a CSV file with a large number of rows, and It takes more than one hour to finish processing it, and put it into the database, but Flex gives me this error:

  [rpc defect fault string = "error" mistake = code = "Channel.Call.Failed" faultDetail = "NetConnection.Call Mxrpc :: AbstractInvoker / http: //www.adobe.com/2006/flex/mx/internal :: faultHandler () [C: \ aut Obuild \ 3.2.0 \ frameworks on Filt: http: failed:] projects \ rpc \ src \ mx \ rpc \ AbstractInvoker.as: 220] mx.rpc :: responder / mistake () [C: \ Autoblog \ 3.2.0 \ Framework \ Projects \ rpc \ src \ mx \ rpc \ Responder .as: 53] mx.rpc :: asyncRequest / fault () [C: \ autobuild \ 3.2.0 \ frameworks \ projects \ rpc \ src \ mx \ rpc \ AsyncRequest.as: 103] NetConnectionMessageResponder / channelFaultHandler () [C: \ AutoBuild \ 3.2.0 \ Framework \ Projects \ rpc \ src \ mx \ messaging \ channels \ NetConnectionChannel.as: 669] flash.events::EventDispatcher/ Mx.messaging.channels :: AMFChannel / statusHandler () [C: \ autobuild \ 3.2.0 \ frameworks \ projects \ rpc \ src \ mx \ messaging on dispatchEventFunction () at Flash.events::EventDispatcher/dispatchEvent () Anl \ AMFChannel.as: 365]   

Are you guys can help me with it? It takes about 1 hour to show, and the file keeps the resource on the server.

Thank you!

Use it to use server-based Java remoting and web messaging techniques such as Blazed or granites , Which will help you connect to back-end distributed data and add data to Adobe Flex.

More information can be obtained for granites:

  http://www.graniteds.org/confluence/pages/viewpage.action?pageId=229378 < / Code>  

and follow the link to BlazeDS:

  http://www.adobe.com/aboutadobe/pressroom/pressreleases/200712/121307BlazeDS.html    

No comments:

Post a Comment