Re: Tomcat 5 problems
looks like you modified your tomcat configurations, you need to tell us as much as you can about your environment. if you download tomcat, run the start script in the bin directory, then I can't imagine that this would happen. Instead, my guess is that you have modified the scripts or are running your own, and from that you just need to trace backwards, to find out what you did to break it and undo it. Filip Devireddy, Nagendra Reddy (STSD) wrote: Hi Filip, After adding bin to my endorsed dirs path that error got disappeared but some new exception is appearing in the log Bootstrap: Class loader creation threw exception java.lang.ExceptionInInitializerError at org.apache.catalina.startup.ClassLoaderFactory.(ClassLoaderFacto ry.java:63) at org.apache.catalina.startup.Bootstrap.initClassLoaders(Bootstrap.java:10 3) at org.apache.catalina.startup.Bootstrap.init(Bootstrap.java:196) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:402) Caused by: org.apache.commons.logging.LogConfigurationException: org.apache.commons.logging.LogConfigurationException: java.l ang.NullPointerException (Caused by java.lang.NullPointerException) (Caused by org.apache.commons.logging.LogConfigurationExc eption: java.lang.NullPointerException (Caused by java.lang.NullPointerException)) at org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImp l.java:543) at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImp l.java:235) at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImp l.java:209) at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:351) at org.apache.tomcat.util.compat.JdkCompat.(JdkCompat.java:55) ... 4 more Caused by: org.apache.commons.logging.LogConfigurationException: java.lang.NullPointerException (Caused by java.lang.NullPoin terException) at org.apache.commons.logging.impl.LogFactoryImpl.getLogConstructor(LogFact oryImpl.java:397) at org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImp l.java:529) ... 8 more Caused by: java.lang.NullPointerException at org.apache.commons.logging.impl.LogFactoryImpl.getLogConstructor(LogFact oryImpl.java:374) ... 9 more ~ So what to do now .. Can you please help me what are the other *jars it needs .. -Original Message- From: Devireddy, Nagendra Reddy (STSD) Sent: Wednesday, March 01, 2006 8:09 PM To: Tomcat Users List Subject: RE: Tomcat 5 problems Thanks Filip .. It is missing in my endorsed dir path .. I am adding it now .. Hope it will work Thanks a lot .. Nagendra -Original Message- From: Filip Hanik - Dev Lists [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 01, 2006 8:03 PM To: Tomcat Users List Subject: Re: Tomcat 5 problems what script are you using to startup? This class exists in /bin/commons-logging-api.jar and should be part of your startup classpath Filip Devireddy, Nagendra Reddy (STSD) wrote: Hi, I am getting this problem while starting tomcat .. java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.j av a:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccess or Impl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:287) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:425) Caused by: java.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactory at org.apache.naming.NamingContext.(NamingContext.java:56) at org.apache.catalina.core.NamingContextListener.lifecycleEvent(NamingCo nt extListener.java:230) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(Lifecycle Su pport.java:119) at org.apache.catalina.core.StandardServer.start(StandardServer.java:2306) at org.apache.catalina.startup.Catalina.start(Catalina.java:556) ... 6 more Can some one help me in this .. Thanks Nagendra - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e
RE: Tomcat 5 problems
Hi Filip, After adding bin to my endorsed dirs path that error got disappeared but some new exception is appearing in the log Bootstrap: Class loader creation threw exception java.lang.ExceptionInInitializerError at org.apache.catalina.startup.ClassLoaderFactory.(ClassLoaderFacto ry.java:63) at org.apache.catalina.startup.Bootstrap.initClassLoaders(Bootstrap.java:10 3) at org.apache.catalina.startup.Bootstrap.init(Bootstrap.java:196) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:402) Caused by: org.apache.commons.logging.LogConfigurationException: org.apache.commons.logging.LogConfigurationException: java.l ang.NullPointerException (Caused by java.lang.NullPointerException) (Caused by org.apache.commons.logging.LogConfigurationExc eption: java.lang.NullPointerException (Caused by java.lang.NullPointerException)) at org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImp l.java:543) at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImp l.java:235) at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImp l.java:209) at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:351) at org.apache.tomcat.util.compat.JdkCompat.(JdkCompat.java:55) ... 4 more Caused by: org.apache.commons.logging.LogConfigurationException: java.lang.NullPointerException (Caused by java.lang.NullPoin terException) at org.apache.commons.logging.impl.LogFactoryImpl.getLogConstructor(LogFact oryImpl.java:397) at org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImp l.java:529) ... 8 more Caused by: java.lang.NullPointerException at org.apache.commons.logging.impl.LogFactoryImpl.getLogConstructor(LogFact oryImpl.java:374) ... 9 more ~ So what to do now .. Can you please help me what are the other *jars it needs .. -Original Message- From: Devireddy, Nagendra Reddy (STSD) Sent: Wednesday, March 01, 2006 8:09 PM To: Tomcat Users List Subject: RE: Tomcat 5 problems Thanks Filip .. It is missing in my endorsed dir path .. I am adding it now .. Hope it will work Thanks a lot .. Nagendra -Original Message- From: Filip Hanik - Dev Lists [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 01, 2006 8:03 PM To: Tomcat Users List Subject: Re: Tomcat 5 problems what script are you using to startup? This class exists in /bin/commons-logging-api.jar and should be part of your startup classpath Filip Devireddy, Nagendra Reddy (STSD) wrote: > Hi, > > I am getting this problem while starting tomcat .. > > java.lang.reflect.InvocationTargetException > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.j > av > a:39) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccess > or > Impl.java:25) > at java.lang.reflect.Method.invoke(Method.java:324) > at > org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:287) > at > org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:425) > Caused by: java.lang.NoClassDefFoundError: > org/apache/commons/logging/LogFactory > at > org.apache.naming.NamingContext.(NamingContext.java:56) > at > org.apache.catalina.core.NamingContextListener.lifecycleEvent(NamingCo > nt > extListener.java:230) > at > org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(Lifecycle > Su > pport.java:119) > at > org.apache.catalina.core.StandardServer.start(StandardServer.java:2306) > at org.apache.catalina.startup.Catalina.start(Catalina.java:556) > ... 6 more > > Can some one help me in this .. > > Thanks > Nagendra > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Tomcat 5 problems
Thanks Filip .. It is missing in my endorsed dir path .. I am adding it now .. Hope it will work Thanks a lot .. Nagendra -Original Message- From: Filip Hanik - Dev Lists [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 01, 2006 8:03 PM To: Tomcat Users List Subject: Re: Tomcat 5 problems what script are you using to startup? This class exists in /bin/commons-logging-api.jar and should be part of your startup classpath Filip Devireddy, Nagendra Reddy (STSD) wrote: > Hi, > > I am getting this problem while starting tomcat .. > > java.lang.reflect.InvocationTargetException > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.j > av > a:39) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccess > or > Impl.java:25) > at java.lang.reflect.Method.invoke(Method.java:324) > at > org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:287) > at > org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:425) > Caused by: java.lang.NoClassDefFoundError: > org/apache/commons/logging/LogFactory > at > org.apache.naming.NamingContext.(NamingContext.java:56) > at > org.apache.catalina.core.NamingContextListener.lifecycleEvent(NamingCo > nt > extListener.java:230) > at > org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(Lifecycle > Su > pport.java:119) > at > org.apache.catalina.core.StandardServer.start(StandardServer.java:2306) > at org.apache.catalina.startup.Catalina.start(Catalina.java:556) > ... 6 more > > Can some one help me in this .. > > Thanks > Nagendra > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Tomcat 5 problems
what script are you using to startup? This class exists in /bin/commons-logging-api.jar and should be part of your startup classpath Filip Devireddy, Nagendra Reddy (STSD) wrote: Hi, I am getting this problem while starting tomcat .. java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav a:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor Impl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:287) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:425) Caused by: java.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactory at org.apache.naming.NamingContext.(NamingContext.java:56) at org.apache.catalina.core.NamingContextListener.lifecycleEvent(NamingCont extListener.java:230) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSu pport.java:119) at org.apache.catalina.core.StandardServer.start(StandardServer.java:2306) at org.apache.catalina.startup.Catalina.start(Catalina.java:556) ... 6 more Can some one help me in this .. Thanks Nagendra - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Tomcat 5 problems
Hi, I am getting this problem while starting tomcat .. java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav a:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor Impl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:287) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:425) Caused by: java.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactory at org.apache.naming.NamingContext.(NamingContext.java:56) at org.apache.catalina.core.NamingContextListener.lifecycleEvent(NamingCont extListener.java:230) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSu pport.java:119) at org.apache.catalina.core.StandardServer.start(StandardServer.java:2306) at org.apache.catalina.startup.Catalina.start(Catalina.java:556) ... 6 more Can some one help me in this .. Thanks Nagendra - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]