Hi gsilverman, You don't have to regress to Eclipse 3.3. The GEP 2.1.2 version
will in fact support Eclipse 3.4. Just to be clear, when you used the ant script
to download the ganymede prereqs, you installed/copied that into a clean eclipse
installation ?? I've noticed before that ganymede cannot simply be copied over an
existing europa installation. Also, would you be able to zip up and provide me
your entire eclipse installation so I can see exactly what is wrong ?? Thanks.
gsilverman wrote:
The *5-minute Tutorial on Enterprise Application Development with
Eclipse and Geronimo* is all about JDK 5 and Eclipse 3.3, not 3.4. I'm
not planning to regress to that. As for the steps I'm currently taking,
I ran the ant script to download the latest Eclipse distribution and
installed GEP 212 per the instructions. I checked that it installed
correctly. The *Geronimo v21 Server Tools core plugin* icon appears in
my *About Eclipse Platform *dialog. Then I created the
CurrencyConverterEJB and the WebEJB projects using the Eclipse wizards.
I then right-clicked on the WebEJB project, and chose New->Servlet. This
modified my web.xml but did not create the java code. I tried it with
other Dynamic Web Projects, same result. I get the following stack trace
in my .log file: java.lang.NullPointerException at
org.eclipse.jst.servlet.ui.internal.wizard.NewWebArtifactWizard.openJavaClass(NewWebArtifactWizard.java:72)
at
org.eclipse.jst.servlet.ui.internal.wizard.AddServletWizard.postPerformFinish(AddServletWizard.java:79)
at
org.eclipse.wst.common.frameworks.internal.datamodel.ui.DataModelWizard.performFinish(DataModelWizard.java:195)
at
org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDialog.java:742)
at
org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:373)
at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:624) at
org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:228)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) at
org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003) at
org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3823) at
org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3422) at
org.eclipse.jface.window.Window.runEventLoop(Window.java:825) at
org.eclipse.jface.window.Window.open(Window.java:801) at
org.eclipse.ui.internal.navigator.wizards.WizardShortcutAction.run(WizardShortcutAction.java:94)
at org.eclipse.jface.action.Action.runWithEvent(Action.java:498) at
org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:583)
at
org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:500)
at
org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:411)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) at
org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003) at
org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3823) at
org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3422) at
org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2382) at
org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2346) at
org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2198) at
org.eclipse.ui.internal.Workbench$5.run(Workbench.java:493) at
org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:288)
at
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:488)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at
org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:113)
at
org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:193)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:382)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at
sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at
sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at
java.lang.reflect.Method.invoke(Unknown Source) at
org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:549) at
org.eclipse.equinox.launcher.Main.basicRun(Main.java:504) at
org.eclipse.equinox.launcher.Main.run(Main.java:1236) Glenn...
gsilverman wrote:
Help! I cannot publish a dynamic web application to Geronimo v2.1.2
using Eclipse 3.4. I followed the tutorial, *Web Application for EJB
access*, to the letter and I get the following error when I add the
ejb and web projects to the running Geronimo server in Eclipse:
Publishing to Apache Geronimo v2.1 Server at localhost...has
encountered a problem. Could not publish to servrer. The "details"
page explains this is due to a "java.lang.NullPointerException".
What's going on. Has anyone been able to publish to tutorial app?
------------------------------------------------------------------------
View this message in context: Re: Help! Could not publish to server
error
<http://www.nabble.com/Help%21-Could-not-publish-to-server-error-tp18984957s134p18999799.html>
Sent from the Apache Geronimo - Users mailing list archive
<http://www.nabble.com/Apache-Geronimo---Users-f135.html> at Nabble.com.
--
Thanks,
Tim McConnell