Thanks, Toby.

I have changed the code to
              FooServiceImpl server = new FooServiceImpl ();

Also, I changed the GWT servlet test method to

        public String unitTest() {
                PersistenceManager pm = PMF.get().getPersistenceManager();
                return "unitTest";
        }

I implemented/copied the TestEnvironment, LocalServiceTestCase and
LocalDatastoreTestCase classes mentioned on
http://code.google.com/appengine/docs/java/howto/unittesting.html.

Now, I receive the following DataNucleus.Plugin warning and error
messages below.

Again, thanks for your help.

08:20:35,881 WARN  [DataNucleus.Plugin] - Extension Point
"org.eclipse.ui.views" not registered, but plugin
"org.eclipse.jdt.junit" defined in file:/D:/download/eclipse-galileo/
configuration/org.eclipse.osgi/bundles/308/1/.cp/META-INF/MANIFEST.MF
refers to it.
08:20:35,881 WARN  [DataNucleus.Plugin] - Extension Point
"org.eclipse.ui.views" not registered, but plugin
"org.eclipse.jdt.junit" defined in file:/D:/download/eclipse-galileo/
configuration/org.eclipse.osgi/bundles/308/1/.cp/META-INF/MANIFEST.MF
refers to it.
0 [main] WARN DataNucleus.Plugin  - Extension Point
"org.eclipse.ui.views" not registered, but plugin
"org.eclipse.jdt.junit" defined in file:/D:/download/eclipse-galileo/
configuration/org.eclipse.osgi/bundles/308/1/.cp/META-INF/MANIFEST.MF
refers to it.
08:20:35,883 WARN  [DataNucleus.Plugin] - Extension Point
"org.eclipse.ui.perspectiveExtensions" not registered, but plugin
"org.eclipse.jdt.junit" defined in file:/D:/download/eclipse-galileo/
configuration/org.eclipse.osgi/bundles/308/1/.cp/META-INF/MANIFEST.MF
refers to it.
08:20:35,883 WARN  [DataNucleus.Plugin] - Extension Point
"org.eclipse.ui.perspectiveExtensions" not registered, but plugin
"org.eclipse.jdt.junit" defined in file:/D:/download/eclipse-galileo/
configuration/org.eclipse.osgi/bundles/308/1/.cp/META-INF/MANIFEST.MF
refers to it.
2 [main] WARN DataNucleus.Plugin  - Extension Point
"org.eclipse.ui.perspectiveExtensions" not registered, but plugin
"org.eclipse.jdt.junit" defined in file:/D:/download/eclipse-galileo/
configuration/org.eclipse.osgi/bundles/308/1/.cp/META-INF/MANIFEST.MF
refers to it.
08:20:35,884 WARN  [DataNucleus.Plugin] - Extension Point
"org.eclipse.ui.preferencePages" not registered, but plugin
"org.eclipse.jdt.junit" defined in file:/D:/download/eclipse-galileo/
configuration/org.eclipse.osgi/bundles/308/1/.cp/META-INF/MANIFEST.MF
refers to it.
08:20:35,884 WARN  [DataNucleus.Plugin] - Extension Point
"org.eclipse.ui.preferencePages" not registered, but plugin
"org.eclipse.jdt.junit" defined in file:/D:/download/eclipse-galileo/
configuration/org.eclipse.osgi/bundles/308/1/.cp/META-INF/MANIFEST.MF
refers to it.
3 [main] WARN DataNucleus.Plugin  - Extension Point
"org.eclipse.ui.preferencePages" not registered, but plugin
"org.eclipse.jdt.junit" defined in file:/D:/download/eclipse-galileo/
configuration/org.eclipse.osgi/bundles/308/1/.cp/META-INF/MANIFEST.MF
refers to it.
08:20:35,884 WARN  [DataNucleus.Plugin] - Extension Point
"org.eclipse.ui.keywords" not registered, but plugin
"org.eclipse.jdt.junit" defined in file:/D:/download/eclipse-galileo/
configuration/org.eclipse.osgi/bundles/308/1/.cp/META-INF/MANIFEST.MF
refers to it.
08:20:35,884 WARN  [DataNucleus.Plugin] - Extension Point
"org.eclipse.ui.keywords" not registered, but plugin
"org.eclipse.jdt.junit" defined in file:/D:/download/eclipse-galileo/
configuration/org.eclipse.osgi/bundles/308/1/.cp/META-INF/MANIFEST.MF
refers to it.
3 [main] WARN DataNucleus.Plugin  - Extension Point
"org.eclipse.ui.keywords" not registered, but plugin
"org.eclipse.jdt.junit" defined in file:/D:/download/eclipse-galileo/
configuration/org.eclipse.osgi/bundles/308/1/.cp/META-INF/MANIFEST.MF
refers to it.
08:20:35,884 WARN  [DataNucleus.Plugin] - Extension Point
"org.eclipse.debug.core.launchConfigurationTypes" not registered, but
plugin "org.eclipse.jdt.junit" defined in file:/D:/download/eclipse-
galileo/configuration/org.eclipse.osgi/bundles/308/1/.cp/META-INF/
MANIFEST.MF refers to it.
08:20:35,884 WARN  [DataNucleus.Plugin] - Extension Point
"org.eclipse.debug.core.launchConfigurationTypes" not registered, but
plugin "org.eclipse.jdt.junit" defined in file:/D:/download/eclipse-
galileo/configuration/org.eclipse.osgi/bundles/308/1/.cp/META-INF/
MANIFEST.MF refers to it.
3 [main] WARN DataNucleus.Plugin  - Extension Point
"org.eclipse.debug.core.launchConfigurationTypes" not registered, but
plugin "org.eclipse.jdt.junit" defined in file:/D:/download/eclipse-
galileo/configuration/org.eclipse.osgi/bundles/308/1/.cp/META-INF/
MANIFEST.MF refers to it.
08:20:35,885 WARN  [DataNucleus.Plugin] - Extension Point
"org.eclipse.debug.core.launchConfigurationComparators" not
registered, but plugin "org.eclipse.jdt.junit" defined in file:/D:/
download/eclipse-galileo/configuration/org.eclipse.osgi/bundles/
308/1/.cp/META-INF/MANIFEST.MF refers to it.
08:20:35,885 WARN  [DataNucleus.Plugin] - Extension Point
"org.eclipse.debug.core.launchConfigurationComparators" not
registered, but plugin "org.eclipse.jdt.junit" defined in file:/D:/
download/eclipse-galileo/configuration/org.eclipse.osgi/bundles/
308/1/.cp/META-INF/MANIFEST.MF refers to it.
4 [main] WARN DataNucleus.Plugin  - Extension Point
"org.eclipse.debug.core.launchConfigurationComparators" not
registered, but plugin "org.eclipse.jdt.junit" defined in file:/D:/
download/eclipse-galileo/configuration/org.eclipse.osgi/bundles/
308/1/.cp/META-INF/MANIFEST.MF refers to it.
08:20:35,885 WARN  [DataNucleus.Plugin] - Extension Point
"org.eclipse.debug.ui.launchConfigurationTypeImages" not registered,
but plugin "org.eclipse.jdt.junit" defined in file:/D:/download/
eclipse-galileo/configuration/org.eclipse.osgi/bundles/308/1/.cp/META-
INF/MANIFEST.MF refers to it.
08:20:35,885 WARN  [DataNucleus.Plugin] - Extension Point
"org.eclipse.debug.ui.launchConfigurationTypeImages" not registered,
but plugin "org.eclipse.jdt.junit" defined in file:/D:/download/
eclipse-galileo/configuration/org.eclipse.osgi/bundles/308/1/.cp/META-
INF/MANIFEST.MF refers to it.
4 [main] WARN DataNucleus.Plugin  - Extension Point
"org.eclipse.debug.ui.launchConfigurationTypeImages" not registered,
but plugin "org.eclipse.jdt.junit" defined in file:/D:/download/
eclipse-galileo/configuration/org.eclipse.osgi/bundles/308/1/.cp/META-
INF/MANIFEST.MF refers to it.
08:20:35,886 WARN  [DataNucleus.Plugin] - Extension Point
"org.eclipse.debug.ui.launchConfigurationTabGroups" not registered,
but plugin "org.eclipse.jdt.junit" defined in file:/D:/download/
eclipse-galileo/configuration/org.eclipse.osgi/bundles/308/1/.cp/META-
INF/MANIFEST.MF refers to it.
08:20:35,886 WARN  [DataNucleus.Plugin] - Extension Point
"org.eclipse.debug.ui.launchConfigurationTabGroups" not registered,
but plugin "org.eclipse.jdt.junit" defined in file:/D:/download/
eclipse-galileo/configuration/org.eclipse.osgi/bundles/308/1/.cp/META-
INF/MANIFEST.MF refers to it.
5 [main] WARN DataNucleus.Plugin  - Extension Point
"org.eclipse.debug.ui.launchConfigurationTabGroups" not registered,
but plugin "org.eclipse.jdt.junit" defined in file:/D:/download/
eclipse-galileo/configuration/org.eclipse.osgi/bundles/308/1/.cp/META-
INF/MANIFEST.MF refers to it.
08:20:35,886 WARN  [DataNucleus.Plugin] - Extension Point
"org.eclipse.ui.newWizards" not registered, but plugin
"org.eclipse.jdt.junit" defined in file:/D:/download/eclipse-galileo/
configuration/org.eclipse.osgi/bundles/308/1/.cp/META-INF/MANIFEST.MF
refers to it.
08:20:35,886 WARN  [DataNucleus.Plugin] - Extension Point
"org.eclipse.ui.newWizards" not registered, but plugin
"org.eclipse.jdt.junit" defined in file:/D:/download/eclipse-galileo/
configuration/org.eclipse.osgi/bundles/308/1/.cp/META-INF/MANIFEST.MF
refers to it.
5 [main] WARN DataNucleus.Plugin  - Extension Point
"org.eclipse.ui.newWizards" not registered, but plugin
"org.eclipse.jdt.junit" defined in file:/D:/download/eclipse-galileo/
configuration/org.eclipse.osgi/bundles/308/1/.cp/META-INF/MANIFEST.MF
refers to it.
08:20:35,888 WARN  [DataNucleus.Plugin] - Extension Point
"org.eclipse.ui.popupMenus" not registered, but plugin
"org.eclipse.jdt.junit" defined in file:/D:/download/eclipse-galileo/
configuration/org.eclipse.osgi/bundles/308/1/.cp/META-INF/MANIFEST.MF
refers to it.
08:20:35,888 WARN  [DataNucleus.Plugin] - Extension Point
"org.eclipse.ui.popupMenus" not registered, but plugin
"org.eclipse.jdt.junit" defined in file:/D:/download/eclipse-galileo/
configuration/org.eclipse.osgi/bundles/308/1/.cp/META-INF/MANIFEST.MF
refers to it.
7 [main] WARN DataNucleus.Plugin  - Extension Point
"org.eclipse.ui.popupMenus" not registered, but plugin
"org.eclipse.jdt.junit" defined in file:/D:/download/eclipse-galileo/
configuration/org.eclipse.osgi/bundles/308/1/.cp/META-INF/MANIFEST.MF
refers to it.
08:20:35,888 WARN  [DataNucleus.Plugin] - Extension Point
"org.eclipse.ui.actionSets" not registered, but plugin
"org.eclipse.jdt.junit" defined in file:/D:/download/eclipse-galileo/
configuration/org.eclipse.osgi/bundles/308/1/.cp/META-INF/MANIFEST.MF
refers to it.
08:20:35,888 WARN  [DataNucleus.Plugin] - Extension Point
"org.eclipse.ui.actionSets" not registered, but plugin
"org.eclipse.jdt.junit" defined in file:/D:/download/eclipse-galileo/
configuration/org.eclipse.osgi/bundles/308/1/.cp/META-INF/MANIFEST.MF
refers to it.
7 [main] WARN DataNucleus.Plugin  - Extension Point
"org.eclipse.ui.actionSets" not registered, but plugin
"org.eclipse.jdt.junit" defined in file:/D:/download/eclipse-galileo/
configuration/org.eclipse.osgi/bundles/308/1/.cp/META-INF/MANIFEST.MF
refers to it.
08:20:35,888 WARN  [DataNucleus.Plugin] - Extension Point
"org.eclipse.ui.actionSetPartAssociations" not registered, but plugin
"org.eclipse.jdt.junit" defined in file:/D:/download/eclipse-galileo/
configuration/org.eclipse.osgi/bundles/308/1/.cp/META-INF/MANIFEST.MF
refers to it.
08:20:35,888 WARN  [DataNucleus.Plugin] - Extension Point
"org.eclipse.ui.actionSetPartAssociations" not registered, but plugin
"org.eclipse.jdt.junit" defined in file:/D:/download/eclipse-galileo/
configuration/org.eclipse.osgi/bundles/308/1/.cp/META-INF/MANIFEST.MF
refers to it.
7 [main] WARN DataNucleus.Plugin  - Extension Point
"org.eclipse.ui.actionSetPartAssociations" not registered, but plugin
"org.eclipse.jdt.junit" defined in file:/D:/download/eclipse-galileo/
configuration/org.eclipse.osgi/bundles/308/1/.cp/META-INF/MANIFEST.MF
refers to it.
08:20:35,888 WARN  [DataNucleus.Plugin] - Extension Point
"org.eclipse.debug.ui.launchShortcuts" not registered, but plugin
"org.eclipse.jdt.junit" defined in file:/D:/download/eclipse-galileo/
configuration/org.eclipse.osgi/bundles/308/1/.cp/META-INF/MANIFEST.MF
refers to it.
08:20:35,888 WARN  [DataNucleus.Plugin] - Extension Point
"org.eclipse.debug.ui.launchShortcuts" not registered, but plugin
"org.eclipse.jdt.junit" defined in file:/D:/download/eclipse-galileo/
configuration/org.eclipse.osgi/bundles/308/1/.cp/META-INF/MANIFEST.MF
refers to it.
7 [main] WARN DataNucleus.Plugin  - Extension Point
"org.eclipse.debug.ui.launchShortcuts" not registered, but plugin
"org.eclipse.jdt.junit" defined in file:/D:/download/eclipse-galileo/
configuration/org.eclipse.osgi/bundles/308/1/.cp/META-INF/MANIFEST.MF
refers to it.
08:20:35,889 WARN  [DataNucleus.Plugin] - Extension Point
"org.eclipse.jdt.core.classpathVariableInitializer" not registered,
but plugin "org.eclipse.jdt.junit" defined in file:/D:/download/
eclipse-galileo/configuration/org.eclipse.osgi/bundles/308/1/.cp/META-
INF/MANIFEST.MF refers to it.
08:20:35,889 WARN  [DataNucleus.Plugin] - Extension Point
"org.eclipse.jdt.core.classpathVariableInitializer" not registered,
but plugin "org.eclipse.jdt.junit" defined in file:/D:/download/
eclipse-galileo/configuration/org.eclipse.osgi/bundles/308/1/.cp/META-
INF/MANIFEST.MF refers to it.
8 [main] WARN DataNucleus.Plugin  - Extension Point
"org.eclipse.jdt.core.classpathVariableInitializer" not registered,
but plugin "org.eclipse.jdt.junit" defined in file:/D:/download/
eclipse-galileo/configuration/org.eclipse.osgi/bundles/308/1/.cp/META-
INF/MANIFEST.MF refers to it.
08:20:35,889 WARN  [DataNucleus.Plugin] - Extension Point
"org.eclipse.jdt.ui.quickFixProcessors" not registered, but plugin
"org.eclipse.jdt.junit" defined in file:/D:/download/eclipse-galileo/
configuration/org.eclipse.osgi/bundles/308/1/.cp/META-INF/MANIFEST.MF
refers to it.
08:20:35,889 WARN  [DataNucleus.Plugin] - Extension Point
"org.eclipse.jdt.ui.quickFixProcessors" not registered, but plugin
"org.eclipse.jdt.junit" defined in file:/D:/download/eclipse-galileo/
configuration/org.eclipse.osgi/bundles/308/1/.cp/META-INF/MANIFEST.MF
refers to it.
8 [main] WARN DataNucleus.Plugin  - Extension Point
"org.eclipse.jdt.ui.quickFixProcessors" not registered, but plugin
"org.eclipse.jdt.junit" defined in file:/D:/download/eclipse-galileo/
configuration/org.eclipse.osgi/bundles/308/1/.cp/META-INF/MANIFEST.MF
refers to it.
08:20:35,889 WARN  [DataNucleus.Plugin] - Extension Point
"org.eclipse.jdt.ui.classpathFixProcessors" not registered, but plugin
"org.eclipse.jdt.junit" defined in file:/D:/download/eclipse-galileo/
configuration/org.eclipse.osgi/bundles/308/1/.cp/META-INF/MANIFEST.MF
refers to it.
08:20:35,889 WARN  [DataNucleus.Plugin] - Extension Point
"org.eclipse.jdt.ui.classpathFixProcessors" not registered, but plugin
"org.eclipse.jdt.junit" defined in file:/D:/download/eclipse-galileo/
configuration/org.eclipse.osgi/bundles/308/1/.cp/META-INF/MANIFEST.MF
refers to it.
8 [main] WARN DataNucleus.Plugin  - Extension Point
"org.eclipse.jdt.ui.classpathFixProcessors" not registered, but plugin
"org.eclipse.jdt.junit" defined in file:/D:/download/eclipse-galileo/
configuration/org.eclipse.osgi/bundles/308/1/.cp/META-INF/MANIFEST.MF
refers to it.
08:20:35,889 WARN  [DataNucleus.Plugin] - Extension Point
"org.eclipse.ui.ide.markerResolution" not registered, but plugin
"org.eclipse.jdt.junit" defined in file:/D:/download/eclipse-galileo/
configuration/org.eclipse.osgi/bundles/308/1/.cp/META-INF/MANIFEST.MF
refers to it.
08:20:35,889 WARN  [DataNucleus.Plugin] - Extension Point
"org.eclipse.ui.ide.markerResolution" not registered, but plugin
"org.eclipse.jdt.junit" defined in file:/D:/download/eclipse-galileo/
configuration/org.eclipse.osgi/bundles/308/1/.cp/META-INF/MANIFEST.MF
refers to it.
8 [main] WARN DataNucleus.Plugin  - Extension Point
"org.eclipse.ui.ide.markerResolution" not registered, but plugin
"org.eclipse.jdt.junit" defined in file:/D:/download/eclipse-galileo/
configuration/org.eclipse.osgi/bundles/308/1/.cp/META-INF/MANIFEST.MF
refers to it.
08:20:35,890 WARN  [DataNucleus.Plugin] - Extension Point
"org.eclipse.core.expressions.propertyTesters" not registered, but
plugin "org.eclipse.jdt.junit" defined in file:/D:/download/eclipse-
galileo/configuration/org.eclipse.osgi/bundles/308/1/.cp/META-INF/
MANIFEST.MF refers to it.
08:20:35,890 WARN  [DataNucleus.Plugin] - Extension Point
"org.eclipse.core.expressions.propertyTesters" not registered, but
plugin "org.eclipse.jdt.junit" defined in file:/D:/download/eclipse-
galileo/configuration/org.eclipse.osgi/bundles/308/1/.cp/META-INF/
MANIFEST.MF refers to it.
9 [main] WARN DataNucleus.Plugin  - Extension Point
"org.eclipse.core.expressions.propertyTesters" not registered, but
plugin "org.eclipse.jdt.junit" defined in file:/D:/download/eclipse-
galileo/configuration/org.eclipse.osgi/bundles/308/1/.cp/META-INF/
MANIFEST.MF refers to it.
08:20:35,890 WARN  [DataNucleus.Plugin] - Extension Point
"org.eclipse.ltk.core.refactoring.renameParticipants" not registered,
but plugin "org.eclipse.jdt.junit" defined in file:/D:/download/
eclipse-galileo/configuration/org.eclipse.osgi/bundles/308/1/.cp/META-
INF/MANIFEST.MF refers to it.
08:20:35,890 WARN  [DataNucleus.Plugin] - Extension Point
"org.eclipse.ltk.core.refactoring.renameParticipants" not registered,
but plugin "org.eclipse.jdt.junit" defined in file:/D:/download/
eclipse-galileo/configuration/org.eclipse.osgi/bundles/308/1/.cp/META-
INF/MANIFEST.MF refers to it.
9 [main] WARN DataNucleus.Plugin  - Extension Point
"org.eclipse.ltk.core.refactoring.renameParticipants" not registered,
but plugin "org.eclipse.jdt.junit" defined in file:/D:/download/
eclipse-galileo/configuration/org.eclipse.osgi/bundles/308/1/.cp/META-
INF/MANIFEST.MF refers to it.
08:20:35,890 WARN  [DataNucleus.Plugin] - Extension Point
"org.eclipse.ui.commands" not registered, but plugin
"org.eclipse.jdt.junit" defined in file:/D:/download/eclipse-galileo/
configuration/org.eclipse.osgi/bundles/308/1/.cp/META-INF/MANIFEST.MF
refers to it.
08:20:35,890 WARN  [DataNucleus.Plugin] - Extension Point
"org.eclipse.ui.commands" not registered, but plugin
"org.eclipse.jdt.junit" defined in file:/D:/download/eclipse-galileo/
configuration/org.eclipse.osgi/bundles/308/1/.cp/META-INF/MANIFEST.MF
refers to it.
9 [main] WARN DataNucleus.Plugin  - Extension Point
"org.eclipse.ui.commands" not registered, but plugin
"org.eclipse.jdt.junit" defined in file:/D:/download/eclipse-galileo/
configuration/org.eclipse.osgi/bundles/308/1/.cp/META-INF/MANIFEST.MF
refers to it.
08:20:35,891 WARN  [DataNucleus.Plugin] - Extension Point
"org.eclipse.ui.bindings" not registered, but plugin
"org.eclipse.jdt.junit" defined in file:/D:/download/eclipse-galileo/
configuration/org.eclipse.osgi/bundles/308/1/.cp/META-INF/MANIFEST.MF
refers to it.
08:20:35,891 WARN  [DataNucleus.Plugin] - Extension Point
"org.eclipse.ui.bindings" not registered, but plugin
"org.eclipse.jdt.junit" defined in file:/D:/download/eclipse-galileo/
configuration/org.eclipse.osgi/bundles/308/1/.cp/META-INF/MANIFEST.MF
refers to it.
10 [main] WARN DataNucleus.Plugin  - Extension Point
"org.eclipse.ui.bindings" not registered, but plugin
"org.eclipse.jdt.junit" defined in file:/D:/download/eclipse-galileo/
configuration/org.eclipse.osgi/bundles/308/1/.cp/META-INF/MANIFEST.MF
refers to it.
08:20:35,891 WARN  [DataNucleus.Plugin] - Extension Point
"org.eclipse.core.runtime.preferences" not registered, but plugin
"org.eclipse.jdt.junit" defined in file:/D:/download/eclipse-galileo/
configuration/org.eclipse.osgi/bundles/308/1/.cp/META-INF/MANIFEST.MF
refers to it.
08:20:35,891 WARN  [DataNucleus.Plugin] - Extension Point
"org.eclipse.core.runtime.preferences" not registered, but plugin
"org.eclipse.jdt.junit" defined in file:/D:/download/eclipse-galileo/
configuration/org.eclipse.osgi/bundles/308/1/.cp/META-INF/MANIFEST.MF
refers to it.
10 [main] WARN DataNucleus.Plugin  - Extension Point
"org.eclipse.core.runtime.preferences" not registered, but plugin
"org.eclipse.jdt.junit" defined in file:/D:/download/eclipse-galileo/
configuration/org.eclipse.osgi/bundles/308/1/.cp/META-INF/MANIFEST.MF
refers to it.
08:20:35,891 WARN  [DataNucleus.Plugin] - Extension Point
"org.eclipse.jdt.core.classpathContainerInitializer" not registered,
but plugin "org.eclipse.jdt.junit" defined in file:/D:/download/
eclipse-galileo/configuration/org.eclipse.osgi/bundles/308/1/.cp/META-
INF/MANIFEST.MF refers to it.
08:20:35,891 WARN  [DataNucleus.Plugin] - Extension Point
"org.eclipse.jdt.core.classpathContainerInitializer" not registered,
but plugin "org.eclipse.jdt.junit" defined in file:/D:/download/
eclipse-galileo/configuration/org.eclipse.osgi/bundles/308/1/.cp/META-
INF/MANIFEST.MF refers to it.
10 [main] WARN DataNucleus.Plugin  - Extension Point
"org.eclipse.jdt.core.classpathContainerInitializer" not registered,
but plugin "org.eclipse.jdt.junit" defined in file:/D:/download/
eclipse-galileo/configuration/org.eclipse.osgi/bundles/308/1/.cp/META-
INF/MANIFEST.MF refers to it.
08:20:35,892 WARN  [DataNucleus.Plugin] - Extension Point
"org.eclipse.jdt.ui.classpathContainerPage" not registered, but plugin
"org.eclipse.jdt.junit" defined in file:/D:/download/eclipse-galileo/
configuration/org.eclipse.osgi/bundles/308/1/.cp/META-INF/MANIFEST.MF
refers to it.
08:20:35,892 WARN  [DataNucleus.Plugin] - Extension Point
"org.eclipse.jdt.ui.classpathContainerPage" not registered, but plugin
"org.eclipse.jdt.junit" defined in file:/D:/download/eclipse-galileo/
configuration/org.eclipse.osgi/bundles/308/1/.cp/META-INF/MANIFEST.MF
refers to it.
11 [main] WARN DataNucleus.Plugin  - Extension Point
"org.eclipse.jdt.ui.classpathContainerPage" not registered, but plugin
"org.eclipse.jdt.junit" defined in file:/D:/download/eclipse-galileo/
configuration/org.eclipse.osgi/bundles/308/1/.cp/META-INF/MANIFEST.MF
refers to it.
08:20:35,892 WARN  [DataNucleus.Plugin] - Extension Point
"org.eclipse.ui.editors" not registered, but plugin
"org.eclipse.jdt.junit" defined in file:/D:/download/eclipse-galileo/
configuration/org.eclipse.osgi/bundles/308/1/.cp/META-INF/MANIFEST.MF
refers to it.
08:20:35,892 WARN  [DataNucleus.Plugin] - Extension Point
"org.eclipse.ui.editors" not registered, but plugin
"org.eclipse.jdt.junit" defined in file:/D:/download/eclipse-galileo/
configuration/org.eclipse.osgi/bundles/308/1/.cp/META-INF/MANIFEST.MF
refers to it.
11 [main] WARN DataNucleus.Plugin  - Extension Point
"org.eclipse.ui.editors" not registered, but plugin
"org.eclipse.jdt.junit" defined in file:/D:/download/eclipse-galileo/
configuration/org.eclipse.osgi/bundles/308/1/.cp/META-INF/MANIFEST.MF
refers to it.
08:20:35,892 WARN  [DataNucleus.Plugin] - Extension Point
"org.eclipse.core.contenttype.contentTypes" not registered, but plugin
"org.eclipse.jdt.junit" defined in file:/D:/download/eclipse-galileo/
configuration/org.eclipse.osgi/bundles/308/1/.cp/META-INF/MANIFEST.MF
refers to it.
08:20:35,892 WARN  [DataNucleus.Plugin] - Extension Point
"org.eclipse.core.contenttype.contentTypes" not registered, but plugin
"org.eclipse.jdt.junit" defined in file:/D:/download/eclipse-galileo/
configuration/org.eclipse.osgi/bundles/308/1/.cp/META-INF/MANIFEST.MF
refers to it.
11 [main] WARN DataNucleus.Plugin  - Extension Point
"org.eclipse.core.contenttype.contentTypes" not registered, but plugin
"org.eclipse.jdt.junit" defined in file:/D:/download/eclipse-galileo/
configuration/org.eclipse.osgi/bundles/308/1/.cp/META-INF/MANIFEST.MF
refers to it.
08:20:35,894 ERROR [DataNucleus.Plugin] - Bundle
"org.eclipse.jdt.junit" requires "org.eclipse.ui.ide" but it cannot be
resolved.
08:20:35,894 ERROR [DataNucleus.Plugin] - Bundle
"org.eclipse.jdt.junit" requires "org.eclipse.ui.ide" but it cannot be
resolved.
13 [main] ERROR DataNucleus.Plugin  - Bundle "org.eclipse.jdt.junit"
requires "org.eclipse.ui.ide" but it cannot be resolved.
08:20:35,894 ERROR [DataNucleus.Plugin] - Bundle
"org.eclipse.jdt.junit" requires "org.eclipse.ui.views" but it cannot
be resolved.
08:20:35,894 ERROR [DataNucleus.Plugin] - Bundle
"org.eclipse.jdt.junit" requires "org.eclipse.ui.views" but it cannot
be resolved.
13 [main] ERROR DataNucleus.Plugin  - Bundle "org.eclipse.jdt.junit"
requires "org.eclipse.ui.views" but it cannot be resolved.
08:20:35,894 ERROR [DataNucleus.Plugin] - Bundle
"org.eclipse.jdt.junit" requires "org.eclipse.jface.text" but it
cannot be resolved.
08:20:35,894 ERROR [DataNucleus.Plugin] - Bundle
"org.eclipse.jdt.junit" requires "org.eclipse.jface.text" but it
cannot be resolved.
13 [main] ERROR DataNucleus.Plugin  - Bundle "org.eclipse.jdt.junit"
requires "org.eclipse.jface.text" but it cannot be resolved.
08:20:35,894 ERROR [DataNucleus.Plugin] - Bundle
"org.eclipse.jdt.junit" requires "org.eclipse.ui.workbench.texteditor"
but it cannot be resolved.
08:20:35,894 ERROR [DataNucleus.Plugin] - Bundle
"org.eclipse.jdt.junit" requires "org.eclipse.ui.workbench.texteditor"
but it cannot be resolved.
13 [main] ERROR DataNucleus.Plugin  - Bundle "org.eclipse.jdt.junit"
requires "org.eclipse.ui.workbench.texteditor" but it cannot be
resolved.
08:20:35,895 ERROR [DataNucleus.Plugin] - Bundle
"org.eclipse.jdt.junit" requires "org.eclipse.ui.editors" but it
cannot be resolved.
08:20:35,895 ERROR [DataNucleus.Plugin] - Bundle
"org.eclipse.jdt.junit" requires "org.eclipse.ui.editors" but it
cannot be resolved.
14 [main] ERROR DataNucleus.Plugin  - Bundle "org.eclipse.jdt.junit"
requires "org.eclipse.ui.editors" but it cannot be resolved.
08:20:35,895 ERROR [DataNucleus.Plugin] - Bundle
"org.eclipse.jdt.junit" requires "org.eclipse.ui" but it cannot be
resolved.
08:20:35,895 ERROR [DataNucleus.Plugin] - Bundle
"org.eclipse.jdt.junit" requires "org.eclipse.ui" but it cannot be
resolved.
14 [main] ERROR DataNucleus.Plugin  - Bundle "org.eclipse.jdt.junit"
requires "org.eclipse.ui" but it cannot be resolved.
08:20:35,895 ERROR [DataNucleus.Plugin] - Bundle
"org.eclipse.jdt.junit" requires "org.eclipse.core.expressions" but it
cannot be resolved.
08:20:35,895 ERROR [DataNucleus.Plugin] - Bundle
"org.eclipse.jdt.junit" requires "org.eclipse.core.expressions" but it
cannot be resolved.
14 [main] ERROR DataNucleus.Plugin  - Bundle "org.eclipse.jdt.junit"
requires "org.eclipse.core.expressions" but it cannot be resolved.
08:20:35,895 ERROR [DataNucleus.Plugin] - Bundle
"org.eclipse.jdt.junit" requires "org.eclipse.core.resources" but it
cannot be resolved.
08:20:35,895 ERROR [DataNucleus.Plugin] - Bundle
"org.eclipse.jdt.junit" requires "org.eclipse.core.resources" but it
cannot be resolved.
14 [main] ERROR DataNucleus.Plugin  - Bundle "org.eclipse.jdt.junit"
requires "org.eclipse.core.resources" but it cannot be resolved.
08:20:35,895 ERROR [DataNucleus.Plugin] - Bundle
"org.eclipse.jdt.junit" requires "org.eclipse.debug.core" but it
cannot be resolved.
08:20:35,895 ERROR [DataNucleus.Plugin] - Bundle
"org.eclipse.jdt.junit" requires "org.eclipse.debug.core" but it
cannot be resolved.
14 [main] ERROR DataNucleus.Plugin  - Bundle "org.eclipse.jdt.junit"
requires "org.eclipse.debug.core" but it cannot be resolved.
08:20:35,896 ERROR [DataNucleus.Plugin] - Bundle
"org.eclipse.jdt.junit" requires "org.eclipse.debug.ui" but it cannot
be resolved.
08:20:35,896 ERROR [DataNucleus.Plugin] - Bundle
"org.eclipse.jdt.junit" requires "org.eclipse.debug.ui" but it cannot
be resolved.
15 [main] ERROR DataNucleus.Plugin  - Bundle "org.eclipse.jdt.junit"
requires "org.eclipse.debug.ui" but it cannot be resolved.
08:20:35,896 ERROR [DataNucleus.Plugin] - Bundle
"org.eclipse.jdt.junit" requires "org.eclipse.jdt.core" but it cannot
be resolved.
08:20:35,896 ERROR [DataNucleus.Plugin] - Bundle
"org.eclipse.jdt.junit" requires "org.eclipse.jdt.core" but it cannot
be resolved.
15 [main] ERROR DataNucleus.Plugin  - Bundle "org.eclipse.jdt.junit"
requires "org.eclipse.jdt.core" but it cannot be resolved.
08:20:35,896 ERROR [DataNucleus.Plugin] - Bundle
"org.eclipse.jdt.junit" requires "org.eclipse.jdt.ui" but it cannot be
resolved.
08:20:35,896 ERROR [DataNucleus.Plugin] - Bundle
"org.eclipse.jdt.junit" requires "org.eclipse.jdt.ui" but it cannot be
resolved.
15 [main] ERROR DataNucleus.Plugin  - Bundle "org.eclipse.jdt.junit"
requires "org.eclipse.jdt.ui" but it cannot be resolved.
08:20:35,896 ERROR [DataNucleus.Plugin] - Bundle
"org.eclipse.jdt.junit" requires "org.eclipse.core.runtime" but it
cannot be resolved.
08:20:35,896 ERROR [DataNucleus.Plugin] - Bundle
"org.eclipse.jdt.junit" requires "org.eclipse.core.runtime" but it
cannot be resolved.
15 [main] ERROR DataNucleus.Plugin  - Bundle "org.eclipse.jdt.junit"
requires "org.eclipse.core.runtime" but it cannot be resolved.
08:20:35,896 ERROR [DataNucleus.Plugin] - Bundle
"org.eclipse.jdt.junit" requires "org.eclipse.jdt.launching" but it
cannot be resolved.
08:20:35,896 ERROR [DataNucleus.Plugin] - Bundle
"org.eclipse.jdt.junit" requires "org.eclipse.jdt.launching" but it
cannot be resolved.
15 [main] ERROR DataNucleus.Plugin  - Bundle "org.eclipse.jdt.junit"
requires "org.eclipse.jdt.launching" but it cannot be resolved.
08:20:35,897 ERROR [DataNucleus.Plugin] - Bundle
"org.eclipse.jdt.junit" requires "org.eclipse.jdt.debug.ui" but it
cannot be resolved.
08:20:35,897 ERROR [DataNucleus.Plugin] - Bundle
"org.eclipse.jdt.junit" requires "org.eclipse.jdt.debug.ui" but it
cannot be resolved.
16 [main] ERROR DataNucleus.Plugin  - Bundle "org.eclipse.jdt.junit"
requires "org.eclipse.jdt.debug.ui" but it cannot be resolved.
08:20:35,897 ERROR [DataNucleus.Plugin] - Bundle
"org.eclipse.jdt.junit" requires "org.eclipse.jdt.junit.runtime" but
it cannot be resolved.
08:20:35,897 ERROR [DataNucleus.Plugin] - Bundle
"org.eclipse.jdt.junit" requires "org.eclipse.jdt.junit.runtime" but
it cannot be resolved.
16 [main] ERROR DataNucleus.Plugin  - Bundle "org.eclipse.jdt.junit"
requires "org.eclipse.jdt.junit.runtime" but it cannot be resolved.
08:20:35,897 ERROR [DataNucleus.Plugin] - Bundle
"org.eclipse.jdt.junit" requires "org.eclipse.compare" but it cannot
be resolved.
08:20:35,897 ERROR [DataNucleus.Plugin] - Bundle
"org.eclipse.jdt.junit" requires "org.eclipse.compare" but it cannot
be resolved.
16 [main] ERROR DataNucleus.Plugin  - Bundle "org.eclipse.jdt.junit"
requires "org.eclipse.compare" but it cannot be resolved.
08:20:35,898 ERROR [DataNucleus.Plugin] - Bundle
"org.eclipse.jdt.junit" requires "org.eclipse.ltk.core.refactoring"
but it cannot be resolved.
08:20:35,898 ERROR [DataNucleus.Plugin] - Bundle
"org.eclipse.jdt.junit" requires "org.eclipse.ltk.core.refactoring"
but it cannot be resolved.
17 [main] ERROR DataNucleus.Plugin  - Bundle "org.eclipse.jdt.junit"
requires "org.eclipse.ltk.core.refactoring" but it cannot be resolved.
08:20:35,898 ERROR [DataNucleus.Plugin] - Bundle
"org.eclipse.jdt.junit" requires "org.eclipse.core.variables" but it
cannot be resolved.
08:20:35,898 ERROR [DataNucleus.Plugin] - Bundle
"org.eclipse.jdt.junit" requires "org.eclipse.core.variables" but it
cannot be resolved.
17 [main] ERROR DataNucleus.Plugin  - Bundle "org.eclipse.jdt.junit"
requires "org.eclipse.core.variables" but it cannot be resolved.
08:20:35,898 ERROR [DataNucleus.Plugin] - Bundle
"org.eclipse.jdt.junit" requires "org.eclipse.ltk.ui.refactoring" but
it cannot be resolved.
08:20:35,898 ERROR [DataNucleus.Plugin] - Bundle
"org.eclipse.jdt.junit" requires "org.eclipse.ltk.ui.refactoring" but
it cannot be resolved.
17 [main] ERROR DataNucleus.Plugin  - Bundle "org.eclipse.jdt.junit"
requires "org.eclipse.ltk.ui.refactoring" but it cannot be resolved.
08:20:35,898 ERROR [DataNucleus.Plugin] - Bundle
"org.eclipse.jdt.junit" requires
"org.eclipse.equinox.simpleconfigurator.manipulator" but it cannot be
resolved.
08:20:35,898 ERROR [DataNucleus.Plugin] - Bundle
"org.eclipse.jdt.junit" requires
"org.eclipse.equinox.simpleconfigurator.manipulator" but it cannot be
resolved.
17 [main] ERROR DataNucleus.Plugin  - Bundle "org.eclipse.jdt.junit"
requires "org.eclipse.equinox.simpleconfigurator.manipulator" but it
cannot be resolved.
08:20:35,898 ERROR [DataNucleus.Plugin] - Bundle
"org.eclipse.jdt.junit" requires "org.eclipse.equinox.frameworkadmin"
but it cannot be resolved.
08:20:35,898 ERROR [DataNucleus.Plugin] - Bundle
"org.eclipse.jdt.junit" requires "org.eclipse.equinox.frameworkadmin"
but it cannot be resolved.
17 [main] ERROR DataNucleus.Plugin  - Bundle "org.eclipse.jdt.junit"
requires "org.eclipse.equinox.frameworkadmin" but it cannot be
resolved.


On Sep 22, 7:51 am, Toby Reyelts <to...@google.com> wrote:
> ApiProxy gives you access to the dev_appserver's internal interfaces for the
> services that Google provides, such as mail, urlfetch, memcache, xmpp,
> etc... ApiProxy is entirely unrelated to GWT RemoteServiceServlets, which is
> what your code is trying to use it for.
> You only need to use our internal dev_appserver interfaces if you
> specifically need to do something with the services that isn't supported on
> prod via the standard interfaces. For example, in the page you referenced,
> the code clears all record of sent messages:
>
> mailService.clearSentMessages();
>
> That capability makes no sense in production, but it is very useful for
> testing locally.
>
> On Tue, Sep 22, 2009 at 10:35 AM, Pion <onlee2...@gmail.com> wrote:
>
> > This line fails:
>
> >   FooServiceImpl server =  (FooServiceImpl ) proxy.getService
> > ("com.foo.server");
>
> > The server is null.
>
> > On Sep 21, 6:48 pm, Pion <onlee2...@gmail.com> wrote:
> > > I have the following server side code:
>
> > >         package com.foo.server;
> > >         // code deleted for brevity
> > >         /**
> > >          * The server side implementation of the RPC service.
> > >          */
> > >         @SuppressWarnings("serial")
> > >         public class FooServiceImpl extends RemoteServiceServlet
> > implements
> > > FooService {
> > >         // code deleted for brevity
> > >                 @Override
> > >                 public String barTest() {
> > >                         return "unitTest";
> > >                 }
> > >         } // FooServiceImpl
>
> > > I copied/implemented the TestEnvironment and LocalServiceTestCase
> > > classes as shown onhttp://
> > code.google.com/appengine/docs/java/howto/unittesting.html.
>
> > > Then, I implemented the following:
> > >         public class ServerTest extends LocalServiceTestCase {
>
> > >         ApiProxyLocalImpl proxy = (ApiProxyLocalImpl)
> > > ApiProxy.getDelegate();
> > >         FooServiceImpl server =  (FooServiceImpl ) proxy.getService
> > > ("com.foo.server");
>
> > >         String result = barTest();                      // produces
> > > java.lang.NullPointerException
> > >         assertEquals("unitTest", result);
>
> > >         } // ServerTest
>
> > > I got the java.lang.NullPointerException on this line "String result =
> > > barTest();"
>
> > > My environments: GAE 1.25, GWT 1.7, Eclipse-Galileo on Windows Vista.
>
> > > I am new on this. What did I do wrong?
>
> > > Thanks in advance for your help.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to