I have had some success in setting up a single service which is called
through GWT-RPC. Now I have set up 2 services and I get this error:
This application is out of date, please click the refresh button on
your browser. ( Blocked attempt to access interface
'com.server.ServiceImpl1', which is not implemented by
com.server.ServiceImpl2'; this is either misconfiguration or a hack
attempt ).

I think the problem is in web.xml.
The URI's are implemented as follows: 
http://localhost:8888/my_App.html?gwt.codesvr=127.0.1.1:9997#page1
calls com.server.ServiceImpl1 and 
http://localhost:8888/my_App.html?gwt.codesvr=127.0.1.1:9997#page2
calls com.server.ServiceImpl2. These are some additional info of my
web.xml.

<servlet>
    <servlet-name>service1</servlet-name>
    <servlet-class>com.server.ServiceImpl1</servlet-class>
  </servlet>
  <servlet>
    <servlet-name>service2</servlet-name>
    <servlet-class>com.server.ServiceImpl2</servlet-class>
  </servlet>

  <servlet-mapping>
    <servlet-name>service1</servlet-name>
    <url-pattern>/page1</url-pattern>
  </servlet-mapping>

  <servlet-mapping>
    <servlet-name>service2</servlet-name>
    <url-pattern>/page2</url-pattern>
  </servlet-mapping>

Could someone tell me what the problem is?
-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.


Reply via email to