0 Replies Latest reply on Sep 20, 2006 7:30 PM by Ignacio de Cordoba

    How to remove a Timer using JMX Console

    Ignacio de Cordoba Novice

      Hi there,
      I have repeated timers for the same service due to a error in an application which code cannot be modified now. How can I remove duplicated timers from JMX Console?

      I don't know which parameters I must introduce in the removeTimerService() MBean Operation

      I can list them invoking listTimers() MBean operation:

      handle: [id=22,target=[target=jboss.j2ee:jndiName=tuportal/MailPlusManager,service=EJB],first=07-Sep-2006 23:48:52.340,periode=900000]
      [id=22,target=[target=jboss.j2ee:jndiName=tuportal/MailPlusManager,service=EJB],remaining=-1127458982,periode=900000,active]
      handle: [id=18,target=[target=jboss.j2ee:jndiName=tuportal/MailPlusManager,service=EJB],first=20-Sep-2006 17:23:44.770,periode=900000]
      [id=18,target=[target=jboss.j2ee:jndiName=tuportal/MailPlusManager,service=EJB],remaining=-27366552,periode=900000,active]
      handle: [id=16,target=[target=jboss.j2ee:jndiName=tuportal/MailPlusManager,service=EJB],first=11-Sep-2006 02:36:22.746,periode=900000]
      [id=16,target=[target=jboss.j2ee:jndiName=tuportal/MailPlusManager,service=EJB],remaining=-858208576,periode=900000,active]
      handle: [id=21,target=[target=jboss.j2ee:jndiName=tuportal/MailPlusManager,service=EJB],first=20-Sep-2006 23:10:03.332,periode=900000]
      [id=21,target=[target=jboss.j2ee:jndiName=tuportal/MailPlusManager,service=EJB],remaining=-6587991,periode=900000,active]
      handle: [id=17,target=[target=jboss.j2ee:jndiName=tuportal/MailPlusManager,service=EJB],first=12-Sep-2006 13:24:20.531,periode=900000]
      [id=17,target=[target=jboss.j2ee:jndiName=tuportal/MailPlusManager,service=EJB],remaining=-732930792,periode=900000,active]
      handle: [id=23,target=[target=jboss.j2ee:jndiName=tuportal/MailPlusManager,service=EJB],first=07-Sep-2006 23:53:44.519,periode=900000]
      [id=23,target=[target=jboss.j2ee:jndiName=tuportal/MailPlusManager,service=EJB],remaining=-1127166804,periode=900000,active]
      handle: [id=25,target=[target=jboss.j2ee:jndiName=tuportal/MailPlusManager,service=EJB],first=21-Sep-2006 01:11:36.854,periode=900000]
      [id=25,target=[target=jboss.j2ee:jndiName=tuportal/MailPlusManager,service=EJB],remaining=705531,periode=900000,active]
      handle: [id=19,target=[target=jboss.j2ee:jndiName=tuportal/MailPlusManager,service=EJB],first=20-Sep-2006 17:45:04.447,periode=900000]
      [id=19,target=[target=jboss.j2ee:jndiName=tuportal/MailPlusManager,service=EJB],remaining=-26086876,periode=900000,active]
      handle: [id=20,target=[target=jboss.j2ee:jndiName=tuportal/MailPlusManager,service=EJB],first=20-Sep-2006 18:05:33.801,periode=900000]
      [id=20,target=[target=jboss.j2ee:jndiName=tuportal/MailPlusManager,service=EJB],remaining=-24857522,periode=900000,active]


      Thanks for any help.