Re: GWT-RPC-AsyncCallback

2020-07-22 Thread JonL
Depending on your architecture, the server generating the file might not have any control over the timeout. You could have proxies, firewalls, etc that can affect the timeout. It is best to remove the timeout from the equation. If you can not fix the fetch, I would split it into a call

Re: GWT-RPC-AsyncCallback

2020-07-22 Thread vie...@gmail.com
Hi Paddy, maybe you can split the request. ATM you trigger the export and fetch the data. I suggest to write a request for trigger the export (and you receive a unique export id) and then check the download service from time to time with the export id. If the export is not finished yet the

GWT-RPC-AsyncCallback

2020-07-21 Thread Paddy
Hi All, We have a UI application, where user searches for records and exports the data to an excel. Once the export is completed at the server side, it notifies the client by async call back and then there is code at client side to give a popup to the customer saying, the file is ready for

Re: GWT RPC AsyncCallBack is always failing persistently.

2013-11-01 Thread zhenliang . low
com.google.gwt.user.client.rpc.IncompatibleRemoteServiceException: This application is out of date, please click the refresh button on your browser. ( Blocked attempt to access interface 'com.mycompany.project.client.Connection', which is not implemented by

Re: GWT RPC AsyncCallBack is always failing persistently.

2013-10-31 Thread zhenliang . low
I'm sorry I'm pretty lousy in this so I could really understand what you meant. How I check if the call back is failing is by running a web application and by clicking the button I would hence try to call the server side, in which it should reply or return the value of my latest database

Re: GWT RPC AsyncCallBack is always failing persistently.

2013-10-31 Thread Ahmet Dakoglu
Inspect the caught and look into the errorMessage in it. *public void onFailure(Throwable caught) { Hi.setText(You fail!); } ​*​ * * * Ahmet DAKOĞLU* On Thu, Oct 31, 2013 at 10:27 AM, zhenliang@gmail.com wrote: I'm sorry I'm pretty lousy in this so I could really understand what you

Re: GWT RPC AsyncCallBack is always failing persistently.

2013-10-31 Thread zhenliang . low
I'm not sure about this but i get wad you meant. Technically there is not error in this,it is just that everytime i run my gwt application, When my button is being clicked, no results is returned from the server side On Thursday, October 31, 2013 4:55:28 PM UTC+8, Ahmet Dakoglu wrote: Inspect

Re: GWT RPC AsyncCallBack is always failing persistently.

2013-10-31 Thread Jens
You would probably already know whats the reason if you would just print out the exception like you do on the server. Change public void onFailure(Throwable caught) { Hi.setText(You fail!); } to public void onFailure(Throwable caught) { *caught.printStackTrace();* Hi.setText(You fail!);

Re: GWT RPC AsyncCallBack is always failing persistently.

2013-10-31 Thread zhenliang . low
I got this error message on the consolue but i totally do not understand what is it talking about meta http-equiv=Content-Type content=text/html; charset=ISO-8859-1/ titleError 404 NOT_FOUND/title /head bodyh2HTTP ERROR: 404/h2preNOT_FOUND/pre

Re: GWT RPC AsyncCallBack is always failing persistently.

2013-10-31 Thread Jens
GWT tries to send its request to /com.mycompany.project.Alternate/MySQLConnection but your servlet isn't deployed at that location. Check your servlet configuration in your web.xml file. Maybe you should also read:

Re: GWT RPC AsyncCallBack is always failing persistently.

2013-10-31 Thread zhenliang . low
module inherits name=com.google.gwt.user.User/ inherits name=com.google.gwt.user.theme.standard.Standard/ entry-point class=com.mycompany.project.client.Alternate/entry-point servlet class = com.mycompany.project.server.MySQLConnection path=/MySQLConnection/ This was my previous xml file in the

Re: GWT RPC AsyncCallBack is always failing persistently.

2013-10-31 Thread zhenliang . low
As for i read the website for URL-pattern it is based of If i have a module what does modulemeant by? -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to

Re: GWT RPC AsyncCallBack is always failing persistently.

2013-10-31 Thread Jens
module inherits name=com.google.gwt.user.User/ inherits name=com.google.gwt.user.theme.standard.Standard/ entry-point class=com.mycompany.project.client.Alternate/entry-point servlet class = com.mycompany.project.server.MySQLConnection path=/MySQLConnection/ You don't need that servlet

Re: GWT RPC AsyncCallBack is always failing persistently.

2013-10-31 Thread zhenliang . low
Oh! I'm sorry for the misunderstanding of which xml file to edit. I'm using GWT 2.5.1 thus I've to edit the web xml file instead. However i have placed the stuff which is copied from the website and I assumed it is placed in between the web-app portion but it still does generate some errors.

GWT RPC AsyncCallBack is always failing persistently.

2013-10-30 Thread zhenliang . low
I'm trying to retrieve data from database with GWT and RPC. public class MySQLConnection extends RemoteServiceServlet implements Connection{ private Connection conn = null; private ResultSet rs = null; private PreparedStatement pstmt = null; public static Connection

Re: GWT RPC AsyncCallBack is always failing persistently.

2013-10-30 Thread Jens
And what does the exception in onFailure say? -- J. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To