wood burning stoves 2.0*
The moose likes Tomcat and the fly likes Error registering Catalina Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Error registering Catalina" Watch "Error registering Catalina" New topic
Author

Error registering Catalina

Puneet Munjal
Greenhorn

Joined: Mar 05, 2005
Posts: 4
Hello all,
I am getting error logged in catalina.out
org.apache.commons.modeler.Registry registerComponent
Error registering Catalina:type=RequestProcessor,worker=jk-8009,name=JkRequest2978
javax.management.InstanceAlreadyExistsException: Catalina:type=RequestProcessor,worker=jk-8009,name=JkRequest2978
at mx4j.server.MBeanServerImpl.register(MBeanServerImpl.java:1123)
at mx4j.server.MBeanServerImpl.registerImpl
After this error CPU utilization shoots up to 99% and tomcat doesn't respond to requests.
Can anyone help me out to sort this issue.
Thanx n Regards
Puneet Munjal
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12761
    
    5
That sounds like you already have an instance of Tomcat running somewhere that is using port 8009. Did you install Tomcat as a service?
Bill
Puneet Munjal
Greenhorn

Joined: Mar 05, 2005
Posts: 4
Hi Bill,
There are two connectors defined one for 8080 port and another for 8009 port in server.xml.
That might be the case of two instances of tomcat are running.
What does it mean tomcat running on two two ports.
Tomcat installed as a service or another, i am not sure, plz educate me for these.
Regards
Puneet Munjal
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12761
    
    5
here are two connectors defined one for 8080 port and another for 8009 port in server.xml.

That is normal, 8080 handles the HTTP requests while 8009 is used for telling Tomcat to shutdown.
When installed as a service, an instance of Tomcat is started when the computer is booted - this instance is independent of the signed-on user and won't show up on your desktop but will show up as a running process.

The Tomcat installation program gives you the option to install as a service - did you use the installation .exe or did Tomcat come in another package.
Bill
 
jQuery in Action, 2nd edition
 
subject: Error registering Catalina
 
Similar Threads
how to check the jms Queue is persistance or not in jboss application serve
NullPointerException
Tomcat + Apache first time
java.lang.OutOfMemoryError: Java heap space
Tomcat IIS Connector problem - please help