GWT 客户端请求未发布到服务器

发布于 2024-10-13 11:50:09 字数 272 浏览 9 评论 0原文

我有一个小型 GWT 应用程序,它根据一些字符串参数从数据库获取 FlexTable 的内容。它是通过单击 GUI 上的按钮来触发的。

当应用程序最初启动时,一切都按预期进行。但是,在多次单击(请求)后,应用程序停止工作,我来自客户端的请求不再到达服务器代码。我正在托管模式下运行,并且代码中有断点。我可以在客户端跟踪代码;但是当它使用我的服务实例向服务器提交请求后,它永远不会到达服务器; onSuccess() 也不会被调用。

有人可以帮我调试这个吗?我应该从哪里开始看到正在发生的事情的痕迹?

I have a small GWT application that gets the contents for a FlexTable from a database based on some string parameters. It is triggered by the click of a button on the GUI.

Everything works as expected when the app is initially started. But, upon multiple clicks (requests), the app stops working and my requests from the client no longer reaches the sever code. I am running on hosted mode and have breakpoints in my code. I can trace the code on client side; but after it submits the request to server using my service instance, it never reaches the server; nor the onSuccess() gets called.

Can someone please help me debug this? Where should i start to see traces of what is happening?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

最近可好 2024-10-20 11:50:09

事实证明这与 GWT RPC 无关。该请求确实已提交到服务器,但由于数据库资源争用,Eclipse 没有向我显示服务器端代码的任何痕迹。我打开了代码中的调试日志记录以及所有内容,因为非常清晰。

谢谢!
睡衣

Turns out that it wasnt anything about GWT RPC. The request was indeed getting submitted to server but because of a db resource contention, Eclipse wasn't showing me any trace of the code on server side. I switched on debug loggings in the code and everything because real clear.

Thanks!
pjames

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文