• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

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

 
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
Tun
 
reply
    Bookmark Topic Watch Topic
  • New Topic