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
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
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
Hello again,
I hope you kept my last mail about MBeans. We gonna call it with a scheduler,
called ConnectorService:
Just add this in your jboss-service.xml to schedule your MBean
jboss.j2ee:service=EjbModule,module=KialaPointServer.jar
jboss:service=Naming
kiala.b2b:servic
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
Hi,
Well I havent use the Scheduler in 3.2x but I have been heavisly using home
grown job sceduler based on jboss scheduler mbean for Jboss 3.0.x.
Basically I modified the jboss scheduler mbean to write a timer tick to a
queue. I have a Schedule processor mdb which listen to this queue and
e
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
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
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
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
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
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
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
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
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
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
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: (Please excuse the
pseudo-code, I've never written an MBean, so don't actually know the
interface)
class MyMBean extends MBean {
private boolean runToday = false;
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
Have you taken a look at testsuite? There is an example there. See
\jboss-3.0.4-src\testsuite\src\resources\util\test-default-scheduler-service
.xml and \jboss-3.0.4\server\default\deploy\scheduler-service.xml.
- Original Message -
From: "Thaer Hani Al-Ibaisi" <[EMAIL PROTECTED]>
To: <[E
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
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
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
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
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
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
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
I don't exactly know how the scheduler works, but if it is deployed as an
mbean from a *-service.xml 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 started
and pre
Thanks for the advice.
We can deploy the scheduler MBean by putting it inside a .sar, but we
get a similar problem: the first time the scheduler is invoked it does a
findAll on a bean that is not deployed. An error message is printed by
the loginterceptor (so I'm not sure we can catch it). The
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
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
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
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
32 matches
Mail list logo