[JBoss-user] Scheduler-Service/Initial Conectext

2004-03-24 Thread Jörg Sädtler
Hi all, I'm having some problems getting the InitialContext in a Schedulable implementing class. Here the situation: I'm running an EJB Application, running on jboss 3.2.3 "all" configuration, winxp, java 1.4.2. In regular intervalls, i want to call a method of a ejb. In the first place, it wo

[JBoss-user] Scheduler Service calling sessionBean

2004-02-24 Thread Stefan Schuster
Hi, How can I use a Schedulable Class that is contained in an ear ? I want to trigger some methods on a stateless session bean and have created a class that does exactly this. The session bean and the class are not available on jboss startup, an I get a errormessage from the scheduler that the c

RE: [JBoss-user] scheduler service

2003-10-10 Thread Stephane Nicoll
no -Original Message- From: Alwyn Schoeman [mailto:[EMAIL PROTECTED] Sent: Friday, October 10, 2003 11:01 AM To: [EMAIL PROTECTED] Subject: Re: [JBoss-user] scheduler service Hi, Must your MBean also implement Schedulable in this case? On Fri, Oct 03, 2003 at 09:03:35PM +0800, Scott M

Re: [JBoss-user] scheduler service

2003-10-10 Thread Alwyn Schoeman
Hi, Must your MBean also implement Schedulable in this case? On Fri, Oct 03, 2003 at 09:03:35PM +0800, Scott M Stark wrote: > An example that invokes the listThreadDump op on the > jboss.system:type=ServerInfo mbean: > > > name="jboss.test:service=Scheduler,name=SchedulableMBeanExa

Re: [JBoss-user] scheduler service

2003-10-03 Thread harm
Thanks for the quick reply. In which file should I add this? Thanks, Harm. Scott M Stark <[EMAIL PROTECTED]> Sent by: [EMAIL PROTECTED] 10/03/2003 03:03 PM Please respond to [EMAIL PROTECTED] To [EMAIL PROTECTED] cc Subject Re: [JBoss-user] scheduler service An example that i

RE: [JBoss-user] scheduler service

2003-10-03 Thread Stephane Nicoll
kiala.b2b:service=Connector true kiala.b2b:service=Connector processPendingInstructions() NOW 6 -1 mailto:[EMAIL PROTECTED] Sent: Friday, October 03, 2003 1:33 PM To: jboss mailing list Subject: [JBoss-user] scheduler service Hi all, Is it possible to call a

Re: [JBoss-user] scheduler service

2003-10-03 Thread Scott M Stark
An example that invokes the listThreadDump op on the jboss.system:type=ServerInfo mbean: true jboss.system:type=ServerInfo listThreadDump() NOW 1 10 -- Scott Stark Chief Technology Officer JBoss Group, LLC

[JBoss-user] scheduler service

2003-10-03 Thread harm
Hi all, Is it possible to call a call a MBean method using a scheduler service? And if so, where can I find an example to do this? I have looked into the JBoss (subscription) documentation. In chapter 10 I only find an example which uses a class which implements a Schedulable interface Than

Re: [JBoss-user] Scheduler Question

2003-07-23 Thread manish sharan
. regards -manish From: Magesh Prabhu <[EMAIL PROTECTED]> Reply-To: [EMAIL PROTECTED] To: <[EMAIL PROTECTED]> Subject: [JBoss-user] Scheduler Question Date: 23 Jul 2003 12:27:18 +0100 Hi Guys, My application heavily depends on job Scheduling and relies on the notification by the

Re: [JBoss-user] Scheduler Question

2003-07-23 Thread Brian Wallis
On Wed, 23 Jul 2003 09:27 pm, Magesh Prabhu wrote: > Hi Guys, > > My application heavily depends on job Scheduling and relies on the > notification by the Scheduler. I tried using Quartz Scheduler and ran in to > deadlock issues. I'm investigating on the dead-lock issues and I found > Quartz Schedu

[JBoss-user] Scheduler Question

2003-07-23 Thread Magesh Prabhu
Hi Guys, My application heavily depends on job Scheduling and relies on the notification by the Scheduler. I tried using Quartz Scheduler and ran in to deadlock issues. I'm investigating on the dead-lock issues and I found Quartz Scheduler is the reason for this deadlock. I looked in to the Ti

Re: [JBoss-user] Scheduler MBean

2003-07-19 Thread Phil Shrimpton
On Friday 18 July 2003 21:56, Phil Shrimpton wrote: Hi, > What I am trying at the moment is milliseconds past 1st July 1am, which > should exclude the date format altogether This worked. Phil -- 11:33am up 94 days, 25 min, 1 user, load average: 1.20, 1.11, 1.08 ICQ: 760757

Re: [JBoss-user] Scheduler MBean

2003-07-18 Thread Phil Shrimpton
On Friday 18 July 2003 17:36, Scott M Stark wrote: Hi, > This will work, but you do get drift, there is no correction for daylight > savings, leap year, support for holidays, etc. Not worried about slippage, unless it is hours I just need something to run, after midnight, and before people g

Re: [JBoss-user] Scheduler MBean

2003-07-18 Thread Phil Shrimpton
On Friday 18 July 2003 14:23, Brian Wallis wrote: Hi, > > Does not seem to. 'NOW' + 8640 works every 24 hours from when I > > start it, but I can't seem to get it to work if I enter a date/time value > > And you don't get any errors in the log? No, but I do if I enter an incorrect date for

Re: [JBoss-user] Scheduler MBean

2003-07-18 Thread Scott M Stark
This will work, but you do get drift, there is no correction for daylight savings, leap year, support for holidays, etc. Our scheduler is a trivial interval based service that is not approriate for cron like or more sophisticated requirements. You might look at quartz and improving its integrat

Re: [JBoss-user] Scheduler MBean

2003-07-18 Thread Brian Wallis
On Fri, 18 Jul 2003 11:43 pm, Phil Shrimpton wrote: > Does not seem to. 'NOW' + 8640 works every 24 hours from when I start > it, but I can't seem to get it to work if I enter a date/time value And you don't get any errors in the log? (I often have problems getting date strings correct :-) I

Re: [JBoss-user] Scheduler MBean

2003-07-18 Thread Marek Lange
Brian Wallis wrote: On Fri, 18 Jul 2003 10:20 pm, Phil Shrimpton wrote: Hi, I have implemented a schedualed MBean, and all works fine, I can get it 'triggering' every minute, every 10 etc., but I need it to 'trigger' at 1am every day, and can't find the correct combination of attributes. Has anyo

Re: [JBoss-user] Scheduler MBean

2003-07-18 Thread Phil Shrimpton
On Friday 18 July 2003 12:52, [EMAIL PROTECTED] wrote: Hi, > I don't know the answer to your question! But if there is no answer, > you could use an algorithm such as the following.. [snip] Thanks, thats my backup plan, but I am sure there must be a 'proper' way to do it. Phil -- 1:22pm

Re: [JBoss-user] Scheduler MBean

2003-07-18 Thread Phil Shrimpton
On Friday 18 July 2003 13:09, Brian Wallis wrote: Hi, > > I have implemented a schedualed MBean, and all works fine, I can get it > > 'triggering' every minute, every 10 etc., but I need it to 'trigger' at > > 1am every day, and can't find the correct combination of attributes. > > Doesn't someth

Re: [JBoss-user] Scheduler MBean

2003-07-18 Thread Brian Wallis
On Fri, 18 Jul 2003 10:20 pm, Phil Shrimpton wrote: > Hi, > > I have implemented a schedualed MBean, and all works fine, I can get it > 'triggering' every minute, every 10 etc., but I need it to 'trigger' at 1am > every day, and can't find the correct combination of attributes. > > Has anyone got a

RE: [JBoss-user] Scheduler MBean

2003-07-18 Thread Danny . Yates
EMAIL PROTECTED] Sent: 18 July 2003 13:21 To: [EMAIL PROTECTED] Subject: [JBoss-user] Scheduler MBean Hi, I have implemented a schedualed MBean, and all works fine, I can get it 'triggering' every minute, every 10 etc., but I need it to 'trigger' at 1am every day, and ca

[JBoss-user] Scheduler MBean

2003-07-18 Thread Phil Shrimpton
Hi, I have implemented a schedualed MBean, and all works fine, I can get it 'triggering' every minute, every 10 etc., but I need it to 'trigger' at 1am every day, and can't find the correct combination of attributes. Has anyone got any ideas on the best values for.. InitialStartDate SchedulePe

Re: [JBoss-user] scheduler service

2003-03-27 Thread Guy Rouillier
Karri Niemelä wrote: We are trying to use the scheduler service with jboss (3.0.4). It works ok, but we have the following problem: This scheduled task is bit time consuming, it takes about 5 min's to complete. When this scheduled task is started, jboss isnt "completing" any other tasks, although

[JBoss-user] scheduler service

2003-03-27 Thread Karri Niemelä
We are trying to use the scheduler service with jboss (3.0.4). It works ok, but we have the following problem: This scheduled task is bit time consuming, it takes about 5 min's to complete. When this scheduled task is started, jboss isnt "completing" any other tasks, although incoming ejb calls

Re: [JBoss-user] Scheduler in JBoss

2002-12-31 Thread Guy Rouillier
ROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, December 31, 2002 2:24 AM Subject: [JBoss-user] Scheduler in JBoss > >All, > >Please for who worked on Scheduler and know how to use it in JBoss, > please specify the needed steps for me to configure a Timer

[JBoss-user] Scheduler in JBoss

2002-12-30 Thread Thaer Hani Al-Ibaisi
All, Please for who worked on Scheduler and know how to use it in JBoss, please specify the needed steps for me to configure a Timer on Jboss to call the following URL every 30 minutes from the starting of the JBoss Server (Using JBoss 3.0.4). -

[JBoss-user] Scheduler MBean Information

2002-12-30 Thread Thaer Hani Al-Ibaisi
Hi All,   About the scheduler in JBoss, I have searched the JBoss Forum, and found the following link http://www.jboss.org/online-manual/HTML/ch13s58.html talking about Scheduler, but it is talking about some pieces of code without mentioning where to put thise pieces of code (in which classe

Re: [JBoss-user] Scheduler

2002-12-17 Thread Randy Shoup
he binary distribution), but the syntax was exactly what you have below. David Jencks wrote: Date: Mon, 16 Dec 2002 15:36:45 -0500 From: David Jencks <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Subject: Re: [JBoss-user] Scheduler Reply-To: [EMAIL PROTECTED] When you had the .sar in the .ear, did y

Re: [JBoss-user] Scheduler

2002-12-16 Thread Glenn Lewis
The scheduler does a findAll() using the localHome for a bean. I tried making the scheduler mbean depend on the jboss.j2ee localHome mbean, but it made no difference. I traced it through a bit. The localHome can be looked up okay and is not null, however the findAll() fails with a null pointer

Re: [JBoss-user] Scheduler

2002-12-16 Thread David Jencks
nnan <[EMAIL PROTECTED]> > > To: "'[EMAIL PROTECTED]'" > > <[EMAIL PROTECTED]> > > Subject: RE: [JBoss-user] Scheduler > > Date: Mon, 16 Dec 2002 09:57:56 -0800 > > Reply-To: [EMAIL PROTECTED] > > > > This message is

Re: [JBoss-user] Scheduler

2002-12-16 Thread Randy Shoup
AIL PROTECTED]> To: "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]> Subject: RE: [JBoss-user] Scheduler Date: Mon, 16 Dec 2002 09:57:56 -0800 Reply-To: [EMAIL PROTECTED] This message is in MIME format. Since your mail reader does not understand this format, some or all of

RE: [JBoss-user] Scheduler

2002-12-16 Thread JD Brennan
Title: RE: [JBoss-user] Scheduler Yep, we have the same problem.  Your original post said you needed your scheduler to access a class in your .ear.  If you need to access a bean, then you can't just put the .sar in the .ear - We solved this by just sleeping for 60 seconds and then sta

Re: [JBoss-user] Scheduler

2002-12-15 Thread David Jencks
mmm, forgot about that one. That one's from the jsr-77 stuff and doesn't participate in the service lifecycle so you can't use it for dependencies. Look for a jboss.j2ee mbean for your ejb and try it. You are correct that you add the depends element to the scheduler. david jencks On 2002.12.1

Re: [JBoss-user] Scheduler

2002-12-15 Thread Glenn Lewis
I don't exactly know how the scheduler works, but if it is deployed as an mbean from a *-service.xml Yes. file you can include an anonymous depends element to the mbean that is created as the ejb's container (look in the jmx-console). Then the scheduler won't start until the ejb is also starte

Re: [JBoss-user] Scheduler

2002-12-15 Thread David Jencks
ROTECTED]] > > Sent: Thursday, December 12, 2002 8:45 PM > > To: [EMAIL PROTECTED] > > Cc: [EMAIL PROTECTED] > > Subject: [JBoss-user] Scheduler > > > > > > Hi all, > > > > Using the online docs at > > http://www.jboss.org/online-manual/HTML/ch

Re: [JBoss-user] Scheduler

2002-12-15 Thread Glenn Lewis
ginal Message- From: Glenn Lewis [mailto:[EMAIL PROTECTED]] Sent: Thursday, December 12, 2002 8:45 PM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: [JBoss-user] Scheduler Hi all, Using the online docs at http://www.jboss.org/online-manual/HTML/ch11s58.html#scheduler-usage and JBoss3.0

RE: [JBoss-user] Scheduler

2002-12-13 Thread JD Brennan
Title: RE: [JBoss-user] Scheduler We deploy our MBean by putting it inside a .sar inside our ejb .jar inside our .ear - there are probably other better ways, but this works for us. JD -Original Message- From: Glenn Lewis [mailto:[EMAIL PROTECTED]] Sent: Thursday, December 12, 2002

[JBoss-user] Scheduler

2002-12-12 Thread Glenn Lewis
Hi all, Using the online docs at http://www.jboss.org/online-manual/HTML/ch11s58.html#scheduler-usage and JBoss3.0.3 we have created a scheduler mbean. We deploy it via a timer service.xml file. The scheduler mbean refers to a class (au.com.xcomp.xvs.server.TimedObjectSchedulable) in our ear.

[JBoss-user] Scheduler authentification

2002-08-29 Thread Laurent Belmonte
I use the jboss scheduler mbean to do administrative task. It have to call some ejb. how give a name/role to the scheduler ? --- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _

RE: [JBoss-user] scheduler and javamail in Jboss 3.0

2002-06-27 Thread JD Brennan
Title: RE: [JBoss-user] scheduler and javamail in Jboss 3.0 Thanks, David.  Very interesting.  So is the page that says MBean View what you refer to as the detail page? That page has something called MBean Name that looks like jboss.j2ee:service=EJB,jndiName=Foo Is that the object name

RE: [JBoss-user] scheduler and javamail in Jboss 3.0

2002-06-27 Thread Qingxian Wang
You need to set dependency to make the scheduler to depend on the EJB. -Original Message- From: Natalie Wang [mailto:[EMAIL PROTECTED]] Sent: 27 June 2002 00:01 To: [EMAIL PROTECTED] Subject: [JBoss-user] scheduler and javamail in Jboss 3.0 Hi, I am using scheduler to call ejb, which

Re: [JBoss-user] scheduler and javamail in Jboss 3.0

2002-06-26 Thread David Jencks
You should be able to get the scheduler to wait for the ejb by: 1. Deploy your ejb, and look in the jmx viewer (port 8082) and find the mbean corresponding to the ejb. (in the j2ee section, not jsr77/management). Its object name is shown at the top of the detail page. 2. add a tag ejb-object-na

[JBoss-user] scheduler and javamail in Jboss 3.0

2002-06-26 Thread Natalie Wang
Hi, I am using scheduler to call ejb, which use javaMail to send out email. Everything works fine if I start jboss first, then deploy scheduler-service.xml. However if I restart server, it complains can not deploy scheduler-service.xml since it can not find the ejb my scheduler uses and the mai

[JBoss-user] Scheduler

2001-10-19 Thread Keene Hammond
Hello, does anyone know how I can create multiple Schedulers in JBoss 2.4.3? Thanks, Keene ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user