• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Error registering Catalina

 
Puneet Munjal
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 13058
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 13058
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic