• Post Reply Bookmark Topic Watch Topic
  • New Topic

Please help on a Channel failed problem (Flex blazeds java and long background process)  RSS feed

tuntony wei
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi, guys:

I got a problem when I tried running my project. I use Flex, blazeds and java, and at the backgroud, my java code has to do some long time work. After I use a Remote Object to invoke this long time java process, the channel failed. Could anybody suggest me how I can hold this channel?

Here is the exception:
faultCode:Channel.Call.Failed faultString:'error' faultDetail:'NetConnection.Call.Failed: HTTP: Failed'

In the JSP, I can keep refresh current page and wait for the result. But in my flex GUI, the remote java code is called from a panel, in this situation, if I refresh the page, the panel will be gone. Is there any good idea to monitor remote object's status. for example, in Flex, I check the objec every 2 seconds, if job finished, I go to the ResultEvent listener? What API should I use for this

Or is there any other good way?

Thank you so so much
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!