Hello everybody,
I'm just preparing for a student's research on the GWT. With that I
really have problems to get the Remote Procedure Call work.
Basically it's all about this Error-Message:
com.google.gwt.user.client.rpc.IncompatibleRemoteServiceException:
This application is out of date, please click the refresh button on
your browser
The problem does NOT araise when I use the internal tomcat provided by
the GWT. But with that, I
1. cannot use JDBC/ODBC connector for MySql access
2. cannot deploy my application (even worse)
+++
First two questions to clarify:
a) does it matter if my external tomcat runs on port 8080?
e.g. my call looks like this: setServiceEntryPoint("
http://localhost:
8080/servlet/RPCServiceImpl")
b) does the servlet-sourccode NEED to be in the same eclipse-project
as the client code so that they can actually SHARE a single java-
interface-file? Or is it allowed to duplicate this interface-file for
a separate tomcat-servlet-project?
+++
Back to the things I allready tried:
* testing everything with the servlet-code in the client-project and
the internal tomcat just works fine
* EVENT testing everything with a function that does not return
anything and has VOID parameters (no ones) - ALSO works with the
external tomcat!
* if I just add an integer or string to be "sent" by the
rpcproxywrapper when calling the remote procedure, the above error
occurrs
+++
- my external tomcat is up and running well (tested with GWT and AJAX
allready!! Also the MySQL Transactions worked here)
If you need to see any code, just ask for, I'll post it. But I'm
really stuck since two days now. Have tried everything, but the error
message sounds to unconcrete for me.
Please provide me with a few hints, pitfalls (e.g. some settings/
invocations?).
Thanks,
ChriZ