IWAB0213E Error in starting server [message #89383] |
Fri, 01 April 2005 03:23  |
Eclipse User |
|
|
|
Hi All
I hope someone can help me
Nearly pulling my hair out I've managed to install WTP.
I'm going through some tutorials to create a web service using the wizard,
but i get an error and i've no idea how to fix it
After right-clicking a java file, select Other->Web Services->Web Service,
click next to start the wizard, when I click finish i get the folloiwng
error:
IWAB0213E Error in starting server
I click more details and get this:
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-config. The
configuration may be corrupt or incomplete.
at
org.eclipse.jst.server.tomcat.core.internal.Tomcat50Configur ation.load(Tomcat50Configuration.java:257)
at
org.eclipse.jst.server.tomcat.core.internal.TomcatServer.get TomcatConfiguration(TomcatServer.java:81)
at
org.eclipse.jst.server.tomcat.core.internal.TomcatServer.mod ifyModules(TomcatServer.java:341)
at
org.eclipse.wst.server.core.internal.ServerWorkingCopy.modif yModules(ServerWorkingCopy.java:331)
at
org.eclipse.wst.server.core.ServerUtil.modifyModules(ServerU til.java:430)
at
org.eclipse.jst.ws.internal.common.ServerUtils.modifyModules (ServerUtils.java:129)
at
org.eclipse.jst.ws.internal.consumption.command.common.Creat eWebProjectCommand.execute(CreateWebProjectCommand.java:161)
at
org.eclipse.jst.ws.internal.consumption.command.common.Creat eServiceProjectCommand.execute(CreateServiceProjectCommand.j ava:138)
at
org.eclipse.wst.command.env.core.fragment.CommandFragmentEng ine.runCommand(CommandFragmentEngine.java:322)
at
org.eclipse.wst.command.env.core.fragment.CommandFragmentEng ine.visitTop(CommandFragmentEngine.java:288)
at
org.eclipse.wst.command.env.core.fragment.CommandFragmentEng ine.moveForwardToNextStop(CommandFragmentEngine.java:208)
at
org.eclipse.wst.command.env.ui.widgets.SimpleCommandEngineMa nager$4.run(SimpleCommandEngineManager.java:206)
at
org.eclipse.jface.operation.ModalContext.runInCurrentThread( ModalContext.java:344)
at org.eclipse.jface.operation.ModalContext.run(ModalContext.ja va:289)
at org.eclipse.jface.wizard.WizardDialog.run(WizardDialog.java: 824)
at
org.eclipse.wst.command.env.ui.widgets.SimpleCommandEngineMa nager.runForwardToNextStop(SimpleCommandEngineManager.java:1 75)
at
org.eclipse.wst.command.internal.env.ui.widgets.WizardPageMa nager.runForwardToNextStop(WizardPageManager.java:69)
at
org.eclipse.wst.command.internal.env.ui.widgets.WizardPageMa nager.performFinish(WizardPageManager.java:157)
at
org.eclipse.wst.command.env.ui.widgets.DynamicWizard.perform Finish(DynamicWizard.java:338)
at
org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDi alog.java:670)
at
org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDi alog.java:342)
at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.jav a:543)
at
org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListe ner.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.ja va: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.j ava:173)
at org.eclipse.jface.action.Action.runWithEvent(Action.java:100 3)
at
org.eclipse.jface.action.ActionContributionItem.handleWidget Selection(ActionContributionItem.java:557)
at
org.eclipse.jface.action.ActionContributionItem.access$2(Act ionContributionItem.java:507)
at
org.eclipse.jface.action.ActionContributionItem$6.handleEven t(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.ja va:2908)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :2541)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:1612)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1578)
at
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:293)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:144)
at
org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplicatio n.java:102)
at
org.eclipse.core.internal.runtime.PlatformActivator$1.run(Pl atformActivator.java:228)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:333)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:150)
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.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)
Can someone lead me in the right direction of how to fix this and what i
have done wrong. I'm running eclipse 3.1, tmcat 5.0, and jdk 1.4
Many thanks for your help
|
|
|
Re: IWAB0213E Error in starting server [message #89479 is a reply to message #89383] |
Fri, 01 April 2005 10:07   |
Eclipse User |
|
|
|
Assuming you are using WTP M3, the complaint that comes from
Tomcat50Configuration.java:257 is that the catalina.policy file is
missing from the Tomcat configuration in the Servers project. It is
expected to exist, even if you aren't running with the security option.
Cheers,
Larry
plork123 wrote:
>
>
> Hi All
>
> I hope someone can help me
>
> Nearly pulling my hair out I've managed to install WTP.
>
> I'm going through some tutorials to create a web service using the
> wizard, but i get an error and i've no idea how to fix it
>
> After right-clicking a java file, select Other->Web Services->Web
> Service, click next to start the wizard, when I click finish i get the
> folloiwng error:
>
> IWAB0213E Error in starting server
>
>
> I click more details and get this:
>
>
> 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-config. The
> configuration may be corrupt or incomplete.
> at
> org.eclipse.jst.server.tomcat.core.internal.Tomcat50Configur ation.load(Tomcat50Configuration.java:257)
>
> at
> org.eclipse.jst.server.tomcat.core.internal.TomcatServer.get TomcatConfiguration(TomcatServer.java:81)
>
> at
> org.eclipse.jst.server.tomcat.core.internal.TomcatServer.mod ifyModules(TomcatServer.java:341)
>
> at
> org.eclipse.wst.server.core.internal.ServerWorkingCopy.modif yModules(ServerWorkingCopy.java:331)
>
> at
> org.eclipse.wst.server.core.ServerUtil.modifyModules(ServerU til.java:430)
> at
> org.eclipse.jst.ws.internal.common.ServerUtils.modifyModules (ServerUtils.java:129)
>
> at
> org.eclipse.jst.ws.internal.consumption.command.common.Creat eWebProjectCommand.execute(CreateWebProjectCommand.java:161)
>
> at
> org.eclipse.jst.ws.internal.consumption.command.common.Creat eServiceProjectCommand.execute(CreateServiceProjectCommand.j ava:138)
>
> at
> org.eclipse.wst.command.env.core.fragment.CommandFragmentEng ine.runCommand(CommandFragmentEngine.java:322)
>
> at
> org.eclipse.wst.command.env.core.fragment.CommandFragmentEng ine.visitTop(CommandFragmentEngine.java:288)
>
> at
> org.eclipse.wst.command.env.core.fragment.CommandFragmentEng ine.moveForwardToNextStop(CommandFragmentEngine.java:208)
>
> at
> org.eclipse.wst.command.env.ui.widgets.SimpleCommandEngineMa nager$4.run(SimpleCommandEngineManager.java:206)
>
> at
> org.eclipse.jface.operation.ModalContext.runInCurrentThread( ModalContext.java:344)
>
> at org.eclipse.jface.operation.ModalContext.run(ModalContext.ja va:289)
> at org.eclipse.jface.wizard.WizardDialog.run(WizardDialog.java: 824)
> at
> org.eclipse.wst.command.env.ui.widgets.SimpleCommandEngineMa nager.runForwardToNextStop(SimpleCommandEngineManager.java:1 75)
>
> at
> org.eclipse.wst.command.internal.env.ui.widgets.WizardPageMa nager.runForwardToNextStop(WizardPageManager.java:69)
>
> at
> org.eclipse.wst.command.internal.env.ui.widgets.WizardPageMa nager.performFinish(WizardPageManager.java:157)
>
> at
> org.eclipse.wst.command.env.ui.widgets.DynamicWizard.perform Finish(DynamicWizard.java:338)
>
> at
> org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDi alog.java:670)
> at
> org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDi alog.java:342)
> at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.jav a:543)
> at
> org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListe ner.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.ja va: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.j ava:173)
> at org.eclipse.jface.action.Action.runWithEvent(Action.java:100 3)
> at
> org.eclipse.jface.action.ActionContributionItem.handleWidget Selection(ActionContributionItem.java:557)
>
> at
> org.eclipse.jface.action.ActionContributionItem.access$2(Act ionContributionItem.java:507)
>
> at
> org.eclipse.jface.action.ActionContributionItem$6.handleEven t(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.ja va:2908)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :2541)
> at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:1612)
> at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1578)
> at
> org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:293)
> at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:144)
> at
> org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplicatio n.java:102)
> at
> org.eclipse.core.internal.runtime.PlatformActivator$1.run(Pl atformActivator.java:228)
>
> at
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:333)
>
> at
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:150)
>
> 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.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)
>
>
>
> Can someone lead me in the right direction of how to fix this and what i
> have done wrong. I'm running eclipse 3.1, tmcat 5.0, and jdk 1.4
>
> Many thanks for your help
>
>
>
>
|
|
|
|
Re: IWAB0213E Error in starting server [message #90103 is a reply to message #89984] |
Mon, 04 April 2005 10:42  |
Eclipse User |
|
|
|
I'm not able to duplicate your problem, so I'm not sure what went wrong.
Since this server definition appears to be corrupt, in the Servers
view, right click the server and select Delete. Then Right click in the
Servers view again and select New -> Server and try recreating it.
After it is created, make sure there is a catalina.policy file in the
associated subdirectory of the Servers project along with server.xml,
tomcat-users.xml, and web.xml files. If not, make sure they all exist
in the Tomcat "conf" directory of your Tomcat installation.
If all are found there, then check the Eclipse "<workspace
dir>\.metadata\.log file to see if there are any problems reported that
might explain why one or more of the files didn't appear under the
associated subdirectory of the Servers project.
Cheers,
Larry
plork123 wrote:
>
>
> Thanks Larry
>
> Because I'm new to this I don't really understand what I need to do to
> ix this
>
> Please can you provide detials of what I need to do
>
> Thanks in advace
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.09014 seconds