Hi, I have a working application using what I believe is GWT 1.2 but does not work with Chrome or later versions of IE because of this error: [02:09:43.564] Exception while dispatching incoming RPC call [02:09:43.564] javax.servlet.ServletException: Content-Type must be 'text/plain' with 'charset=utf-8' (or unspecified charset) [02:09:43.564] at com.google.gwt.user.server.rpc.RemoteServiceServlet.readPayloadAsUtf8(RemoteServiceServlet.java:570) [02:09:43.564] at com.google.gwt.user.server.rpc.RemoteServiceServlet.doPost(RemoteServiceServlet.java:162) [02:09:43.564] at javax.servlet.http.HttpServlet.service(HttpServlet.java:153) [02:09:43.564] at javax.servlet.http.HttpServlet.service(HttpServlet.java:91) [02:09:43.564] at com.caucho.server.dispatch.ServletFilterChain.doFilter(ServletFilterChain.java:103) [02:09:43.564] at com.caucho.server.webapp.WebAppFilterChain.doFilter(WebAppFilterChain.java:175) [02:09:43.564] at com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.java:240) [02:09:43.564] at com.caucho.server.hmux.HmuxRequest.handleRequest(HmuxRequest.java:424) [02:09:43.564] at com.caucho.server.port.TcpConnection.run(TcpConnection.java:481) [02:09:43.564] at com.caucho.util.ThreadPool$Item.runTasks(ThreadPool.java:685) [02:09:43.564] at com.caucho.util.ThreadPool$Item.run(ThreadPool.java:607) [02:09:43.564] at java.lang.Thread.run(Thread.java:595) >From what I read this is because the default of text/plain in browsers has moved to a different format and would be ok starting in GWT version 1.5, so I tried to upgrade to version 1.5 (I don't mind trying to upgrade to version 2.5 or something later but I just thought it would be easier to move to a closer version to 1.2 and I've tried out 2.5 and have different problems) What I want to know is what exactly in my 1.2 application do I replace with from 1.5? I replaced the gwt jars (gwt-servlet.jar, gwt-user.jar and gwt-dev-windows.jar) and compiled the class files again with them and then when running the application got an error of: [18:53:32.089] An IncompatibleRemoteServiceException was thrown while processing this call. [18:53:32.089] com.google.gwt.user.client.rpc.IncompatibleRemoteServiceException : This application is out of date, please click the refresh button on your brows er. ( Expecting version 5 from client, got 2. ) So I tried the gwt application creator from 1.5 and for a module called 'FindAPartner', in the 'com.golfpartners.FindAPartner' directory, I replaced the files I thought I should. See below for old files in that directory and files after the replacement: Files before upgrade: 03/05/2013 08:13 AM 105,274 05FB79F81EAA6FE5ADD8761E7BBA9C9B.cache.html 07/04/2008 01:37 PM 3,345 05FB79F81EAA6FE5ADD8761E7BBA9C9B.cache.xml 03/05/2013 08:14 AM 106,287 26966A19D6D38457A07CA2EE42DE5077.cache.html 07/04/2008 01:37 PM 3,348 26966A19D6D38457A07CA2EE42DE5077.cache.xml 03/05/2013 08:14 AM 106,373 308FDF45A84BB88D1CBB2C7511077741.cache.html 07/04/2008 01:37 PM 3,345 308FDF45A84BB88D1CBB2C7511077741.cache.xml 07/04/2008 01:37 PM 1,384 avail.jsp 03/05/2013 08:14 AM 106,288 C592E3F27A42D6AF5DD753015E650174.cache.html 07/04/2008 01:37 PM 3,348 C592E3F27A42D6AF5DD753015E650174.cache.xml 03/04/2013 12:28 AM 2,621 com.golfpartners.FindAPartner.nocache.html 07/04/2008 01:37 PM 735 exequery.jsp 08/16/2008 11:00 AM 20,205 findAPartner.jsp 07/04/2008 01:37 PM 889 golfuser.jsp 07/04/2008 01:37 PM 2,641 golfuserextrainfo_table.jsp 07/04/2008 01:37 PM 17,336 gwt.js 07/04/2008 01:37 PM 444 history.html 07/04/2008 01:37 PM 20,161 myfile.jsp 07/04/2008 01:37 PM 2,641 s.jsp 07/04/2008 01:37 PM 31,657 searchResult.jsp 07/04/2008 01:37 PM 1,102 shahin.jsp 07/04/2008 01:37 PM 2,242 tabledef.jsp 07/04/2008 01:37 PM 82 tree_closed.gif 07/04/2008 01:37 PM 78 tree_open.gif 07/04/2008 01:37 PM 61 tree_white.gif 07/04/2008 01:37 PM 20,124 xfindAPartner.jsp 07/04/2008 01:37 PM 30,216 xfindAPartnerresult.jsp Files after upgrade: 03/06/2013 01:19 PM 92 548CDF11D6FE9011F3447CA200D7FB7F.cache.png 03/06/2013 01:19 PM 33,194 842EB0EC601917741A11F0EA6BA22B73.cache.html 03/06/2013 01:19 PM 34,809 9B2B41BEB022533FB7ABC4BBED009C92.cache.html 03/06/2013 01:19 PM 90 9DA92932034707C17CFF15F95086D53F.cache.png 07/04/2008 01:37 PM 1,384 avail.jsp 03/06/2013 01:19 PM 35,054 CC955D6CEF71BB95750A72DA898DE6E0.cache.html 03/06/2013 01:19 PM 43 clear.cache.gif 03/06/2013 01:19 PM 5,696 com.golfpartners.FindAPartner.nocache.js 03/06/2013 01:19 PM 35,263 D4440E7D17ADAB2A9F3690E019EF18F6.cache.html 07/04/2008 01:37 PM 735 exequery.jsp 03/06/2013 01:19 PM 35,681 FCE68568DD118ED5E503DF6B2CFD15E8.cache.html 08/16/2008 11:00 AM 20,205 findAPartner.jsp 07/04/2008 01:37 PM 889 golfuser.jsp 07/04/2008 01:37 PM 2,641 golfuserextrainfo_table.jsp 03/06/2013 01:25 PM <DIR> gwt 07/04/2008 01:37 PM 17,336 gwt.js 07/04/2008 01:37 PM 444 history.html 07/04/2008 01:37 PM 20,161 myfile.jsp 07/04/2008 01:37 PM 2,641 s.jsp 07/04/2008 01:37 PM 31,657 searchResult.jsp 07/04/2008 01:37 PM 1,102 shahin.jsp 07/04/2008 01:37 PM 2,242 tabledef.jsp 07/04/2008 01:37 PM 82 tree_closed.gif 07/04/2008 01:37 PM 78 tree_open.gif 07/04/2008 01:37 PM 61 tree_white.gif 07/04/2008 01:37 PM 20,124 xfindAPartner.jsp 07/04/2008 01:37 PM 30,216 xfindAPartnerresult.jsp Basically I replaced *.cache.html files and *.cache.xml files with the newly generated *.cache.html files and replace the nocache.html file with the newly generated nocache.js file. Now when I run it, I get no error or any message but it doesn't load the section that used this in the web page. I'd bet I am just replacing the wrong files or something basic, just I don't know what a 1.5 upgrade should mean in terms of what should be replaced I am a Java expert but a GWT newbie so I am fairly unfamiliar with all these unique meta files that GWT creates. I have also tried replacing the "text/plain" references in the cache.html with "text/x-gwt-rpc" as was recommended in the link below, but that just gave a different error. https://groups.google.com/forum/?fromgroups#!topic/Google-Web-Toolkit/wG_ZQLpEA2o I have gone through the forums and can't find anything better. Any idea what I need to replace or what I've done wrong? Basically I am just looking to have it work on any version at all, I would have thought many people years ago would have upgraded to 1.5 (often from 1.2), so this can't be that hard. Thanks very kindly, Dan
-- 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 post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. For more options, visit https://groups.google.com/groups/opt_out.