Thursday, October 22, 2009

[Java] Re: tomcat configuration help required.

 

Hey Prashant

I dont think u need to do anythign else, but try creating a simple jsp or html page and then save it in the ROOT folder. and try to run it, as http://servername:portnumber/filename

May be there was a prob with ur download.

Jignya

--- In Java_Official@yahoogroups.com, kumar prashant <meraprashant@...> wrote:
>
> 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
Give Back

Yahoo! for Good

Get inspired

by a good cause.

Y! Toolbar

Get it Free!

easy 1-click access

to your groups.

Yahoo! Groups

Start a group

in 3 easy steps.

Connect with others.

.

__,_._,___

No comments:

Post a Comment