[appengine-java] Re: Eclipse GWT update error

2009-09-15 Thread AndrewG

Miguel,

I have now tried this - but not had any luck making it work as yet.

I have downloaded and unzipped 'gwt-windows-1.6.4' - then put it into
eclipse/plugins.

If I try to 'Add App Engine SDK' - it just says: Failed to Initialise
App Engine SDK at ./gwt-windows-1.6.4 - don't know why.

One obvious thing - don't know if its significant - if you look inside
the dirs for the other gwt versions installed - they have a number of
things, like: appengine-sdk-plugin.jar, META-INF directory, etc as
well as an appengine-java-sdk-xxx directory, but the newly downloaded/
unzipped directory only contains a 'gwt-windows-1.6.4' sub-directory.

Andrew


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google App Engine for Java group.
To post to this group, send email to google-appengine-java@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en
-~--~~~~--~~--~--~---



[appengine-java] Re: Eclipse GWT update error

2009-09-15 Thread Miguel Méndez
Hi Andrew,
This is confusing, but the App Engine SDK and the GWT SDKs are separate SDKs
(one does not contain the other) and they are added via separate
preferences.  Trying to add the GWT SDK via the App Engine preferences will
fail in the manner that you described.


To clarify, if you want to add a GWT SDK you need to navigate to *Window 
Preferences*, or *Eclipse  Preferences* if you are on Mac OS X. Open the *
Google* entry in the left pane and select *Web Toolkit.*

On Tue, Sep 15, 2009 at 10:57 AM, AndrewG andrew.g...@rcrt.co.uk wrote:


 Miguel,

 I have now tried this - but not had any luck making it work as yet.

 I have downloaded and unzipped 'gwt-windows-1.6.4' - then put it into
 eclipse/plugins.

 If I try to 'Add App Engine SDK' - it just says: Failed to Initialise
 App Engine SDK at ./gwt-windows-1.6.4 - don't know why.

 One obvious thing - don't know if its significant - if you look inside
 the dirs for the other gwt versions installed - they have a number of
 things, like: appengine-sdk-plugin.jar, META-INF directory, etc as
 well as an appengine-java-sdk-xxx directory, but the newly downloaded/
 unzipped directory only contains a 'gwt-windows-1.6.4' sub-directory.

 Andrew


 



-- 
Miguel

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google App Engine for Java group.
To post to this group, send email to google-appengine-java@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en
-~--~~~~--~~--~--~---



[appengine-java] Re: Eclipse GWT update error

2009-09-15 Thread AndrewG


Miguel,

thank you - just before I picked up yr msg I figured out that I had
tried to install it in the wrong place, and tried again. I have now
(re-)installed the 'web toolkit' at v1.6.4, but I haven't yet
reinstalled the app engine to its previous state.

With just the toolkit re-installed, I am now getting a different set
of errors: Project xxx is missing required library ..
com.google.appenginesdkbundle_1_2_1

where the missing jars are things like: appengine-tools-api.jar,
appengine-local-runtime-shared.jar, etc'.

does this mean that the gwt sdk v 1.6.4 is closely tied to the
appengine vn that was broken during the upgrade? - or is something
else wrong - at the moment eclipse has appengine v1.2.5 installed -
prior to the upgrade it was 1.2.1. I would like to get back to the
configuration that I had before the upgrade (which worked) - but the
only vn that I can see on the download page is v1.2.5 - so not sure
where to get the 1.2.1 version - or is this a red herring and the
errors are being caused by something else ?

Thank you,

Andrew
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google App Engine for Java group.
To post to this group, send email to google-appengine-java@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en
-~--~~~~--~~--~--~---



[appengine-java] Re: Eclipse GWT update error

2009-09-15 Thread Miguel Méndez
Let us know when you have something.

On Tue, Sep 15, 2009 at 12:43 PM, AndrewG andrew.g...@rcrt.co.uk wrote:


 Miguel,

 I have sorted that last problem out - when I switched versions some
 'phantom' jar references appeared in the build path - which I have
 removed.

 There is something else strange going on though - I will post again
 when I have pinned it down.

 Andrew

 



-- 
Miguel

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google App Engine for Java group.
To post to this group, send email to google-appengine-java@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en
-~--~~~~--~~--~--~---



[appengine-java] Re: Eclipse GWT update error

2009-09-15 Thread AndrewG

Miguel,

ok - I think that I am closer to the problem now.

At the moment I am running the web app under tomcat 6 with the re-
installed gwt 1.6.4 sdk, following the problematic upgrade.

There now appears to be what looks like a classloader problem - the
various servlets which this app runs cannot now be created. When the
web app starts you get the 'Error loading WebAppClassLoader' message -
and then 'ClassNotFoundException' for each of the servlets defined in
the project - so none of the servlets work.

I have checked that the entries visible in the 'Build Path' - and
everything seems right.

This problem appears to be isolated to the gwt project - if I create a
new dynamic web project from scratch in eclipse - it runs ok - so this
is not just something in the tomcat installation that has broken.

Also, if I run an 'export to war' of the web app - and run it in a
stand-alone tomcat web server - it seems to work.

My guess is that somehow - during the upgrade something in the low-
level classes which the web server has to class-load in order to
create and run servlets has got broken. Unfortunately, if this
assumption is right, I have no idea how to find out what the offender
might be and fix it.

Andrew

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google App Engine for Java group.
To post to this group, send email to google-appengine-java@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en
-~--~~~~--~~--~--~---