Expand my Community achievements bar.

Java adapter: faultCode="Channel.Polling.Error" faultDetail="Poll request made on 'my-amf' when polling is not enabled.

Avatar

Level 1
Hi,



I have build an application with jabva adapter but now it get
the follwing error message if i open the panel which wants to load
data from a database with a java atapter.



[RPC Fault faultString="error"
faultCode="Channel.Polling.Error" faultDetail="Poll request made on
'my-amf' when polling is not enabled."]

at mx.data::ConcreteDataService/
http://www.adobe.com/2006/flex/mx/internal::dispatchFaultEvent()

at ::DataListRequestResponder/fault()

at mx.rpc::AsyncRequest/fault()

at
::NetConnectionMessageResponder/NetConnectionChannel.as$37:NetConnectionMessageResponder::channelFaultHandler()

at
flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFunction()

at flash.events::EventDispatcher/dispatchEvent()

at
mx.messaging.channels::PollingChannel/mx.messaging.channels:PollingChannel::startPolling()

at mx.messaging.channels::PollingChannel/enablePolling()

at
::PollSyncMessageResponder/NetConnectionChannel.as$37:PollSyncMessageResponder::resultHandler()

at mx.messaging::MessageResponder/result()



I am using the fds jrun-Server and have no errors in the log
file that is in Flex Data Service\jrun4\logs.



Thanks

Stefan
1 Reply

Avatar

Level 3
Hi Stefan,



Based on this stacktrace it looks like your data service
destination is configured to use a "my-amf" channel and that
channel is probably not configured for polling. For a data service
destination the channels that you configure it to use should be
realtime push (RTMP) or polling-based (AMF or HTTP polling) so I
think the simplest way to fix this is to use an amf-polling channel
for your destination.



Best,

Seth