Win a copy of TDD for a Shopping Website LiveProject this week in the Testing forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Jeanne Boyarsky
  • Tim Cooke
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Frits Walraven
Bartenders:
  • Piet Souris
  • Himai Minh

IllegalStateException on startup

 
Ranch Hand
Posts: 109
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I usually start Tomcat from Eclipse but I need to get a thread dump which requires a console window so I tried using bin/startup and got the stack trace below. Tomcat continues to start with no errors from Eclipse.

Any ideas as to what is happening? I'm also curious as to why this does not occur with an Eclipse start, doesn't Eclipse just call the startup script?

Lots of puzzles. Any help appreciated.

-=bill

Apache Tomcat/4.1.34
Oct 15, 2007 1:33:10 PM org.apache.commons.digester.Digester endElement
SEVERE: End event threw exception
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.commons.beanutils.MethodUtils.invokeMethod(MethodUtils.jav
a:216)
at org.apache.commons.digester.SetNextRule.end(SetNextRule.java:216)
at org.apache.commons.digester.Rule.end(Rule.java:230)
at org.apache.commons.digester.Digester.endElement(Digester.java:1130)
at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source
)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEndElement(
Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContent
Dispatcher.dispatch(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Un
known Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Sour
ce)
at org.apache.commons.digester.Digester.parse(Digester.java:1666)
at org.apache.catalina.core.StandardHostDeployer.install(StandardHostDep
loyer.java:338)
at org.apache.catalina.core.StandardHost.install(StandardHost.java:761)
at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.j
ava:438)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:372
)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:784)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java
:330)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(Lifecycl
eSupport.java:119)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1155)

at org.apache.catalina.core.StandardHost.start(StandardHost.java:696)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1147)

at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:310
)
at org.apache.catalina.core.StandardService.start(StandardService.java:4
49)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:221
2)
at org.apache.catalina.startup.Catalina.start(Catalina.java:458)
at org.apache.catalina.startup.Catalina.execute(Catalina.java:345)
at org.apache.catalina.startup.Catalina.process(Catalina.java:129)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:150)
Caused by: java.lang.IllegalStateException: ContainerBase.addChild: start: Lifec
ycleException: Context startup failed due to previous errors
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase
.java:780)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:75
9)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:537)

at org.apache.catalina.core.StandardHostDeployer.addChild(StandardHostDe
ployer.java:662)
... 39 more
 
I knew that guy would be trouble! Thanks tiny ad!
free, earth-friendly heat - a kickstarter for putting coin in your pocket while saving the earth
https://coderanch.com/t/751654/free-earth-friendly-heat-kickstarter
reply
    Bookmark Topic Watch Topic
  • New Topic