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
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.
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.
North America
Europe, Middle East and Africa
Asia Pacific