I am attempting to run through the two very basic tutorials for creating a web
service with Eclipse and getting an error when it tries to start up Tomcat. Here is a tutorial I am trying to
run.
http://eclipse.org/webtools/index.html
When I get to step 8 an error is thrown: IWAB0213 Error in starting the server...the
full details are at the bottom of this post.
I am running Eclipse 3.1 with the WTP. I installed Tomcat 5.5, the latest
release. My machine has JDK 1.5, 1.4 and 1.3 installed (but Eclipse only
recognizes 1.3 and 1.4 in it's property sheets ).
Can anyone recommend how to diagnose or fix this problem?
---full error message-----
IWAB0213E Error in
starting server.
org.eclipse.core.runtime.CoreException[0]: org.eclipse.core.runtime.CoreException:
Could not load the Tomcat server configuration at \Servers\Tomcat v5.0 Server @
localhost (2)-config. The
configuration may be corrupt or incomplete.
at org.eclipse.jst.server.tomcat.core.internal.Tomcat50Configuration.load(Tomcat50Configuration.java:257)
at
org.eclipse.jst.server.tomcat.core.internal.TomcatServer.getTomcatConfiguration(TomcatServer.java:81)
at org.eclipse.jst.server.tomcat.core.internal.TomcatServer.saveConfiguration(TomcatServer.java:115)
at org.eclipse.wst.server.core.internal.ServerWorkingCopy.save(ServerWorkingCopy.java:243)
at org.eclipse.wst.server.core.internal.ServerWorkingCopy.saveAll(ServerWorkingCopy.java:255)
at org.eclipse.jst.ws.internal.common.ServerUtils.createServer(ServerUtils.java:211)
at
org.eclipse.jst.ws.internal.consumption.command.common.ServerDeployableConfigurationCommand.execute(ServerDeployableConfigurationCommand.java:116)
at org.eclipse.wst.command.env.core.fragment.CommandFragmentEngine.runCommand(CommandFragmentEngine.java:322)
at
org.eclipse.wst.command.env.core.fragment.CommandFragmentEngine.visitTop(CommandFragmentEngine.java:288)
at org.eclipse.wst.command.env.core.fragment.CommandFragmentEngine.moveForwardToNextStop(CommandFragmentEngine.java:208)
at
org.eclipse.wst.command.env.ui.widgets.SimpleCommandEngineManager$4.run(SimpleCommandEngineManager.java:206)
at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:344)
at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:289)
at org.eclipse.jface.wizard.WizardDialog.run(WizardDialog.java:824)
at
org.eclipse.wst.command.env.ui.widgets.SimpleCommandEngineManager.runForwardToNextStop(SimpleCommandEngineManager.java:175)
at
org.eclipse.wst.command.internal.env.ui.widgets.WizardPageManager.runForwardToNextStop(WizardPageManager.java:69)
at
org.eclipse.wst.command.internal.env.ui.widgets.WizardPageManager.getNextPage(WizardPageManager.java:91)
at
org.eclipse.wst.command.internal.env.ui.widgets.SimpleWizardPage.getNextPage(SimpleWizardPage.java:123)
at org.eclipse.jface.wizard.WizardDialog.nextPressed(WizardDialog.java:741)
at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:338)
at
org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:543)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:89)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:82)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:842)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2908)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2541)
at org.eclipse.jface.window.Window.runEventLoop(Window.java:718)
at org.eclipse.jface.window.Window.open(Window.java:696)
at org.eclipse.ui.actions.NewWizardAction.run(NewWizardAction.java:173)
at org.eclipse.jface.action.Action.runWithEvent(Action.java:1003)
at
org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:557)
at
org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:507)
at org.eclipse.jface.action.ActionContributionItem$6.handleEvent(ActionContributionItem.java:421)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:82)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:842)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2908)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2541)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1612)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1578)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:293)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:144)
at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:102)
at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:228)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:333)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:150)
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.invokeFramework(Main.java:268)
at org.eclipse.core.launcher.Main.basicRun(Main.java:260)
at org.eclipse.core.launcher.Main.run(Main.java:887)
at org.eclipse.core.launcher.Main.main(Main.java:871)