Tomcat 4.1 fails when deploying web service [message #84802] |
Fri, 18 March 2005 08:56 |
Eclipse User |
|
|
|
Originally posted by: kthuno.gmail.com
Whenever I try doing a web service as described in the tutorials I get a
Tomcat error:
<code>
IWAB0213E Error in starting server.
org.eclipse.core.runtime.CoreException: Server Tomcat v4.1 Server @
localhost failed to start.
at
org.eclipse.wst.server.core.internal.Server.synchronousStart (Server.java:1484)
at
org.eclipse.jst.ws.internal.consumption.command.common.Abstr actStartServer.startProject(AbstractStartServer.java:110)
at
org.eclipse.jst.ws.internal.consumption.command.common.Abstr actStartServer.StartServer(AbstractStartServer.java:81)
at
org.eclipse.jst.ws.internal.consumption.command.common.Start ProjectCommand.execute(StartProjectCommand.java:106)
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.getNextPage(WizardPageManager.java:91)
at
org.eclipse.wst.command.internal.env.ui.widgets.SimpleWizard Page.getNextPage(SimpleWizardPage.java:123)
at
org.eclipse.jface.wizard.WizardDialog.nextPressed(WizardDial og.java:741)
...
</code>
Looking at the PDE runtime error log I have this:
<code>
Problems occurred when invoking code from plug-in: "org.eclipse.jface".
STACKTRACE ->
java.lang.NullPointerException
at
org.eclipse.jst.server.tomcat.core.internal.TomcatRuntimeTar getHandler.getClasspathContainerLabel(TomcatRuntimeTargetHan dler.java:47)
at
org.eclipse.jst.server.core.internal.RuntimeClasspathContain er.getDescription(RuntimeClasspathContainer.java:56)
at
org.eclipse.jdt.internal.ui.packageview.ClassPathContainer.g etLabel(ClassPathContainer.java:163)
at
org.eclipse.jdt.ui.JavaElementLabels.getTextLabel(JavaElemen tLabels.java:333)
at
org.eclipse.jdt.internal.ui.viewsupport.JavaUILabelProvider. getText(JavaUILabelProvider.java:161)
at
org.eclipse.jdt.internal.ui.packageview.PackageExplorerLabel Provider.getText(PackageExplorerLabelProvider.java:46)
at
org.eclipse.jface.viewers.DecoratingLabelProvider.getText(De coratingLabelProvider.java:118)
at
org.eclipse.jface.viewers.DecoratingLabelProvider.updateLabe l(DecoratingLabelProvider.java:208)
at
org.eclipse.jface.viewers.StructuredViewer.buildLabel(Struct uredViewer.java:1712)
at org.eclipse.jface.viewers.TreeViewer.doUpdateItem(TreeViewer .java:206)
at
org.eclipse.jface.viewers.AbstractTreeViewer$UpdateItemSafeR unnable.run(AbstractTreeViewer.java:86)
at
org.eclipse.core.internal.runtime.InternalPlatform.run(Inter nalPlatform.java:1015)
at org.eclipse.core.runtime.Platform.run(Platform.java:757)
at
org.eclipse.jface.viewers.AbstractTreeViewer.doUpdateItem(Ab stractTreeViewer.java:490)
at
org.eclipse.jface.viewers.StructuredViewer$UpdateItemSafeRun nable.run(StructuredViewer.java:352)
at
org.eclipse.core.internal.runtime.InternalPlatform.run(Inter nalPlatform.java:1015)
...
Internal error logged from JDI Debug:
STACKTRACE ->
org.eclipse.jdi.TimeoutException: Timeout occurred while waiting for
packet 682
at
org.eclipse.jdi.internal.connect.PacketReceiveManager.getRep ly(PacketReceiveManager.java:163)
at
org.eclipse.jdi.internal.connect.PacketReceiveManager.getRep ly(PacketReceiveManager.java:172)
at org.eclipse.jdi.internal.MirrorImpl.requestVM(MirrorImpl.jav a:174)
at org.eclipse.jdi.internal.MirrorImpl.requestVM(MirrorImpl.jav a:192)
at org.eclipse.jdi.internal.MirrorImpl.requestVM(MirrorImpl.jav a:207)
at
org.eclipse.jdi.internal.ThreadReferenceImpl.threadGroup(Thr eadReferenceImpl.java:454)
at
org.eclipse.jdt.internal.debug.core.model.JDIThread.getUnder lyingThreadGroup(JDIThread.java:1564)
at
org.eclipse.jdt.internal.debug.core.model.JDIThread.determin eIfSystemThread(JDIThread.java:365)
at
org.eclipse.jdt.internal.debug.core.model.JDIThread.initiali ze(JDIThread.java:221)
at
org.eclipse.jdt.internal.debug.core.model.JDIThread.<init>(JDIThread.java:204)
at
org.eclipse.jdt.internal.debug.core.model.JDIDebugTarget.cre ateThread(JDIDebugTarget.java:443)
at
org.eclipse.jdt.internal.debug.core.model.JDIDebugTarget$Thr eadStartHandler.handleEvent(JDIDebugTarget.java:1750)
at
org.eclipse.jdt.internal.debug.core.EventDispatcher.dispatch (EventDispatcher.java:137)
at
org.eclipse.jdt.internal.debug.core.EventDispatcher.run(Even tDispatcher.java:221)
at java.lang.Thread.run(Thread.java:595)
</code>
Can anyone make any sense of this because I'm lost.
Thanks in advance,
Kasper
|
|
|
Re: Tomcat 4.1 fails when deploying web service [message #84819 is a reply to message #84802] |
Fri, 18 March 2005 08:59 |
Eclipse User |
|
|
|
Originally posted by: kthuno.gmail.com
Forgot to add this output from console:
18-03-2005 09:47:24 org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on http-8080
Starting service Tomcat-Standalone
Apache Tomcat/4.1.31
Catalina.start: LifecycleException: Context startup failed due to
previous errors
LifecycleException: Context startup failed due to previous errors
at
org.apache.catalina.core.StandardContext.start(StandardConte xt.java:3578)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.j ava:1141)
at org.apache.catalina.core.StandardHost.start(StandardHost.jav a:707)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.j ava:1141)
at org.apache.catalina.core.StandardEngine.start(StandardEngine .java:316)
at
org.apache.catalina.core.StandardService.start(StandardServi ce.java:450)
at org.apache.catalina.core.StandardServer.start(StandardServer .java:2143)
at org.apache.catalina.startup.Catalina.start(Catalina.java:463 )
at org.apache.catalina.startup.Catalina.execute(Catalina.java:3 50)
at org.apache.catalina.startup.Catalina.process(Catalina.java:1 29)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:15 6)
Stopping service Tomcat-Standalone
Catalina.stop: LifecycleException: Coyote connector has not been started
LifecycleException: Coyote connector has not been started
at
org.apache.coyote.tomcat4.CoyoteConnector.stop(CoyoteConnect or.java:1296)
at org.apache.catalina.core.StandardService.stop(StandardServic e.java:499)
at org.apache.catalina.core.StandardServer.stop(StandardServer. java:2178)
at org.apache.catalina.startup.Catalina.start(Catalina.java:494 )
at org.apache.catalina.startup.Catalina.execute(Catalina.java:3 50)
at org.apache.catalina.startup.Catalina.process(Catalina.java:1 29)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:15 6)
|
|
|
Re: Tomcat 4.1 fails when deploying web service [message #84834 is a reply to message #84819] |
Fri, 18 March 2005 14:06 |
Eclipse User |
|
|
|
Originally posted by: chandan.mathur.lmco.com
I saw this error one time during the tutorial. Problem was that I had a
couple of web projects and deleted all of them except the tutorial. The
fix for me was to go to the servers tab, double click on the tomcat
server, to bring up the overview and modules tabbed panes. Go to modules.
Remove any deleted projects.
Hope that helps.
cm
Kasper wrote:
> Forgot to add this output from console:
> 18-03-2005 09:47:24 org.apache.coyote.http11.Http11Protocol init
> INFO: Initializing Coyote HTTP/1.1 on http-8080
> Starting service Tomcat-Standalone
> Apache Tomcat/4.1.31
> Catalina.start: LifecycleException: Context startup failed due to
> previous errors
> LifecycleException: Context startup failed due to previous errors
> at
> org.apache.catalina.core.StandardContext.start(StandardConte xt.java:3578)
> at org.apache.catalina.core.ContainerBase.start(ContainerBase.j ava:1141)
> at org.apache.catalina.core.StandardHost.start(StandardHost.jav a:707)
> at org.apache.catalina.core.ContainerBase.start(ContainerBase.j ava:1141)
> at org.apache.catalina.core.StandardEngine.start(StandardEngine .java:316)
> at
> org.apache.catalina.core.StandardService.start(StandardServi ce.java:450)
> at org.apache.catalina.core.StandardServer.start(StandardServer .java:2143)
> at org.apache.catalina.startup.Catalina.start(Catalina.java:463 )
> at org.apache.catalina.startup.Catalina.execute(Catalina.java:3 50)
> at org.apache.catalina.startup.Catalina.process(Catalina.java:1 29)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
> at
>
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:324)
> at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:15 6)
> Stopping service Tomcat-Standalone
> Catalina.stop: LifecycleException: Coyote connector has not been started
> LifecycleException: Coyote connector has not been started
> at
> org.apache.coyote.tomcat4.CoyoteConnector.stop(CoyoteConnect or.java:1296)
> at org.apache.catalina.core.StandardService.stop(StandardServic e.java:499)
> at org.apache.catalina.core.StandardServer.stop(StandardServer. java:2178)
> at org.apache.catalina.startup.Catalina.start(Catalina.java:494 )
> at org.apache.catalina.startup.Catalina.execute(Catalina.java:3 50)
> at org.apache.catalina.startup.Catalina.process(Catalina.java:1 29)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
> at
>
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:324)
> at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:15 6)
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03646 seconds