n e)
{
System.out.println("Error: " + e.getMessage());
}
catch(Exception e)
{
System.out.println("Error: " + e.getMessage());
}
}
}
[---The en sample-]
-Mensaje original-
De: [EMAIL PROTECTE
AM
Subject: RE: [JBoss-user] (Code Example -- LONG) Timer MBan Problem
> Here's an example that works for me. YMMV. I've tried to remove all
> application specific code, but still leave relavent timer MBean code. I
> reset the timer on each timer call. You can probably set
Here's an example that works for me. YMMV. I've tried to remove all
application specific code, but still leave relavent timer MBean code. I
reset the timer on each timer call. You can probably set the timer up to
send periodically. The timerInterval is in seconds in this example (default
10 s