Return-Path: Delivered-To: apmail-geronimo-user-archive@www.apache.org Received: (qmail 13842 invoked from network); 15 Aug 2008 15:48:36 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 15 Aug 2008 15:48:36 -0000 Received: (qmail 15003 invoked by uid 500); 15 Aug 2008 15:48:32 -0000 Delivered-To: apmail-geronimo-user-archive@geronimo.apache.org Received: (qmail 14983 invoked by uid 500); 15 Aug 2008 15:48:32 -0000 Mailing-List: contact user-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: user@geronimo.apache.org List-Id: Delivered-To: mailing list user@geronimo.apache.org Received: (qmail 14972 invoked by uid 99); 15 Aug 2008 15:48:32 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 15 Aug 2008 08:48:32 -0700 X-ASF-Spam-Status: No, hits=0.2 required=10.0 tests=SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of tim.mcconne@gmail.com designates 209.85.217.17 as permitted sender) Received: from [209.85.217.17] (HELO mail-gx0-f17.google.com) (209.85.217.17) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 15 Aug 2008 15:47:34 +0000 Received: by gxk10 with SMTP id 10so3648959gxk.19 for ; Fri, 15 Aug 2008 08:48:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=LID0LgamyMRI4NXA1z/18/4dxsCUQQXFqGF0N/FIsI0=; b=iZFT1eRFXEVOZdxscXEaACljJHwKL5f7ZgEevB0SpBIvpJCJ4rEpbSW3smzePbYyYH NTqqqLrYaKVSJKjgBFe4Op9NqODROD/fVgvyZ1sel+Mf+buSFFnrNtsNNOHRhFNN0boG 2IzbPluxoYQPhRwf+CEbIzU3MfuG+NJad6+EY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; b=Vlh25IFHkz3EosUQE7+hnjqG07VL4AprdZhsEXiXL9TvfF9Z46jnQuohVLVcamWbly otnN7wOIIImwOTw+dNhNmY7BIdQ8VxS8w/wiSNiTDe/RSiOHO6zESYH1gpd4a52HsYhi oscCPcpGLy7on5iOelTqylWdocB0TtfIpKg+M= Received: by 10.150.197.8 with SMTP id u8mr4106087ybf.237.1218815282085; Fri, 15 Aug 2008 08:48:02 -0700 (PDT) Received: from ?9.51.245.56? ( [32.97.110.142]) by mx.google.com with ESMTPS id p27sm691195qbp.16.2008.08.15.08.48.00 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 15 Aug 2008 08:48:01 -0700 (PDT) Message-ID: <48A5A5A5.9020706@gmail.com> Date: Fri, 15 Aug 2008 11:49:57 -0400 From: Tim McConnell User-Agent: Thunderbird 2.0.0.16 (Windows/20080708) MIME-Version: 1.0 To: user@geronimo.apache.org Subject: Re: Help! Could not publish to server error References: <18984957.post@talk.nabble.com> <18999799.post@talk.nabble.com> In-Reply-To: <18999799.post@talk.nabble.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org 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 > > Sent from the Apache Geronimo - Users mailing list archive > at Nabble.com. -- Thanks, Tim McConnell