You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by hellian <ra...@yahoo.com> on 2010/09/17 00:43:30 UTC

Tomcat start error java.lang.reflect.InvocationTargetException

Hello

I'm having a strange error while starting my Tomcat from Eclipse. It's
throwing the following 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(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:295)
        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:433)
Caused by: java.lang.AbstractMethodError
        at
org.apache.tomcat.util.digester.Digester.getXMLReader(Digester.java:913)
        at
org.apache.tomcat.util.digester.Digester.parse(Digester.java:1562)
        at
org.apache.catalina.startup.TldConfig.tldScanStream(TldConfig.java:514)
        at
org.apache.catalina.startup.TldConfig.tldScanTld(TldConfig.java:553)
        at org.apache.catalina.startup.TldConfig.execute(TldConfig.java:301)
        at
org.apache.catalina.core.StandardContext.processTlds(StandardContext.java:4307)
        at
org.apache.catalina.core.StandardContext.start(StandardContext.java:4144)
        at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014)
        at
org.apache.catalina.core.StandardHost.start(StandardHost.java:736)
        at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014)
        at
org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
        at
org.apache.catalina.core.StandardService.start(StandardService.java:448)
        at
org.apache.catalina.core.StandardServer.start(StandardServer.java:700)
        at org.apache.catalina.startup.Catalina.start(Catalina.java:552)
        ... 6 more

While I'm running another project with same pattern successfully, it's
surprisingly throwing the above errors. Could someone help me resolve this?

Regards

Rashed 
-- 
View this message in context: http://old.nabble.com/Tomcat-start-error-java.lang.reflect.InvocationTargetException-tp29733702p29733702.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: Tomcat start error java.lang.reflect.InvocationTargetException

Posted by Christopher Schultz <ch...@christopherschultz.net>.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Rashed,

On 9/18/2010 6:47 AM, hellian wrote:
> Thanks..you missed the caused by part, it's in the message I posted. Anyway
> have a look on it given below:
> 
> Caused by: java.lang.AbstractMethodError
>         at
> org.apache.tomcat.util.digester.Digester.getXMLReader(Digester.java:913)

Just go ahead and post the entire log file. There should still be more...

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkyXewYACgkQ9CaO5/Lv0PAK1wCdHW8CaxsmkItCq+PqOM6yE/Ra
E4cAoLNcRpfEu2/JBViCpO72p2qr+qR6
=rMDg
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: Tomcat start error java.lang.reflect.InvocationTargetException

Posted by hellian <ra...@yahoo.com>.
Chris

Thanks..you missed the caused by part, it's in the message I posted. Anyway
have a look on it given below:

Caused by: java.lang.AbstractMethodError
        at
org.apache.tomcat.util.digester.Digester.getXMLReader(Digester.java:913)
        at
org.apache.tomcat.util.digester.Digester.parse(Digester.java:1562)
        at
org.apache.catalina.startup.TldConfig.tldScanStream(TldConfig.java:514)
        at
org.apache.catalina.startup.TldConfig.tldScanTld(TldConfig.java:553)
        at org.apache.catalina.startup.TldConfig.execute(TldConfig.java:301)
        at
org.apache.catalina.core.StandardContext.processTlds(StandardContext.java:4307)
        at
org.apache.catalina.core.StandardContext.start(StandardContext.java:4144)
        at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014)
        at
org.apache.catalina.core.StandardHost.start(StandardHost.java:736)
        at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014)
        at
org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
        at
org.apache.catalina.core.StandardService.start(StandardService.java:448)
        at
org.apache.catalina.core.StandardServer.start(StandardServer.java:700)
        at org.apache.catalina.startup.Catalina.start(Catalina.java:552)
        ... 6 more  


Thanks

Rashed

Christopher Schultz-2 wrote:
> 
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Rashed,
> 
> On 9/16/2010 6:43 PM, hellian wrote:
>> I'm having a strange error while starting my Tomcat from Eclipse. It's
>> throwing the following exception:
>> 
>> java.lang.reflect.InvocationTargetException
>>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>         [...]
>>         ... 6 more
> 
> Where is the rest? By definition, an InvocationTargetException is
> /always/ caused by some other exception.
> 
> - -chris
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.10 (MingW32)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
> 
> iEYEARECAAYFAkyTrQYACgkQ9CaO5/Lv0PDkVQCfVinRwVJPv9iFPvu+LpqS3bGg
> ywEAniij+n7SrXsNbi047gA8nJrpWfoV
> =Cyq1
> -----END PGP SIGNATURE-----
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
> 
> 
> 

-- 
View this message in context: http://old.nabble.com/Tomcat-start-error-java.lang.reflect.InvocationTargetException-tp29733702p29745528.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: Tomcat start error java.lang.reflect.InvocationTargetException

Posted by Christopher Schultz <ch...@christopherschultz.net>.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Rashed,

On 9/16/2010 6:43 PM, hellian wrote:
> I'm having a strange error while starting my Tomcat from Eclipse. It's
> throwing the following exception:
> 
> java.lang.reflect.InvocationTargetException
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         [...]
>         ... 6 more

Where is the rest? By definition, an InvocationTargetException is
/always/ caused by some other exception.

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkyTrQYACgkQ9CaO5/Lv0PDkVQCfVinRwVJPv9iFPvu+LpqS3bGg
ywEAniij+n7SrXsNbi047gA8nJrpWfoV
=Cyq1
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: Tomcat start error java.lang.reflect.InvocationTargetException

Posted by Pid <pi...@pidster.com>.
On 16/09/2010 23:43, hellian wrote:

> While I'm running another project with same pattern successfully, it's
> surprisingly throwing the above errors. Could someone help me resolve this?

Are you sure the TLD it's scanning is correctly formed?

Maybe you've scrambled your Tomcat install.  Have you placed or replaced
any jars in tomcat/lib since you installed it?


p