Hi Joseph,

I'm sure that Andreas J. will respond.  He's the author of the Java JSON-RPC
backend.  In the mean time, you should test with the RpcExample application
in qooxdoo-contrib.  Each of the tabs except the last should work with the
Java backend, and will verify that communication between the client and the
server is working properly.

Cheers,

Derrell


On Thu, Oct 23, 2008 at 2:08 PM, Joseph Gangestad <[EMAIL PROTECTED]>wrote:

> I have begun to include Java RPC components of qooxdoo for my website and
> application and have encountered a peculiar error (at least peculiar to me,
> being a novice at some of these issues). I have copied line-for-line the
> Java RPC example in SVN and deployed the servlet via Eclipse 3.3 (where I
> built the servlet) and Tomcat 6.x (where the servlet is served). To all
> outward appearances the servlet is running. That is, the URL "
> http://localhost:8080/qooxdoo/.qxrpc"; yields no errors or warnings and the
> server displays a few lines of code when the URL is invoked (see included
> below in the post scriptum, for reference). I have similarly copied the
> sample RPC code from here <http://qooxdoo.org/documentation/0.8/rpc> into
> my qooxdoo application, including the error-handling. I have properly
> re-built the application to include the RPC classes (without incident), but
> upon load of the webpage in Firefox qooxdoo attempts to make an asynchronous
> call to qooxdoo.test (the test class included in the Java RPC example) and
> there is an exception from the RPC handler (displayed in the alert box):
>
> origin: 3; code: 0; message: Unknown status code
>
> According to the origin number it would appear there is a problem with the
> communication layer (qx.io.remote.Rpc.origin.transport), but I do not know
> what would cause a code 0. Now, opening the webpage in IE 6 yields a more
> coherent error:
>
> origin: 3; code: 500; message: Server error
>
> I do not know if it is a bug or not that IE and Firefox give different
> errors (they certainly prefer to act differently enough all the time as it
> is), or if the problem is on my end. Clearly there seems to be come problems
> on my end with the server (and indeed that may be the whole problem), but I
> wanted to ask the broader community about the two different messages for the
> same to see if there might be anything else lurking under the surface that I
> may have overlooked.
>
> Best,
>
> Joseph Gangestad
>
> P.S.
>
> The line output by Tomcat after invocation of "
> http://localhost:8080/qooxdoo/.qxrpc"; in Firefox is:
>
> if (!qx || !qx.core || !qx.core.ServerSettings) 
> {qx.OO.defineClass("qx.core.ServerSettings");}qx.core.ServerSettings.serverPathPrefix
>  = "http://localhost:8080/qooxdoo";qx.core.ServerSettings.serverPathSuffix = 
> ";jsessionid=00A44FA881EAAC9E83AF39939D12A1EE";qx.core.ServerSettings.sessionTimeoutInSeconds
>  = 1800;qx.core.ServerSettings.lastSessionRefresh = (new Date()).getTime();
>
>
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's
> challenge
> Build the coolest Linux based applications with Moblin SDK & win great
> prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> qooxdoo-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>
>


-- 
You know you live in New England if you know that the four seasons are:
almost winter, winter, still winter and road construction.
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to