aspose file tools*
The moose likes Tomcat and the fly likes IllegalStateException on startup Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "IllegalStateException on startup" Watch "IllegalStateException on startup" New topic
Author

IllegalStateException on startup

William Stafford
Ranch Hand

Joined: Dec 13, 2004
Posts: 109
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 agree. Here's the link: http://aspose.com/file-tools
 
subject: IllegalStateException on startup
 
Similar Threads
tomcat startup problem
Unable to restart by application on Tomcat Server
Problem in BeerAdvice
Problem running a simple webapplication in struts
tomcat startup exception and form.hmlt not found error