my dog learned polymorphism*
The moose likes Flex and the fly likes Please help on a Channel failed problem (Flex blazeds java and long background process) Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Frameworks » Flex
Bookmark "Please help on a Channel failed problem (Flex blazeds java and long background process)" Watch "Please help on a Channel failed problem (Flex blazeds java and long background process)" New topic
Author

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

tuntony wei
Greenhorn

Joined: Jun 29, 2011
Posts: 13
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
Tun
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Please help on a Channel failed problem (Flex blazeds java and long background process)
 
Similar Threads
Please help me to find the right technology stack
Whats best, Remote Object or WebServices
Any APIs in Flex for figuring out server details at runtime ?
Flex3 with Java - Questions
Flex3 with Java (Spring)