I have a qooxdoo 0.8.2 app which is nearly ready for deployment. This app was
developed on a Mac and will be deployed on dedicated PCs. It is sort of a
touchscreen kiosk application, an employee time clock.

While building the PC hosts, I was testing the 'lost network' behavior. The
architecture is this:

qooxdoo app running in Firefox via IIS
app does RPC to PHP backend which uses Sqlite db
PHP also uses a remote MS SQL Server db

On the server side (which is the same host that the app is hosted from)
I'm doing something like this PHP to connect to the MSSQL DB:

      return is_resource(mssql_connect($server, $user, $password));

This works fine until I break the network connection.

On the Mac/Apache 2.2.11/PHP 5.2.5 development machine, breaking the
connection just yields the expected (=== false) result, i.e. this still
works fine. 

On the XP SP3/IIS 5.1/PHP 5.2.9-2 target machine, breaking the network
connection yields these javascript errors:


40157ms qx.io.remote.transport.XmlHttp[2r]: Failed to send data:
 [Exception... "Component returned failure code: 0x80004005
(NS_ERROR_FAILURE) [nsIXMLHttpRequest.send]" nsresult:
 "0x80004005 (NS_ERROR_FAILURE)" location:
 "JS frame ::
http://timeclock2/qooxdoo-0.8.2-sdk/framework/source/class/qx/io/remote/transport/XmlHttp.js
:: anonymous :: line 341" data: no]
Native.js (line 51)


Transport error 0: Unknown status code
var error = new Error(ex.toString());


And this terminates the thread of execution.


How can I avoid this error?
Where should I look for the difference between these two configurations?
I'm stumped...

Any clues?

Thanks in advance,
Larry Blische

-- 
View this message in context: 
http://www.nabble.com/A-funny-thing-happened-on-the-way-to-deployment...-tp23731978p23731978.html
Sent from the qooxdoo-devel mailing list archive at Nabble.com.


------------------------------------------------------------------------------
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT 
is a gathering of tech-side developers & brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing, & 
iPhoneDevCamp as they present alongside digital heavyweights like Barbarian 
Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com 
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to