Thanks Adrian / et al - I got it working. - Had a problem with the keeping the timer
going indefinately but after a bit of fiddling and luck it is all happening.
Cheers
Alan.
-----Original Message-----
From: Adrian Brock [mailto:[EMAIL PROTECTED]]
Sent: Thu 18/07/2002 6:04 PM
To: [EMAIL PROTECTED]
Cc:
Subject: RE: [JBoss-user] RE: JBoss timer-service examples
Create a timer-service.xml in server/default/deploy
with the following content:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE server>
<server>
<mbean code="javax.management.timer.Timer"
name="jboss:service=Timer">
</mbean>
</server>
The scheduler service is more useful and user friendly.
Regards,
Adrian
>From: "Alan Yost" <[EMAIL PROTECTED]>
>Reply-To: [EMAIL PROTECTED]
>To: <[EMAIL PROTECTED]>
>Subject: RE: [JBoss-user] RE: JBoss timer-service examples
>Date: Thu, 18 Jul 2002 15:16:13 +0800
>
>Uros - I've had a chance to look at the specified link below. Got the
>timer bean working - but I have to manually start this via locahost:8082.
>Is there any way that I can automatically get the timer bean to start when
>JBoss starts?
>
>
>Regards
>
>
>
>Alan.
>
>-----Original Message-----
>From: Uroš Jurglic [mailto:[EMAIL PROTECTED]]
>Sent: Wednesday, 17 July 2002 11:02 PM
>To: '[EMAIL PROTECTED]'
>Subject: [JBoss-user] RE: JBoss timer-service examples
>
>
>This might be helpful: http://www.jboss.org/online-manual/HTML/ch11s58.html
>You might reconsider using Scheduled MBean (and scheduling it with
>Scheduler MBean), which seems much more straitforward and simple to use
>than Timer MBean. The info on it is also at the bottom of mentioned link,
>but you can check also scheduler-service.xml in your jboss3 deploy dir.
>
>Greetings,
>Uros.
>
>-----Original Message-----
>From: Alan Yost [mailto:[EMAIL PROTECTED]]
>Sent: Wednesday, July 17, 2002 4:06 PM
>To: [EMAIL PROTECTED]
>Subject: JBoss timer-service examples
>
>
>Hi All,
>
>I've just spent the last 1.5 hours searching the archives for a definitive
>explanation and example of a timer bean in JBoss. All to no avail. Could
>somebody please put me out of my misery and give me guidance on this
>concealed gem?
>
>
>Regards
>
>
>Alan.
>
_________________________________________________________________
Send and receive Hotmail on your mobile device: http://mobile.msn.com
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user
<<winmail.dat>>
