[ 
https://issues.apache.org/jira/browse/GERONIMODEVTOOLS-238?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ted Kirby updated GERONIMODEVTOOLS-238:
---------------------------------------

    Attachment: GD238.patch

It looks like the v1.1 server adapter is a pre-req for the v2.0 server adapter. 
 If I install the v1.1 server adapter with or in addition to the v2.0 server 
adapter, then I get both, and I can choose from v1.1 or v2.0 servers.

It thus seems that org.apache.geronimo.v20.feature should explicitly depend on 
org.apache.geronimo.v11.feature.  I have attached a patch that retifies this 
situation.

When using the Eclipse Update Manager, it would be nice if when you clicked 
v2.0, the boxes for v1.1 and core would also be checked.  That does not happen 
with this patch, but it does download them.

> Server not found after "Download additional server adapters"
> ------------------------------------------------------------
>
>                 Key: GERONIMODEVTOOLS-238
>                 URL: 
> https://issues.apache.org/jira/browse/GERONIMODEVTOOLS-238
>             Project: Geronimo-Devtools
>          Issue Type: Bug
>    Affects Versions: 2.0.0
>            Reporter: Ted Kirby
>            Priority: Blocker
>         Attachments: GD238.patch
>
>
> Starting with no geronimo eclipse plugin artifacts installed in my ecplise 
> environment with all the pre-reqs, I define a new server, then click the 
> "Download additional server adatpers" link, and install the Geronimo 2.0 
> Server Adapter.   eclipse restarts, but when I go to define a new server, 
> Geronimo v2.0 is not in the list of known servers.  I've tried this with the 
> new WTP2.0.1 all in one package, as well as WTP201 RC1 and RC2 versions.  
> This used to work on the RC1 and RC2 versions.  I am not sure what is going 
> on here.
> When I open the Eclipse Error Log view, I get this error:
> eclipse.buildId=M20070905-1045
> java.version=1.5.0_11
> java.vendor=Sun Microsystems Inc.
> BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
> Command-line arguments:  -os win32 -ws win32 -arch x86
> Error
> Tue Oct 09 10:08:02 EDT 2007
> Error calling delegate setDefaults() ServerWorkingCopy 10_9_07_10_08_AM0
> java.lang.NullPointerException
> at 
> org.eclipse.jst.server.generic.core.internal.GenericServer.getServerDefinition(GenericServer.java:239)
> at 
> org.eclipse.jst.server.generic.core.internal.GenericServer.setDefaults(GenericServer.java:324)
> at 
> org.eclipse.wst.server.core.internal.ServerWorkingCopy.setDefaults(ServerWorkingCopy.java:608)
> at 
> org.eclipse.wst.server.core.internal.ServerType.createServer(ServerType.java:195)
> at 
> org.eclipse.wst.server.ui.internal.wizard.page.ServerCreationCache.getServer(ServerCreationCache.java:61)
> at 
> org.eclipse.wst.server.ui.internal.wizard.page.NewManualServerComposite.loadServerImpl(NewManualServerComposite.java:214)
> at 
> org.eclipse.wst.server.ui.internal.wizard.page.NewManualServerComposite.handleTypeSelection(NewManualServerComposite.java:383)
> at 
> org.eclipse.wst.server.ui.internal.wizard.page.NewManualServerComposite$1.serverTypeSelected(NewManualServerComposite.java:123)
> at 
> org.eclipse.wst.server.ui.internal.viewers.ServerTypeComposite$2.selectionChanged(ServerTypeComposite.java:85)
> at org.eclipse.jface.viewers.Viewer$2.run(Viewer.java:162)
> at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
> at org.eclipse.core.runtime.Platform.run(Platform.java:857)
> at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:46)
> at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:199)
> at org.eclipse.jface.viewers.Viewer.fireSelectionChanged(Viewer.java:160)
> at 
> org.eclipse.jface.viewers.StructuredViewer.updateSelection(StructuredViewer.java:2047)
> at 
> org.eclipse.jface.viewers.StructuredViewer.setSelection(StructuredViewer.java:1641)
> at org.eclipse.jface.viewers.TreeViewer.setSelection(TreeViewer.java:1091)
> at 
> org.eclipse.wst.server.ui.internal.viewers.ServerTypeComposite.setVisible(ServerTypeComposite.java:97)
> at 
> org.eclipse.wst.server.ui.internal.wizard.page.NewManualServerComposite.setVisible(NewManualServerComposite.java:407)
> at 
> org.eclipse.wst.server.ui.internal.wizard.page.NewServerComposite.createControl(NewServerComposite.java:233)
> at 
> org.eclipse.wst.server.ui.internal.wizard.page.NewServerComposite.<init>(NewServerComposite.java:121)
> at 
> org.eclipse.wst.server.ui.internal.wizard.fragment.NewServerWizardFragment.createComposite(NewServerWizardFragment.java:74)
> at 
> org.eclipse.wst.server.ui.internal.wizard.TaskWizardPage.createControl(TaskWizardPage.java:43)
> at 
> org.eclipse.wst.server.ui.internal.wizard.TaskWizard.createPageControls(TaskWizard.java:396)
> at 
> org.eclipse.jface.wizard.WizardDialog.createPageControls(WizardDialog.java:669)
> at org.eclipse.jface.wizard.WizardDialog.createContents(WizardDialog.java:543)
> at org.eclipse.jface.window.Window.create(Window.java:426)
> at org.eclipse.jface.dialogs.Dialog.create(Dialog.java:1081)
> at org.eclipse.jface.window.Window.open(Window.java:785)
> at 
> org.eclipse.wst.server.ui.internal.actions.LaunchWizardAction.run(LaunchWizardAction.java:57)
> at org.eclipse.jface.action.Action.runWithEvent(Action.java:498)
> at 
> org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:546)
> at 
> org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:490)
> at 
> org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:402)
> at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:938)
> at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3682)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3293)
> at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2389)
> at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2353)
> at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2219)
> at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:466)
> at 
> org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:289)
> at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:461)
> at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
> at 
> org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:106)
> at 
> org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:169)
> at 
> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:106)
> at 
> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:76)
> at 
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:363)
> at 
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:176)
> 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:508)
> at org.eclipse.equinox.launcher.Main.basicRun(Main.java:447)
> at org.eclipse.equinox.launcher.Main.run(Main.java:1173)
> in all three cases.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to