Skip navigation
Currently Being Moderated

BlazeDs Channel Call Error

Mar 4, 2012 9:05 PM

Hi,

 

I am using Flex/AS, BlazeDs and Java in my application.

 

But randomly i keep on getting. Most of the times it works but at times it happens. Cant tell the exact scenario.

 

Fault Code: Channel Call Failed

Fault Detail: Error

 

I cannot understand why this is occuring on our application. I have set all the properties correct.

 

Is this because the channel is getting disconnected? If yes why is that happening so? Am I am missing some properties to set for the channel.

Please find my channel definitions

 

This is present in services-config.xml.

 

<channels>

                    <channel-definition id="my-amf"  class="mx.messaging.channels.AMFChannel">

                                        <endpoint  url="http://{server.name}:{server.port}/{context.root}/messagebroker/amf" class="flex.messaging.endpoints.AMFEndpoint" />

                                        <properties>

                                                       <add-no-cache-headers>false</add-no-cache-headers >

                                        </properties>

                    </channel-definition>

 

 

                    <channel-definition id="my-secure-amf" class="mx.messaging.channels.SecureAMFChannel">

                              <endpoint url="https://{server.name}:{server.port}/{context.root}/messagebroker/amfsecure" class="flex.messaging.endpoints.SecureAMFEndpoint" />

                              <properties>

                                        <add-no-cache-headers>false</add-no-cache-headers >

                              </properties>

                    </channel-definition>

 

        <channel-definition id="my-streaming-amf" class="mx.messaging.channels.StreamingAMFChannel">

                  <endpoint url="http://{server.name}:{server.port}/{context.root}/messagebroker/streamingamf" class="flex.messaging.endpoints.StreamingAMFEndpoint"/>

                    </channel-definition>

 

                    <channel-definition id="my-polling-amf" class="mx.messaging.channels.AMFChannel">

                              <endpoint  url="http://{server.name}:{server.port}/{context.root}/messagebroker/amfpolling" class="flex.messaging.endpoints.AMFEndpoint" />

                              <properties>

                                        <add-no-cache-headers>false</add-no-cache-headers >

                                        <polling-enabled>true</polling-enabled>

                                        <polling-interval-seconds>4</polling-interval-sec onds>

                              </properties>

                    </channel-definition>

 

          </channels>

 

and in my remoting-config.xml i have default channel for all the destinations.

 

<default-channels>

            <channel ref="my-amf" />

          </default-channels>

 

So please let me know if am doing something wrong.

 

Can anyone please help how to sort this out as we are nearing our Production release?

 

 

Thanks

Srirama


 
Replies
  • Currently Being Moderated
    Mar 6, 2012 5:50 AM   in reply to Flash Production Release

    AFAIK, Adobe isn't supported anymore BlazeDS (it is now an Apache project in incubation phase)... I understand that your project is almost ready for production and that it is not time to switch to another framework but did you consider using GraniteDS? It has many more features than BlazeDS, its community is very active and you can get professional support.

     

    Regards,

    Franck.

     
    |
    Mark as:
  • Currently Being Moderated
    Mar 6, 2012 1:08 PM   in reply to Franck W

    I'd like to reply to Franck W's comment. Instead of moving BlazeDS to Apache we just made a new release of BlazeDS available on http://sourceforge.net/adobe/blazeds/wiki/Home/. There are dedicated forums for BlazeDS which are monitored by the Adobe team. Professional, enterprise support is provided for Data Services by Adobe. You can switch to Data Services anytime without code changes.

     

    Juergen Hauser, Adobe Systems Inc.

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points