Wednesday, October 21, 2009

[Java] tomcat configuration help required.

 

Hi,
pls pls help
can anyone help me in configuring my tomacat 5.0
CATALINA_HOME :- C:\Tomcat 5.0
JAVA_HOME :- C:\jdk1.3
do i need to set any other environmet variables etc?
 
i am getting bleow error while starting my tomcat.
 
[ERROR] Digester - Begin event threw error <java.lang.ExceptionInInitializerErro
r>java.lang.ExceptionInInitializerError: sun.misc.InvalidJarIndexException: Inva
lid index!
        at sun.misc.URLClassPath$JarLoader.getResource(URLClassPath.java:594)
        at sun.misc.URLClassPath.getResource(URLClassPath.java:134)
        at java.net.URLClassLoader$2.run(URLClassLoader.java:349)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findResource(URLClassLoader.java:346)
        at org.apache.catalina.loader.StandardClassLoader.findResource(StandardC
lassLoader.java:527)
        at org.apache.catalina.loader.StandardClassLoader.getResource(StandardCl
assLoader.java:603)
        at org.apache.commons.modeler.Registry.loadDescriptors(Registry.java:895
)
        at org.apache.catalina.mbeans.MBeanUtils.createRegistry(MBeanUtils.java:
1602)
        at org.apache.catalina.mbeans.MBeanUtils.<clinit>(MBeanUtils.java:107)
        at org.apache.catalina.mbeans.GlobalResourcesLifecycleListener.<clinit>(
GlobalResourcesLifecycleListener.java:65)
        at java.lang.Class.newInstance0(Native Method)
        at java.lang.Class.newInstance(Class.java:237)
        at org.apache.commons.digester.ObjectCreateRule.begin(ObjectCreateRule.j
ava:253)
        at org.apache.commons.digester.Rule.begin(Rule.java:200)
        at org.apache.commons.digester.Digester.startElement(Digester.java:1273)
        at org.apache.catalina.util.CatalinaDigester.startElement(CatalinaDigest
er.java:65)
        at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Sour
ce)
        at org.apache.xerces.parsers.AbstractXMLDocumentParser.emptyElement(Unkn
own Source)
        at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanStartElemen
t(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.commons.digester.Digester.parse(Digester.java:1548)
        at org.apache.catalina.startup.Catalina.load(Catalina.java:489)
        at org.apache.catalina.startup.Catalina.load(Catalina.java:528)
        at java.lang.reflect.Method.invoke(Native Method)
        at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:250)
        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:424)
java.lang.reflect.InvocationTargetException: java.lang.ExceptionInInitializerErr
or: 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$2.run(URLClassLoader.java:349)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findResource(URLClassLoader.java:346)
        at org.apache.catalina.loader.StandardClassLoader.findResource(StandardC
lassLoader.java:527)
        at org.apache.catalina.loader.StandardClassLoader.getResource(StandardCl
assLoader.java:603)
        at org.apache.commons.modeler.Registry.loadDescriptors(Registry.java:895
)
        at org.apache.catalina.mbeans.MBeanUtils.createRegistry(MBeanUtils.java:
1602)
        at org.apache.catalina.mbeans.MBeanUtils.<clinit>(MBeanUtils.java:107)
        at org.apache.catalina.mbeans.GlobalResourcesLifecycleListener.<clinit>(
GlobalResourcesLifecycleListener.java:65)
        at java.lang.Class.newInstance0(Native Method)
        at java.lang.Class.newInstance(Class.java:237)
        at org.apache.commons.digester.ObjectCreateRule.begin(ObjectCreateRule.j
ava:253)
        at org.apache.commons.digester.Rule.begin(Rule.java:200)
        at org.apache.commons.digester.Digester.startElement(Digester.java:1273)
        at org.apache.catalina.util.CatalinaDigester.startElement(CatalinaDigest
er.java:65)
        at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Sour
ce)
        at org.apache.xerces.parsers.AbstractXMLDocumentParser.emptyElement(Unkn
own Source)
        at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanStartElemen
t(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.commons.digester.Digester.parse(Digester.java:1548)
        at org.apache.catalina.startup.Catalina.load(Catalina.java:489)
        at org.apache.catalina.startup.Catalina.load(Catalina.java:528)
        at java.lang.reflect.Method.invoke(Native Method)
        at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:250)

Thanks&Regards
Kumar Prashant
Ph. No. 9886846778

Keep up with people you care about with Yahoo! India Mail. Learn how. http://in.overview.mail.yahoo.com/connectmore

[Non-text portions of this message have been removed]

__._,_.___
Visit http://aiaiai.com or http://jgame.org for more groups to join.
Java Official Group is created for the following topics: Java 2 Enterprise Edition - J2EE, Java 2 Standard Edition - J2SE, Java 2 Micro Edition - J2ME, XML, XSL, XSD, XPATH, Web Services, Jini, JXTA for all type of Java Geeks.
Whoever posts spam / ads / job related message will be BANNED IMMEDIATELY
Recent Activity
Visit Your Group
Yahoo! Finance

It's Now Personal

Guides, news,

advice & more.

New business?

Get new customers.

List your web site

in Yahoo! Search.

Yahoo! Groups

Mental Health Zone

Learn about issues

Find support

.

__,_._,___

No comments:

Post a Comment