ReferenceError: Error #1069 – Property maxFrequency not found on mx.data.DataManagementConsumer LCDS DataManagement service

by

If you are facing this issue while using RTMP channels in LCDS:

ReferenceError: Error #1069: Property maxFrequency not found on mx.data.DataManagementConsumer and there is no default value.
at mx.data::ConcreteDataService/get maxFrequency()[C:\depot\DataServices\branches\dune_rc\frameworks\projects\data\src\mx\data\ConcreteDataService.as:705

There are 2 problems here 1 with the Flex SDK and  other with the LCDS/BlazeDS version:

1. Make sure you have the correct version of Flex SDK (3.4 or higher) This issue is because of the fds.swc (make it compatible with your lcds version)

2. Check you data-management-config for throttle policies in network configuration in destination tag -> Set them to NONE or IGNORE (earlier versions supported ERROR and REPLACE) -> This if your LCDS is 3.0 or higher

<network>
<session-timeout>20</session-timeout>
<paging enabled=”false” pageSize=”10″ />
<throttle-inbound policy=”NONE” />
<throttle-outbound policy=”IGNORE” />
</network>
Restart LCDS and recompile your application to include newer version of your data-management-config
This should solve the problem
Advertisements

Tags: ,

2 Responses to “ReferenceError: Error #1069 – Property maxFrequency not found on mx.data.DataManagementConsumer LCDS DataManagement service”

  1. shrikumar Says:

    Hi,
    Need one help in flex 4.
    Searched all over internet around 3 days, Couldn’t find it..

    here is my question,

    Consider, I need to fetch data from java by using remote object.
    for that, i need to create 2 funcrion a) Invoke the remote object b) Uising addEventListner & resultEvent to fetch the data as arrayCollection.
    i.e

    public function remoteHandler():void
    {
    var ro:RemoteObject= new mx.rpc.remoting.mxml.RemoteObject;
    ro.destination=”javaDestination”;
    ro.getJavaValue();
    ro.addEventListener(ResultEvent.RESULT,resultHandler);
    }

    private function resultHandler(event:ResultEvent):void

    {
    var objectiveList:ArrayCollection= new ArrayCollection;
    objectiveList=event.result as ArrayCollection;
    }

    I am pretty sure above code will work,

    But i need to combine these 2 functions together and make a single function which return the arryCollection, So that i can call this function is some loop and fetch the java values whenever i need.
    But i am not able to combine there 2 functions since addEventListner returning null value(void), and not not getting any values.

    Please let me know how i can do this,,

    Thanks in advance

    • Yash Mody Says:

      though you can combine the functions, there is no straight forward way to return an arraycollection as this is a remote calls. First it is asynchronous. Secondly, it depends on a lot of parameters on how much time it will take for data to reach flex.

      What I would recommend is you use either tokens (AsyncToken) or use an event dispatcher to go back to your original caller

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s


%d bloggers like this: