I don't know the answer, but in general, for this sort of issue, you need 
to figure out which URL the request is being sent to from the browser, and 
whether that URL is correct. (In particular, is it the same URL with JDK 
6?) The Chrome or Firefox debugging tools are useful for this; it's the 
"Network" tab in Chrome.

If the URL hasn't changed then there might be a problem on the server side.

On Thursday, November 22, 2012 12:33:36 AM UTC-8, Danny wrote:
>
> Hi guys,
>
> Here's my configuration:
>
>    - Mac OS X 10.7
>    - JDK 7 (OS Default) - using Oracle JDK
>    - GWT 2.5
>
> I've simply created a project using the GPE (i.e. GreetingService etc). I 
> make no changes to the GPE created starter code.
>
> The default java version on my Mac is set to Oracle's JDK 7. Everything 
> works fine when debugging in development mode (using either the built-in 
> Jetty server or when running using the '-noserver' switch with Tomcat 7). 
> However, when I compile the application and deploy to Tomcat 7 in 
> production mode, the RPC fails with the following message: 
>
> "An error occurred while attempting to contact the server. Please check 
> your network connection and try again."
>
> When I change the project facet in Eclipse to Java 6, it works in both 
> development and production modes. What's going on here?
>
> Thanks in advance!
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/GZXv5Jdq4ToJ.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to