Out of curiosity, was the server restarted between the last time it didn’t work and the time it did an hour later?  If so, you may have some heap size issues (java could be running out of memory) or connection pooling issues.  I have had both of these bring a server to its knees (no fault of FDS, just the way things work).  Something to also look for is the logging section in the services-config.mxml.  (below) .  Main thing to look for here is if your logging level is set to anything other than Error, maybe Info or Debug.  I have seen this cause me memory problems on WebSphere 6 when the heap size was only 128 min.  I bumped my heap up to 256 min and that helped a ton.  You could also set the logging back to Error, but that only bandaids the real issue, java loves memory J  You will probably end up having to increase the 128 default eventually.  GL!   

 

<logging>

    <target class="flex.messaging.log.ConsoleTarget" level="Error">

      ...

    </target>

</logging>

 


From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of ryan harlin
Sent: Tuesday, July 25, 2006 10:13 AM
To: [email protected]
Subject: [flexcoders] FDS sporadically works, but why?

 

Does anyone know why (or has anyone had a similar
experience) a Flex Data Services tutorial project...
the FDS Java Adapter example from Adobe would work
sporadically?

The tutorial is essentiall a DataGrid with 3 columns:
ID, First Name, Last Name. They have you edit the
data-management-config.xml file to add a destination
and then type up some mxml into a file called
lesson2.mxml

After getting all the pieces placed correctly on the
server (the db, the .as file, etc.) It work like a
charm. I could open on two computers and see the
server push happening when I changed a DataGrid's cell
contents.

Then I went to demo it for someone and it didn't work.
The DataGrid loads but doesn't populate with data. I
looked around but nothing had changed on the server.
We gave up and went home. Later that evening I tried
again and didn't work. Same problem. An hour later
it did! This morning it didn't work. And by early
afternoon it does again.

Anyone know why FDS is seemingly so flakey?

__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com

__._,_.___

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com





YAHOO! GROUPS LINKS




__,_._,___

Reply via email to