[flexcoders] Re: hostmysite, mySQL5, CF7, WebService, and Flex2 problems...

2007-01-11 Thread qnotemedia
Wow - ServiceCapture is really cool!  I didn't know you could see 
stuff like that so easily.  Unfortunately, its not showing me 
anything new.  i.e. when an error occurs, the results in 
ServiceCapture look the same as a session where the app doesn't 
return any errors.  What does that mean?

There's eight webservice calls when an app is first loaded.  One 
thing I did notice is that the order of these calls appears to differ 
depending on the session.  I didn't think that any one service call 
requires another, but considering the sporadic nature of the errors, 
is it possible that the problem here is that simple?

Thanks,
 - Chris

--- In flexcoders@yahoogroups.com, Patrick Mineault 
[EMAIL PROTECTED] wrote:

 You should try using ServiceCapture or Charles debugging proxy to 
 inspect the data being sent over the wire when an error occurs.
 
 Patrick
 
 qnotemedia a écrit :
 
  I have two Flex apps using all of the above that perform 
flawlessly on
  my localhost, but after moving them to hostmysite.com, they have
  sporadic issues. Its always an error statement that I have 
created, in
  a Flex Alert.show fault return, though I'm not entirely sure if 
where
  the actual error is taking place - I would assume in CF.
 
  What I have is two CFCs, one with all of my DB-changing 
functions, and
  the other with my get-data-only functions. At the beginning of my 
app,
  I call out maybe seven webservice calls to the read-only CFC to 
grab
  data, and again, while it works perfect on my localhost, once on
  hostmysite, anywhere from 1-3 of these may or may not fail. Its 
very
  random. Many times, the app will work just fine. I wanted to use
  remote object, but unfortunately, hostmysite doesn't support 
this, so
  I'm stuck with WebService.
 
  Where do you think these random failures are happening, why is it
  happening, and what can I do about it?
 
 





Re: [flexcoders] Re: hostmysite, mySQL5, CF7, WebService, and Flex2 problems...

2007-01-11 Thread Patrick Mineault
Yes, maybe it's a question of the order of the requests, or maybe you 
are running into race conditions of some kind. Try enabling throttling 
in ServiceCapture and set it to a low value (like 56k) to see if it 
makes the problem occur more frequently or less so. Maybe that will give 
you a hint as to what is going on.

Patrick

qnotemedia a écrit :

 Wow - ServiceCapture is really cool! I didn't know you could see
 stuff like that so easily. Unfortunately, its not showing me
 anything new. i.e. when an error occurs, the results in
 ServiceCapture look the same as a session where the app doesn't
 return any errors. What does that mean?

 There's eight webservice calls when an app is first loaded. One
 thing I did notice is that the order of these calls appears to differ
 depending on the session. I didn't think that any one service call
 requires another, but considering the sporadic nature of the errors,
 is it possible that the problem here is that simple?

 Thanks,
 - Chris

 --- In [EMAIL PROTECTED] ups.com 
 mailto:flexcoders%40yahoogroups.com, Patrick Mineault
 patrick.mineault@ ... wrote:
 
  You should try using ServiceCapture or Charles debugging proxy to
  inspect the data being sent over the wire when an error occurs.
 
  Patrick
 
  qnotemedia a écrit :
  
   I have two Flex apps using all of the above that perform
 flawlessly on
   my localhost, but after moving them to hostmysite.com, they have
   sporadic issues. Its always an error statement that I have
 created, in
   a Flex Alert.show fault return, though I'm not entirely sure if
 where
   the actual error is taking place - I would assume in CF.
  
   What I have is two CFCs, one with all of my DB-changing
 functions, and
   the other with my get-data-only functions. At the beginning of my
 app,
   I call out maybe seven webservice calls to the read-only CFC to
 grab
   data, and again, while it works perfect on my localhost, once on
   hostmysite, anywhere from 1-3 of these may or may not fail. Its
 very
   random. Many times, the app will work just fine. I wanted to use
   remote object, but unfortunately, hostmysite doesn't support
 this, so
   I'm stuck with WebService.
  
   Where do you think these random failures are happening, why is it
   happening, and what can I do about it?