Win a copy of Getting started with Java programming language this week in the Beginning Java forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Error while starting Tomcat 6  RSS feed

 
rigga tak
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi

I am using tomcat version 6.0.48 and JAVA version 1.6.0_36 on Linux 7 platform.

Jars in lib folder :

-rw-r--r--. 1 root root   54463 Nov  7 20:07 tomcat-i18n-ja.jar
-rw-r--r--. 1 root root   51888 Nov  7 20:07 tomcat-i18n-fr.jar
-rw-r--r--. 1 root root   70792 Nov  7 20:07 tomcat-i18n-es.jar
-rw-r--r--. 1 root root  217963 Nov  7 20:07 tomcat-dbcp.jar
-rw-r--r--. 1 root root  818013 Nov  7 20:07 tomcat-coyote.jar
-rw-r--r--. 1 root root  132978 Nov  7 20:07 servlet-api.jar
-rw-r--r--. 1 root root   76857 Nov  7 20:07 jsp-api.jar
-rw-r--r--. 1 root root  527674 Nov  7 20:07 jasper.jar
-rw-r--r--. 1 root root  112603 Nov  7 20:07 jasper-el.jar
-rw-r--r--. 1 root root   34646 Nov  7 20:07 el-api.jar
-rw-r--r--. 1 root root 1830791 Nov  7 20:07 ecj-4.3.1.jar
-rw-r--r--. 1 root root  239283 Nov  7 20:07 catalina-tribes.jar
-rw-r--r--. 1 root root 1269805 Nov  7 20:07 catalina.jar_orig
-rw-r--r--. 1 root root  131925 Nov  7 20:07 catalina-ha.jar
-rw-r--r--. 1 root root   54671 Nov  7 20:07 catalina-ant.jar
-rw-r--r--. 1 root root   15269 Nov  7 20:07 annotations-api.jar
-rw-r--r--. 1 root root   63285 Feb 27 04:07 catalina-storeconfig.jar
-rw-r--r--. 1 root root   52313 Feb 27 04:12 commons-logging-api-1.1.1.jar
-rw-r--r--. 1 root root  227651 Feb 27 04:20 catalina-cluster.jar
-rw-r--r--. 1 root root 1269805 Feb 27 05:32 catalina.jar

I am trying to start Tomcat but getting below error :

INFO: JK: ajp13 listening on /0.0.0.0:8009
27-Feb-2017 05:55:32 org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/27  config=null
27-Feb-2017 05:55:32 org.apache.catalina.storeconfig.StoreLoader load
INFO: Find registry server-registry.xml at classpath resource
java.lang.reflect.InvocationTargetException
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:622)
        at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
Caused by: java.lang.NoSuchMethodError: org.apache.catalina.mbeans.MBeanUtils.createRegistry()Lorg/apache/commons/modeler/Registry;
        at org.apache.catalina.storeconfig.StoreConfigLifecycleListener.createMBean(StoreConfigLifecycleListener.java:92)
        at org.apache.catalina.storeconfig.StoreConfigLifecycleListener.lifecycleEvent(StoreConfigLifecycleListener.java:58)
        at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:142)
        at org.apache.catalina.core.StandardServer.start(StandardServer.java:766)
        at org.apache.catalina.startup.Catalina.start(Catalina.java:595)
        ... 6 more

Could you please suggest ?
 
Tim Moores
Saloon Keeper
Posts: 3409
72
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Tomcat 6 is past its end of life. Any particular reason you're not using Tomcat 8?
 
rigga tak
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Tom

We have legacy system so not possible for me to do it.
We are in the process of moving from  Solaris 10 system to Linux 7.
Probably issue with Jar file. I tried that but somehow not working

Any idea?
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!