facebook

Can’t deploy using context root?

  1. MyEclipse IDE
  2.  > 
  3. General Development
Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #206998 Reply

    YellowDog
    Member

    When I use the deployment wizard to deploy to Tomcat 5, I’m given a choice as to which project I want to deploy. That’s cool, but there does not seem to be a way to set the context root of the deployed web application (at least using the exploded archive option; haven’t tried a war file). ME does give us the option of specifically naming the context in the project, but it doesn’t seem to want to deploy using that name. Am I missing something?

    #207006 Reply

    Riyad Kalla
    Member

    When you right-click on your project, and go to MyEclipse-Web, the ‘Web Context-root’ you setup here should be where the deployment tool deploys your application. Try double checking this value, hitting OK, then going back to the deployment tool. Also make sure you have an app server correctly configured (as this will be important for the deployment tool to know where to even try and put the files).

    #207013 Reply

    YellowDog
    Member

    When I right-click on my project, and select MyEclipse, I have four choices: Add / Remove Deployments, Add Struts Capabilities, Remove JSP Problem Markers, and Run XDoclet. Add / Remove Deployments takes me to the same wizard as the toolbar icon (the one with the the tooltip that reads Deploy J2EE Project to Server). From there I cannot choose the context root for the web app; it is deployed with the project name as the context root.

    BTW, I’m still experiencing problems when I launch Eclipse. After the screen that announces what workspace Eclipse will be working with, I get an error dialog: “Error. Unable to read workbench state. Workbench UI layout will be reset.” Eclipse hangs at the splash screen at that point, and I must kill the process from the OS. This generally happens the first time I launch for that day.

    Here’s my profile:
    – System Setup ——————————-
    Operating System and version: Win Xp Pro
    Eclipse version: 3.0.0
    Eclipse build id: 200403261517
    Fresh Eclipse install (y/n): Y
    If not, was it upgraded to its current version using the update manager?
    Other installed external plugins: none (I think)
    Number of plugins in the <eclipse>/plugins directory that begin with org.eclipse.pde.*: 8
    MyEclipse version: 3.07.02
    Eclipse JDK version: 1.4.2
    Application Server JDK version: 1.4.2
    Are there any exceptions in the Eclipse log file? yes

    – Message Body ——————————-
    !SESSION May 14, 2004 10:48:26.354 ———————————————
    java.version=1.4.2
    java.vendor=Sun Microsystems Inc.
    BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
    !ENTRY org.eclipse.osgi May 14, 2004 10:48:26.354
    !MESSAGE Bundle reference:file:c:/Eclipse/plugins/org.eclipse.debug.ui_3.0.0/ [23] was not resolved
    !ENTRY org.eclipse.osgi May 14, 2004 10:48:26.354
    !MESSAGE Bundle reference:file:c:/Eclipse/plugins/org.eclipse.jdt.debug_3.0.0/ [32] was not resolved
    !ENTRY org.eclipse.ui 4 4 May 14, 2004 10:48:35.181
    !MESSAGE Could not create action delegate for id: org.eclipse.debug.internal.ui.actions.RunHistoryMenuAction
    !ENTRY org.eclipse.ui 4 4 May 14, 2004 10:48:35.181
    !MESSAGE Internal plug-in action delegate error on creation.
    !STACK 0
    java.lang.NullPointerException
    at org.eclipse.debug.internal.ui.launchConfigurations.LaunchHistory.<init>(LaunchHistory.java:51)
    at org.eclipse.debug.internal.ui.launchConfigurations.LaunchConfigurationManager.loadLaunchHistories(LaunchConfigurationManager.java:618)
    at org.eclipse.debug.internal.ui.launchConfigurations.LaunchConfigurationManager.getLaunchHistory(LaunchConfigurationManager.java:602)
    at org.eclipse.debug.internal.ui.launchConfigurations.LaunchConfigurationManager.getLastLaunch(LaunchConfigurationManager.java:228)
    at org.eclipse.debug.ui.actions.AbstractLaunchHistoryAction.getLastLaunch(AbstractLaunchHistoryAction.java:198)
    at org.eclipse.debug.ui.actions.AbstractLaunchHistoryAction.updateTooltip(AbstractLaunchHistoryAction.java:152)
    at org.eclipse.debug.ui.actions.AbstractLaunchHistoryAction.initialize(AbstractLaunchHistoryAction.java:126)
    at org.eclipse.debug.ui.actions.AbstractLaunchHistoryAction.selectionChanged(AbstractLaunchHistoryAction.java:307)
    at org.eclipse.ui.internal.PluginAction.refreshEnablement(PluginAction.java:223)
    at org.eclipse.ui.internal.PluginAction.createDelegate(PluginAction.java:110)
    at org.eclipse.ui.internal.WWinPluginPulldown.getPulldownDelegate(WWinPluginPulldown.java:75)
    at org.eclipse.ui.internal.WWinPluginPulldown$MenuProxy.getMenu(WWinPluginPulldown.java:35)
    at org.eclipse.jface.action.ActionContributionItem.fill(ActionContributionItem.java:297)
    at org.eclipse.jface.action.SubContributionItem.fill(SubContributionItem.java:58)
    at org.eclipse.jface.action.MenuManager.update(MenuManager.java:603)
    at org.eclipse.jface.action.MenuManager.update(MenuManager.java:525)
    at org.eclipse.jface.action.MenuManager.fill(MenuManager.java:233)
    at org.eclipse.jface.action.SubMenuManager.fill(SubMenuManager.java:123)
    at org.eclipse.jface.action.SubContributionItem.fill(SubContributionItem.java:58)
    at org.eclipse.jface.action.MenuManager.update(MenuManager.java:603)
    at org.eclipse.jface.action.MenuManager.updateAll(MenuManager.java:697)
    at org.eclipse.ui.internal.WorkbenchWindow.updateActionBars(WorkbenchWindow.java:1975)
    at org.eclipse.ui.internal.WorkbenchWindow.updateActionSets(WorkbenchWindow.java:1997)
    at org.eclipse.ui.internal.WorkbenchWindow$6.run(WorkbenchWindow.java:1805)
    at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:84)
    at org.eclipse.ui.internal.WorkbenchWindow.setActivePage(WorkbenchWindow.java:1780)
    at org.eclipse.ui.internal.WorkbenchWindow.restoreState(WorkbenchWindow.java:1367)
    at org.eclipse.ui.internal.Workbench.restoreState(Workbench.java:1300)
    at org.eclipse.ui.internal.Workbench.access$9(Workbench.java:1268)
    at org.eclipse.ui.internal.Workbench$14.run(Workbench.java:1179)
    at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:610)
    at org.eclipse.core.runtime.Platform.run(Platform.java:521)
    at org.eclipse.ui.internal.Workbench.restoreState(Workbench.java:1112)
    at org.eclipse.ui.internal.WorkbenchConfigurer.restoreState(WorkbenchConfigurer.java:176)
    at org.eclipse.ui.application.WorkbenchAdvisor.openWindows(WorkbenchAdvisor.java:613)
    at org.eclipse.ui.internal.Workbench.init(Workbench.java:821)
    at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1513)
    at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:257)
    at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:139)
    at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:90)
    at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:277)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:239)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:117)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at org.eclipse.core.launcher.Main.basicRun(Main.java:267)
    at org.eclipse.core.launcher.Main.run(Main.java:692)
    at org.eclipse.core.launcher.Main.main(Main.java:676)
    !ENTRY org.eclipse.core.runtime 4 2 May 14, 2004 10:48:35.181
    !MESSAGE Problems occurred when invoking code from plug-in: “org.eclipse.core.runtime”.
    !STACK 0
    java.lang.NullPointerException
    at org.eclipse.debug.ui.actions.AbstractLaunchHistoryAction.fillMenu(AbstractLaunchHistoryAction.java:260)
    at org.eclipse.debug.ui.actions.AbstractLaunchHistoryAction.getMenu(AbstractLaunchHistoryAction.java:216)
    at org.eclipse.ui.internal.WWinPluginPulldown$MenuProxy.getMenu(WWinPluginPulldown.java:38)
    at org.eclipse.jface.action.ActionContributionItem.fill(ActionContributionItem.java:297)
    at org.eclipse.jface.action.SubContributionItem.fill(SubContributionItem.java:58)
    at org.eclipse.jface.action.MenuManager.update(MenuManager.java:603)
    at org.eclipse.jface.action.MenuManager.update(MenuManager.java:525)
    at org.eclipse.jface.action.MenuManager.fill(MenuManager.java:233)
    at org.eclipse.jface.action.SubMenuManager.fill(SubMenuManager.java:123)
    at org.eclipse.jface.action.SubContributionItem.fill(SubContributionItem.java:58)
    at org.eclipse.jface.action.MenuManager.update(MenuManager.java:603)
    at org.eclipse.jface.action.MenuManager.updateAll(MenuManager.java:697)
    at org.eclipse.ui.internal.WorkbenchWindow.updateActionBars(WorkbenchWindow.java:1975)
    at org.eclipse.ui.internal.WorkbenchWindow.updateActionSets(WorkbenchWindow.java:1997)
    at org.eclipse.ui.internal.WorkbenchWindow$6.run(WorkbenchWindow.java:1805)
    at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:84)
    at org.eclipse.ui.internal.WorkbenchWindow.setActivePage(WorkbenchWindow.java:1780)
    at org.eclipse.ui.internal.WorkbenchWindow.restoreState(WorkbenchWindow.java:1367)
    at org.eclipse.ui.internal.Workbench.restoreState(Workbench.java:1300)
    at org.eclipse.ui.internal.Workbench.access$9(Workbench.java:1268)
    at org.eclipse.ui.internal.Workbench$14.run(Workbench.java:1179)
    at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:610)
    at org.eclipse.core.runtime.Platform.run(Platform.java:521)
    at org.eclipse.ui.internal.Workbench.restoreState(Workbench.java:1112)
    at org.eclipse.ui.internal.WorkbenchConfigurer.restoreState(WorkbenchConfigurer.java:176)
    at org.eclipse.ui.application.WorkbenchAdvisor.openWindows(WorkbenchAdvisor.java:613)
    at org.eclipse.ui.internal.Workbench.init(Workbench.java:821)
    at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1513)
    at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:257)
    at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:139)
    at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:90)
    at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:277)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:239)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:117)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at org.eclipse.core.launcher.Main.basicRun(Main.java:267)
    at org.eclipse.core.launcher.Main.run(Main.java:692)
    at org.eclipse.core.launcher.Main.main(Main.java:676)
    !ENTRY org.eclipse.ui 4 4 May 14, 2004 10:48:38.805
    !MESSAGE Could not create action delegate for id: org.eclipse.ui.externaltools.ExternalToolMenuDelegateMenu
    !ENTRY org.eclipse.ui 4 4 May 14, 2004 10:48:38.805
    !MESSAGE Internal plug-in action delegate error on creation.
    !STACK 0
    java.lang.NullPointerException
    at org.eclipse.debug.ui.actions.AbstractLaunchHistoryAction.updateTooltip(AbstractLaunchHistoryAction.java:155)
    at org.eclipse.debug.ui.actions.AbstractLaunchHistoryAction.initialize(AbstractLaunchHistoryAction.java:126)
    at org.eclipse.debug.ui.actions.AbstractLaunchHistoryAction.selectionChanged(AbstractLaunchHistoryAction.java:307)
    at org.eclipse.ui.internal.PluginAction.refreshEnablement(PluginAction.java:223)
    at org.eclipse.ui.internal.PluginAction.createDelegate(PluginAction.java:110)
    at org.eclipse.ui.internal.WWinPluginPulldown.getPulldownDelegate(WWinPluginPulldown.java:75)
    at org.eclipse.ui.internal.WWinPluginPulldown$MenuProxy.getMenu(WWinPluginPulldown.java:35)
    at org.eclipse.jface.action.ActionContributionItem.fill(ActionContributionItem.java:297)
    at org.eclipse.jface.action.SubContributionItem.fill(SubContributionItem.java:58)
    at org.eclipse.jface.action.MenuManager.update(MenuManager.java:603)
    at org.eclipse.jface.action.MenuManager.update(MenuManager.java:525)
    at org.eclipse.jface.action.MenuManager.fill(MenuManager.java:233)
    at org.eclipse.jface.action.SubContributionItem.fill(SubContributionItem.java:58)
    at org.eclipse.jface.action.MenuManager.update(MenuManager.java:603)
    at org.eclipse.jface.action.MenuManager.updateAll(MenuManager.java:697)
    at org.eclipse.ui.internal.WorkbenchWindow.updateActionBars(WorkbenchWindow.java:1975)
    at org.eclipse.ui.internal.WorkbenchWindow.updateActionSets(WorkbenchWindow.java:1997)
    at org.eclipse.ui.internal.WorkbenchWindow$6.run(WorkbenchWindow.java:1805)
    at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:84)
    at org.eclipse.ui.internal.WorkbenchWindow.setActivePage(WorkbenchWindow.java:1780)
    at org.eclipse.ui.internal.WorkbenchWindow.busyOpenPage(WorkbenchWindow.java:421)
    at org.eclipse.ui.internal.WorkbenchWindow$5.run(WorkbenchWindow.java:1036)
    at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:84)
    at org.eclipse.ui.internal.WorkbenchWindow.openPage(WorkbenchWindow.java:1033)
    at org.eclipse.ui.internal.Workbench.openFirstTimeWindow(Workbench.java:1075)
    at org.eclipse.ui.internal.WorkbenchConfigurer.openFirstTimeWindow(WorkbenchConfigurer.java:183)
    at org.eclipse.ui.application.WorkbenchAdvisor.openWindows(WorkbenchAdvisor.java:619)
    at org.eclipse.ui.internal.Workbench.init(Workbench.java:821)
    at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1513)
    at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:257)
    at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:139)
    at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:90)
    at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:277)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:239)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:117)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at org.eclipse.core.launcher.Main.basicRun(Main.java:267)
    at org.eclipse.core.launcher.Main.run(Main.java:692)
    at org.eclipse.core.launcher.Main.main(Main.java:676)
    !ENTRY org.eclipse.ui 4 4 May 14, 2004 10:48:38.805
    !MESSAGE Unhandled event loop exception
    !ENTRY org.eclipse.ui 4 0 May 14, 2004 10:48:38.805
    !MESSAGE java.lang.NullPointerException
    !STACK 0
    java.lang.NullPointerException
    at org.eclipse.debug.ui.actions.AbstractLaunchHistoryAction.fillMenu(AbstractLaunchHistoryAction.java:260)
    at org.eclipse.debug.ui.actions.AbstractLaunchToolbarAction.fillMenu(AbstractLaunchToolbarAction.java:49)
    at org.eclipse.debug.ui.actions.AbstractLaunchHistoryAction.getMenu(AbstractLaunchHistoryAction.java:216)
    at org.eclipse.ui.internal.WWinPluginPulldown$MenuProxy.getMenu(WWinPluginPulldown.java:38)
    at org.eclipse.jface.action.ActionContributionItem.fill(ActionContributionItem.java:297)
    at org.eclipse.jface.action.SubContributionItem.fill(SubContributionItem.java:58)
    at org.eclipse.jface.action.MenuManager.update(MenuManager.java:603)
    at org.eclipse.jface.action.MenuManager.update(MenuManager.java:525)
    at org.eclipse.jface.action.MenuManager.fill(MenuManager.java:233)
    at org.eclipse.jface.action.SubContributionItem.fill(SubContributionItem.java:58)
    at org.eclipse.jface.action.MenuManager.update(MenuManager.java:603)
    at org.eclipse.jface.action.MenuManager.updateAll(MenuManager.java:697)
    at org.eclipse.ui.internal.WorkbenchWindow.updateActionBars(WorkbenchWindow.java:1975)
    at org.eclipse.ui.internal.WorkbenchWindow.updateActionSets(WorkbenchWindow.java:1997)
    at org.eclipse.ui.internal.WorkbenchWindow$6.run(WorkbenchWindow.java:1805)
    at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:84)
    at org.eclipse.ui.internal.WorkbenchWindow.setActivePage(WorkbenchWindow.java:1780)
    at org.eclipse.ui.internal.WorkbenchWindow.busyOpenPage(WorkbenchWindow.java:421)
    at org.eclipse.ui.internal.WorkbenchWindow$5.run(WorkbenchWindow.java:1036)
    at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:84)
    at org.eclipse.ui.internal.WorkbenchWindow.openPage(WorkbenchWindow.java:1033)
    at org.eclipse.ui.internal.Workbench.openFirstTimeWindow(Workbench.java:1075)
    at org.eclipse.ui.internal.WorkbenchConfigurer.openFirstTimeWindow(WorkbenchConfigurer.java:183)
    at org.eclipse.ui.application.WorkbenchAdvisor.openWindows(WorkbenchAdvisor.java:619)
    at org.eclipse.ui.internal.Workbench.init(Workbench.java:821)
    at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1513)
    at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:257)
    at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:139)
    at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:90)
    at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:277)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:239)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:117)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at org.eclipse.core.launcher.Main.basicRun(Main.java:267)
    at org.eclipse.core.launcher.Main.run(Main.java:692)
    at org.eclipse.core.launcher.Main.main(Main.java:676)
    !ENTRY org.eclipse.ui 4 4 May 14, 2004 10:48:38.852
    !MESSAGE Could not create action delegate for id: org.eclipse.ui.externaltools.ExternalToolMenuDelegateMenu
    !ENTRY org.eclipse.ui 4 4 May 14, 2004 10:48:38.852
    !MESSAGE Internal plug-in action delegate error on creation.
    !STACK 0
    java.lang.NullPointerException
    at org.eclipse.debug.ui.actions.AbstractLaunchHistoryAction.updateTooltip(AbstractLaunchHistoryAction.java:155)
    at org.eclipse.debug.ui.actions.AbstractLaunchHistoryAction.initialize(AbstractLaunchHistoryAction.java:126)
    at org.eclipse.debug.ui.actions.AbstractLaunchHistoryAction.selectionChanged(AbstractLaunchHistoryAction.java:307)
    at org.eclipse.ui.internal.PluginAction.refreshEnablement(PluginAction.java:223)
    at org.eclipse.ui.internal.PluginAction.createDelegate(PluginAction.java:110)
    at org.eclipse.ui.internal.WWinPluginAction.refreshActionList(WWinPluginAction.java:148)
    at org.eclipse.ui.plugin.AbstractUIPlugin$3.run(AbstractUIPlugin.java:778)
    at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
    at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:106)
    at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:2555)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2260)
    at org.eclipse.swt.widgets.Display.release(Display.java:2309)
    at org.eclipse.swt.graphics.Device.dispose(Device.java:226)
    at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:99)
    at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:277)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:239)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:117)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at org.eclipse.core.launcher.Main.basicRun(Main.java:267)
    at org.eclipse.core.launcher.Main.run(Main.java:692)
    at org.eclipse.core.launcher.Main.main(Main.java:676)
    !ENTRY org.eclipse.ui 4 4 May 14, 2004 10:48:38.852
    !MESSAGE Could not create action delegate for id: org.eclipse.ui.externaltools.ExternalToolMenuDelegateToolbar
    !ENTRY org.eclipse.ui 4 4 May 14, 2004 10:48:38.868
    !MESSAGE Internal plug-in action delegate error on creation.
    !STACK 0
    java.lang.NullPointerException
    at org.eclipse.debug.ui.actions.AbstractLaunchHistoryAction.updateTooltip(AbstractLaunchHistoryAction.java:155)
    at org.eclipse.debug.ui.actions.AbstractLaunchHistoryAction.initialize(AbstractLaunchHistoryAction.java:126)
    at org.eclipse.debug.ui.actions.AbstractLaunchHistoryAction.selectionChanged(AbstractLaunchHistoryAction.java:307)
    at org.eclipse.ui.internal.PluginAction.refreshEnablement(PluginAction.java:223)
    at org.eclipse.ui.internal.PluginAction.createDelegate(PluginAction.java:110)
    at org.eclipse.ui.internal.WWinPluginAction.refreshActionList(WWinPluginAction.java:148)
    at org.eclipse.ui.plugin.AbstractUIPlugin$3.run(AbstractUIPlugin.java:778)
    at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
    at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:106)
    at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:2555)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2260)
    at org.eclipse.swt.widgets.Display.release(Display.java:2309)
    at org.eclipse.swt.graphics.Device.dispose(Device.java:226)
    at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:99)
    at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:277)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:239)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:117)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at org.eclipse.core.launcher.Main.basicRun(Main.java:267)
    at org.eclipse.core.launcher.Main.run(Main.java:692)
    at org.eclipse.core.launcher.Main.main(Main.java:676)
    !ENTRY org.eclipse.ui 4 4 May 14, 2004 10:48:38.868
    !MESSAGE Could not create action delegate for id: org.eclipse.ui.externaltools.ExternalToolMenuDelegateToolbar
    !ENTRY org.eclipse.ui 4 4 May 14, 2004 10:48:38.868
    !MESSAGE Internal plug-in action delegate error on creation.
    !STACK 0
    java.lang.NullPointerException
    at org.eclipse.debug.ui.actions.AbstractLaunchHistoryAction.updateTooltip(AbstractLaunchHistoryAction.java:155)
    at org.eclipse.debug.ui.actions.AbstractLaunchHistoryAction.initialize(AbstractLaunchHistoryAction.java:126)
    at org.eclipse.debug.ui.actions.AbstractLaunchHistoryAction.selectionChanged(AbstractLaunchHistoryAction.java:307)
    at org.eclipse.ui.internal.PluginAction.refreshEnablement(PluginAction.java:223)
    at org.eclipse.ui.internal.PluginAction.createDelegate(PluginAction.java:110)
    at org.eclipse.ui.internal.WWinPluginAction.refreshActionList(WWinPluginAction.java:148)
    at org.eclipse.ui.plugin.AbstractUIPlugin$3.run(AbstractUIPlugin.java:778)
    at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
    at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:106)
    at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:2555)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2260)
    at org.eclipse.swt.widgets.Display.release(Display.java:2309)
    at org.eclipse.swt.graphics.Device.dispose(Device.java:226)
    at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:99)
    at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:277)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:239)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:117)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at org.eclipse.core.launcher.Main.basicRun(Main.java:267)
    at org.eclipse.core.launcher.Main.run(Main.java:692)
    at org.eclipse.core.launcher.Main.main(Main.java:676)
    !SESSION May 14, 2004 10:49:46.811 ———————————————
    java.version=1.4.2
    java.vendor=Sun Microsystems Inc.
    BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
    !ENTRY org.eclipse.osgi May 14, 2004 10:49:46.811
    !MESSAGE Bundle reference:file:c:/Eclipse/plugins/org.eclipse.debug.ui_3.0.0/ [23] was not resolved
    !ENTRY org.eclipse.osgi May 14, 2004 10:49:46.811
    !MESSAGE Bundle reference:file:c:/Eclipse/plugins/org.eclipse.jdt.debug_3.0.0/ [32] was not resolved
    !SESSION May 14, 2004 11:01:16.731 ———————————————
    java.version=1.4.2
    java.vendor=Sun Microsystems Inc.
    BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
    !ENTRY org.eclipse.osgi May 14, 2004 11:01:16.731
    !MESSAGE Bundle reference:file:c:/Eclipse/plugins/org.eclipse.debug.ui_3.0.0/ [23] was not resolved
    !ENTRY org.eclipse.osgi May 14, 2004 11:01:16.731
    !MESSAGE Bundle reference:file:c:/Eclipse/plugins/org.eclipse.jdt.debug_3.0.0/ [32] was not resolved

    #207017 Reply

    Riyad Kalla
    Member

    When I right-click on my project, and select MyEclipse, I have four choices

    woops! I forgot a step in there… right click on your project root, go down to Properties, click it, then select MyEclipse-Web

    Error. Unable to read workbench state. Workbench UI layout will be reset.

    From this exception, at org.eclipse.debug.internal.ui.launchConfigurations.LaunchHistory it suggest that you have a stray launch config that is no longer valid (maybe the project got deleted or renamed). Usually this error isn’t critical, its just letting you know that something changes ‘behind the scenes’ on the workbench and it can’t completely restore its own state. You can try and clear our all your launch configs and see if this fixes the problem (e.g. Click the down arrow v next to the Application Run button (NOT the MyEclipse app server run, but the Eclipse APplication Run button), and go down to Run…, then from here delete all of your Run configurations (assuming its not critical that you keep them as-is).

    #207024 Reply

    YellowDog
    Member

    … right click on your project root, go down to Properties, click it, then select MyEclipse-Web.

    OK, found it. I changed the context root there and then I used the deployment wizard to first remove the old deployment and deploy the new one. When I click OK, I got a message complaining that ME wants the Workbench Preference “Perform build automatically on resource modification” to be set. I’ve seen this a number of times when doing remove / redeploy. The thing is, this option is always set and I never change it. Can it be related to the UI state error?

    You can try and clear our all your launch configs and see if this fixes the problem …

    I don’t have any previous launch configurations. This is a new install of both Eclipse and ME. Is there a registry entry or some lingering file outside of ME’s install path? I’ve tried removing and re-installing several times to cure this, but as yet to no avail. I wonder if I re-installed Windows … not that that’s an option. 😕

    #207026 Reply

    Riyad Kalla
    Member

    I’ve seen this a number of times when doing remove / redeploy. The thing is, this option is always set and I never change it. Can it be related to the UI state error?

    That is odd, have you tried unchecking that option, hitting “Apply” then checking it again and hitting “Apply”? There are known issues with the 3.0 Milestone builds w.r.t. to loosing preference settings, I jsut haven’t heard of it being so consistent like this before.

    I don’t have any previous launch configurations. This is a new install of both Eclipse and ME. Is there a registry entry or some lingering file outside of ME’s install path?

    Then what I would suggest is to shut down Eclipse, and find your workspace directory and either move it (if you want to keep the projects in it) or erase it (if you don’t mind a killing off whatever you were working on) then relaunch Eclipse. You will need to setup your preferences again, but this will clear out any and all settings (correct or otherwise) that may be negatively effecting the workbench’s ability to function.

    If you need to be using Eclipse in a production environment, I would highly suggest Eclipse 2.1.3 and MyEclipse 2.7.1 as a very stable solution until 3.0 atleast gets to GA release (few months off).

    #207479 Reply

    Riyad Kalla
    Member

    YellowDog,
    Were you able to get everything working?

Viewing 7 posts - 1 through 7 (of 7 total)
Reply To: Can’t deploy using context root?

You must be logged in to post in the forum log in