Hi, thanks. I think it works, but now i have another problem.

Here is my initial method:
qx.Proto.initialize = function(e)
{
  // Define alias for custom resource path
  qx.manager.object.AliasManager.getInstance().add("custom",
qx.Settings.getValueOfClass("custom.Application", "resourceUri"));
  
  var rpc = new qx.io.remote.Rpc(
            "http://localhost:8080/qooxdoo/.qxrpc";,
            "com.dkib.server.MyService"
        );
        rpc.setCrossDomain(true);
        
        for(var i = 0;i < 100;i++){
// synchronous call
try {
    var result = rpc.callSync("getValue");
    //alert("Result of sync call: " + result);
    rowData.push(result);
} catch (exc) {
    alert("Exception during sync call: " + exc);
}
        }
};

The result of the getValue function is a Stringarray. I use the table1
application from the sample to implement my one.

If i use this method without the setCrossDomain function it works on
localhost. The application show in the table my values from the getResult
method. If i use the set CrossDomain function i get these error on firebug:

000157 ERROR: qx.io.remote.Exchange[48]: There is no transport
implementation available to handle this request: [object
qx.io.remote.Request]custom.js (line 1223)
appendLogEvent(Object logger=qx.log.Logger level=700)custom.js (line 1225)
handleLogEvent(Object logger=qx.log.Logger level=700)custom.js (line 1064)
appendLogEvent(Object logger=qx.log.Logger level=700)custom.js (line 1265)
appendLogEvent(Object logger=qx.log.Logger level=700)custom.js (line 1266)
appendLogEvent(Object logger=qx.log.Logger level=700)custom.js (line 1266)
appendLogEvent(Object logger=qx.log.Logger level=700)custom.js (line 1266)
appendLogEvent(Object logger=qx.log.Logger level=700)custom.js (line 1266)
handleLogEvent(Object logger=qx.log.Logger level=700)custom.js (line 1263)
log(700, "There is no transport implementation available to handle this
request: [object qx.io.remote.Request]", 48, undefined)custom.js (line 1269)
error("There is no transport implementation available to handle this
request: [object qx.io.remote.Request]", 48, undefined)custom.js (line 1277)
error("There is no transport implementation available to handle this
request: [object qx.io.remote.Request]", undefined)custom.js (line 593)
send()custom.js (line 2011)
_check()custom.js (line 2714)
add(qx.io.remote.Request _hashCode=40 _dbKey=32
_requestHeaders=Object)custom.js (line 2767)
send()custom.js (line 1795)
_callInternal(["getValue"], 0, undefined)custom.js (line 1721)
callSync("getValue")custom.js (line 1733)
initialize(undefined)custom.js (line 1558)
initialize(undefined)custom.js (line 1475)
initialize()custom.js (line 4406)
_onload(load )custom.js (line 4437)
_onload(load )custom.js (line 1435)
__onload(load )

002297 ERROR: qx.ui.table.TablePane[645]: Setting property "visibleRowCount"
to "28" failed with exception: TypeError - this._rowArr[$1] has no
properties at custom.js:2966 at custom.js:10077 at custom.js:9958 at
custom.js:9919 at custom.js:274 at custom.js:11426 at custom.js:11107 at
custom.js:6731 at custom.js:6724 at custom.js:6731 at custom.js:6731 at
custom.js:6724 at custom.js:6731 at custom.js:9135 at custom.js:5171 at
custom.js:5058 at custom.js:4418 at custom.js:688 at custom.js:677 at
custom.js:668 at custom.js:7981 at custom.js:7969 at custom.js:688 at
custom.js:677 at custom.js:8061 at custom.js:8054

I don´t know whatßs wrong.

THANKS


Alexander Weisser wrote:
> 
> Hi,
> i write a small application with the qooxdoo toolkit. It works fine, if i
> connect to the local tomcat. If i use my ip instead of localhost the
> application doesn´t work.
> 
> I debug the application with the Firebug plugin in Mozilla. I get a
> permission denied on initial the application. In the initial method i have
> an RPC to the server.
> 
> Sorry for my bad english
> 
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share
> your
> opinions on IT & business topics through brief surveys-and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> qooxdoo-devel mailing list
> qooxdoo-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Problem-with-Tomcat-tf3391950.html#a9456494
Sent from the qooxdoo-devel mailing list archive at Nabble.com.


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to