This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Tomcat and the fly likes why this error when i start my tomcat  server Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "why this error when i start my tomcat  server" Watch "why this error when i start my tomcat  server" New topic
Author

why this error when i start my tomcat server

Sathish Ramadas
Greenhorn

Joined: Feb 18, 2004
Posts: 27
ERROR reading C:\Program Files\Real\jakarta-tomcat-3.3.2\conf\server.xml
At Line 241 /Server/ContextManager/CoyoteConnector/ port=8080 maxThreads=150 min
SpareThreads=25 maxSpareThreads=75 enableLookups=false acceptCount=100 debug=0 c
onnectionTimeout=20000 disableUploadTimeout=true

sun.misc.InvalidJarIndexException: Invalid index!
at sun.misc.URLClassPath$JarLoader.getResource(URLClassPath.java:594)
at sun.misc.URLClassPath.getResource(URLClassPath.java:134)
at java.net.URLClassLoader$1.run(URLClassLoader.java:192)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:297)
at java.net.FactoryURLClassLoader.loadClass(URLClassLoader.java:553)
at java.lang.ClassLoader.loadClass(ClassLoader.java:253)
at org.apache.tomcat.util.xml.ObjectCreate.start(XmlMapper.java:795)
at org.apache.tomcat.util.xml.XmlMapper.matchStart(XmlMapper.java:516)
at org.apache.tomcat.util.xml.XmlMapper.startElement(XmlMapper.java:114)

at org.xml.sax.helpers.XMLReaderAdapter.startElement(XMLReaderAdapter.ja
va:333)
at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1490)
at org.apache.crimson.parser.Parser2.content(Parser2.java:1779)
at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1507)
at org.apache.crimson.parser.Parser2.content(Parser2.java:1779)
at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1507)
at org.apache.crimson.parser.Parser2.parseInternal(Parser2.java:500)
at org.apache.crimson.parser.Parser2.parse(Parser2.java:305)
at org.apache.crimson.parser.XMLReaderImpl.parse(XMLReaderImpl.java:442)

at org.xml.sax.helpers.XMLReaderAdapter.parse(XMLReaderAdapter.java:223)

at org.apache.tomcat.util.xml.XmlMapper.readXml(XmlMapper.java:334)
at org.apache.tomcat.modules.config.ServerXmlReader.loadConfigFile(Serve
rXmlReader.java:137)
at org.apache.tomcat.modules.config.ServerXmlReader.addInterceptor(Serve
rXmlReader.java:113)
at org.apache.tomcat.core.ContextManager.addInterceptor(ContextManager.j
ava:393)
at org.apache.tomcat.startup.EmbededTomcat.initContextManager(EmbededTom
cat.java:613)
at org.apache.tomcat.startup.EmbededTomcat.execute1(EmbededTomcat.java:7
91)
at org.apache.tomcat.startup.EmbededTomcat$1.run(EmbededTomcat.java:775)

at org.apache.tomcat.util.compat.Jdk12Support$PrivilegedProxy.run(Jdk12S
upport.java:166)
at java.security.AccessController.doPrivileged(Native Method)
at org.apache.tomcat.util.compat.Jdk12Support.doPrivileged(Jdk12Support.
java:76)
at org.apache.tomcat.startup.EmbededTomcat.execute(EmbededTomcat.java:77
3)
at java.lang.reflect.Method.invoke(Native Method)
at org.apache.tomcat.util.IntrospectionUtils.execute(IntrospectionUtils.
java:52)
at org.apache.tomcat.startup.Main.execute(Main.java:272)
at org.apache.tomcat.startup.Main.main(Main.java:98)
EmbededTomcat: exception initializing ContextManager
org.apache.tomcat.core.TomcatException: Root cause - Invalid index!
at org.apache.tomcat.modules.config.ServerXmlReader.loadConfigFile(Serve
rXmlReader.java:141)
at org.apache.tomcat.modules.config.ServerXmlReader.addInterceptor(Serve
rXmlReader.java:113)
at org.apache.tomcat.core.ContextManager.addInterceptor(ContextManager.j
ava:393)
at org.apache.tomcat.startup.EmbededTomcat.initContextManager(EmbededTom
cat.java:613)
at org.apache.tomcat.startup.EmbededTomcat.execute1(EmbededTomcat.java:7
91)
at org.apache.tomcat.startup.EmbededTomcat$1.run(EmbededTomcat.java:775)

at org.apache.tomcat.util.compat.Jdk12Support$PrivilegedProxy.run(Jdk12S
upport.java:166)
at java.security.AccessController.doPrivileged(Native Method)
at org.apache.tomcat.util.compat.Jdk12Support.doPrivileged(Jdk12Support.
java:76)
at org.apache.tomcat.startup.EmbededTomcat.execute(EmbededTomcat.java:77
3)
at java.lang.reflect.Method.invoke(Native Method)
at org.apache.tomcat.util.IntrospectionUtils.execute(IntrospectionUtils.
java:52)
at org.apache.tomcat.startup.Main.execute(Main.java:272)
at org.apache.tomcat.startup.Main.main(Main.java:98)
Guessed home=C:\Program Files\Real\jakarta-tomcat-3.3.2
Exception: java.lang.reflect.InvocationTargetException
java.lang.reflect.InvocationTargetException: org.apache.tomcat.core.TomcatExcept
ion: EmbededTomcat.initContextManager
at org.apache.tomcat.startup.EmbededTomcat.initContextManager(EmbededTom
cat.java:631)
at org.apache.tomcat.startup.EmbededTomcat.execute1(EmbededTomcat.java:7
91)
at org.apache.tomcat.startup.EmbededTomcat$1.run(EmbededTomcat.java:775)

at org.apache.tomcat.util.compat.Jdk12Support$PrivilegedProxy.run(Jdk12S
upport.java:166)
at java.security.AccessController.doPrivileged(Native Method)
at org.apache.tomcat.util.compat.Jdk12Support.doPrivileged(Jdk12Support.
java:76)
at org.apache.tomcat.startup.EmbededTomcat.execute(EmbededTomcat.java:77
3)
at java.lang.reflect.Method.invoke(Native Method)
at org.apache.tomcat.util.IntrospectionUtils.execute(IntrospectionUtils.
java:52)
at org.apache.tomcat.startup.Main.execute(Main.java:272)
at org.apache.tomcat.startup.Main.main(Main.java:98)
Root Exception: org.apache.tomcat.core.TomcatException: EmbededTomcat.initContex
tManager
org.apache.tomcat.core.TomcatException: EmbededTomcat.initContextManager
at org.apache.tomcat.startup.EmbededTomcat.initContextManager(EmbededTom
cat.java:631)
at org.apache.tomcat.startup.EmbededTomcat.execute1(EmbededTomcat.java:7
91)
at org.apache.tomcat.startup.EmbededTomcat$1.run(EmbededTomcat.java:775)

at org.apache.tomcat.util.compat.Jdk12Support$PrivilegedProxy.run(Jdk12S
upport.java:166)
at java.security.AccessController.doPrivileged(Native Method)
at org.apache.tomcat.util.compat.Jdk12Support.doPrivileged(Jdk12Support.
java:76)
at org.apache.tomcat.startup.EmbededTomcat.execute(EmbededTomcat.java:77
3)
at java.lang.reflect.Method.invoke(Native Method)
at org.apache.tomcat.util.IntrospectionUtils.execute(IntrospectionUtils.
java:52)
at org.apache.tomcat.startup.Main.execute(Main.java:272)
at org.apache.tomcat.startup.Main.main(Main.java:98)
Sathish Ramadas
Greenhorn

Joined: Feb 18, 2004
Posts: 27
hi all...pls help me to solve this problem...........
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12761
    
    5

looks like a clue to me. Have you changed server.xml from the original configuration? Particularly at the point of a end element or start element?

Bill
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: why this error when i start my tomcat server
 
Similar Threads
I think one of my installation of tomcat has been corrupted????
tomcat startup error, please help
LoadOnStartupInterceptor: cannot load servlet name: action java.lang.NoClassDefFoun
what does this error message mean?
javax.xml.transform.TransformerConfigurationException: String index out of range: 20