2 Replies Latest reply on Apr 10, 2008 5:05 PM by Ignacio de Cordoba

    How to remove a timer from JMX Console

    Ignacio de Cordoba Novice

      Hi there,
      I have a big problem in a very important JBoss App. It creates several instances of the same timer. Until I fix it I need to remove the duplicated instances without shutting down JBoss.
      I see in JMX Console, listing Timers:

      [target=jboss.j2ee:jndiName=tuportal/MailRelay,service=EJB]
      handle: [id=30,target=[target=jboss.j2ee:jndiName=tuportal/MailRelay,service=EJB],first=05-Feb-2007 00:28:56.269,periode=120000]
      [id=30,target=[target=jboss.j2ee:jndiName=tuportal/MailRelay,service=EJB],remaining=-66924226,periode=120000,active]
      handle: [id=32,target=[target=jboss.j2ee:jndiName=tuportal/MailRelay,service=EJB],first=05-Feb-2007 18:18:48.400,periode=120000]
      [id=32,target=[target=jboss.j2ee:jndiName=tuportal/MailRelay,service=EJB],remaining=-2732095,periode=120000,active]
      handle: [id=31,target=[target=jboss.j2ee:jndiName=tuportal/MailRelay,service=EJB],first=05-Feb-2007 18:00:16.395,periode=120000]
      [id=31,target=[target=jboss.j2ee:jndiName=tuportal/MailRelay,service=EJB],remaining=-3844100,periode=120000,active]
      handle: [id=37,target=[target=jboss.j2ee:jndiName=tuportal/MailRelay,service=EJB],first=05-Feb-2007 19:07:39.903,periode=120000]
      [id=37,target=[target=jboss.j2ee:jndiName=tuportal/MailRelay,service=EJB],remaining=79407,periode=120000,active]
      handle: [id=29,target=[target=jboss.j2ee:jndiName=tuportal/MailRelay,service=EJB],first=05-Feb-2007 18:05:15.942,periode=120000]
      [id=29,target=[target=jboss.j2ee:jndiName=tuportal/MailRelay,service=EJB],remaining=-3544554,periode=120000,active]


      Whick MBean and how must I invoke it to remove timers with ids 32, 31, 37 and 29?
      thanks for any help.