On 2002.12.16 20:56:59 -0500 JD Brennan wrote: > So does JBoss guarantee that > if an .ear has both an ejb .jar and a .sar > then the .jar will get deployed first so the .sar > can assume that all the .jar's beans are available?
No, but you can make mbeans depend on the ejb container mbeans (NOT the jsr77 mbeans) and then the mbeans won't be started until the ejbs are started. I think in jboss 4 you can also make an mbean depend on the DeploymentInfo mbean gor a package. david jencks > > Tx! > JD > > -----Original Message----- > From: Randy Shoup [mailto:[EMAIL PROTECTED]] > Sent: Monday, December 16, 2002 5:18 PM > To: [EMAIL PROTECTED] > Subject: [JBoss-user] Re: JBoss-user digest, Vol 1 #3502 - 5 msgs > > > Thanks! I of course did not have this file :-). Adding 'jboss-app.xml' > to my EAR's META-INF, and moving the .sar to the top level of the EAR > worked like a charm. > > I had to hunt around in the JBoss source distribution to find an > example of jboss-app.xml (no examples or dtd in the 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 you include a jboss-app.xml file > to > > make he ear deployer deploy it? > > > > <jboss-app> > > <module> > > <service>mystuff.sar</service> > > </module> > > </jboss-app> > > > > if I remember correctly > > > > david jencks > > > > > > On 2002.12.16 14:47:52 -0500 Randy Shoup wrote: > > > >>I was not able to get a scheduler .sar to work if I deployed it > directly > >>in the EAR. However, it does work if I deploy it inside the *ejb-jar*, > > >>which is itself inside the EAR. > >> > >>My working theory is that there is some subtle difference between the > >>EAR deployer and the JAR deployer (maybe the EAR deployer only deploys > >>modules mentioned in the application.xml or in the classpaths of the > >>modules?). But I have not investigated further. > >> > >>For now, I am OK with this structure. But I would be interested to > >>understand why it behaves like this :-). > >> > >>JD Brennan wrote: > >> > >>>From: JD Brennan <[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 in MIME format. Since your mail reader does not > >> > >>understand > >> > >>>this format, some or all of this message may not be legible. > >>> > >>>------_=_NextPart_001_01C2A52C.A9F142A0 > >>>Content-Type: text/plain; > >>> charset="iso-8859-1" > >>> > >>>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 > >>>starting - not ideal, but I couldn't find the MBean for > >>>the bean container to make the depends stuff work. If you get > >>>it working could you post a follow-up to the list? > >>> > >>>Tx! > >>>JD > >>> > >>>-----Original Message----- > >>>From: Glenn Lewis [mailto:[EMAIL PROTECTED]] > >>>Sent: Sunday, December 15, 2002 4:39 PM > >>>To: [EMAIL PROTECTED] > >>>Subject: Re: [JBoss-user] Scheduler > >>> > >>> > >>>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 next time > the > >> > >>>scheduler is invoked it works fine, since by that time everything is > >>>deployed. > >>> > >>>Any suggestions? > >>> > >>> > >>>JD Brennan wrote: > >>> > >>> > >>>>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 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.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. > >>>> > >>>>The scheduler deploys fine provided we manually make sure the ear is > >>>>deployed before the service.xml. However, when we try to deploy the > >>>>service.xml file and ear file in the one ant task, the scheduler > >>> > >>deploys > >> > >>>>first and gives the error below. Someone else also reported this > >>> > >>problem > >> > >>>>a while ago > >>>> > >>> > >>>(http://www.mail-archive.com/jboss-user@lists.sourceforge.net/msg23230.ht > ml) > >>>. > >>> > >>> > >>>> > >>>>Any suggestions??? > >>>> > >>>>Cause: Incomplete Deployment listing: > >>>>Packages waiting for a deployer: > >>>> <none> > >>>>Incompletely deployed packages: > >>>> <none> > >>>>MBeans waiting for classes: > >>>> <none> > >>>>MBeans waiting for other MBeans: > >>>>[ObjectName: jboss:schedule=CheckTimeoutDaemon,service=Scheduler > >>>> state: FAILED > >>>> I Depend On: > >>>> Depends On Me: org.jboss.deployment.DeploymentException: Exception > >>>>setting attribute javax.management.Attribute@250ff2 on mbean > >>>>jboss:schedule=CheckTimeoutDaemon,service=Scheduler; - nested > >>> > >>throwable: > >> > >>>>(java.security.InvalidParameterException: Given class > >>>>au.com.xcomp.xvs.server.TimedObjectSchedulable is not valid or not > >>> > >>found)] > >> > >>>> > >>>>Thanks > >>>> > >>>>-- > >>>>Glenn > >>>> > >>>> > >>>> > >>>>------------------------------------------------------- > >>>>This sf.net email is sponsored by: > >>>>With Great Power, Comes Great Responsibility > >>>>Learn to use your power at OSDN's High Performance Computing Channel > >>>>http://hpc.devchannel.org/ > >>>>_______________________________________________ > >>>>JBoss-user mailing list > >>>>[EMAIL PROTECTED] > >>>>https://lists.sourceforge.net/lists/listinfo/jboss-user > >>>> > >>> > >>> > >>> > >>> > >>> > >>>------------------------------------------------------- > >>>This sf.net email is sponsored by: > >>>With Great Power, Comes Great Responsibility > >>>Learn to use your power at OSDN's High Performance Computing Channel > >>>http://hpc.devchannel.org/ > >>>_______________________________________________ > >>>JBoss-user mailing list > >>>[EMAIL PROTECTED] > >>>https://lists.sourceforge.net/lists/listinfo/jboss-user > >>> > >>>------_=_NextPart_001_01C2A52C.A9F142A0 > >>>Content-Type: text/html; > >>> charset="iso-8859-1" > >>>Content-Transfer-Encoding: quoted-printable > >>> > >>><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> > >>><HTML> > >>><HEAD> > >>><META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; = > >>>charset=3Diso-8859-1"> > >>><META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version = > >>>5.5.2653.12"> > >>><TITLE>RE: [JBoss-user] Scheduler</TITLE> > >>></HEAD> > >>><BODY> > >>> > >>><P><FONT SIZE=3D2>Yep, we have the same problem. Your original = > >>>post said you</FONT> > >>><BR><FONT SIZE=3D2>needed your scheduler to access a class in your = > >>>.ear. If you</FONT> > >>><BR><FONT SIZE=3D2>need to access a bean, then you can't just put the > = > >>>.sar in the</FONT> > >>><BR><FONT SIZE=3D2>.ear - We solved this by just sleeping for 60 = > >>>seconds and then</FONT> > >>><BR><FONT SIZE=3D2>starting - not ideal, but I couldn't find the MBean > >> > >>= > >> > >>>for</FONT> > >>><BR><FONT SIZE=3D2>the bean container to make the depends stuff = > >>>work. If you get</FONT> > >>><BR><FONT SIZE=3D2>it working could you post a follow-up to the = > >>>list?</FONT> > >>></P> > >>> > >>><P><FONT SIZE=3D2>Tx!</FONT> > >>><BR><FONT SIZE=3D2>JD</FONT> > >>></P> > >>> > >>><P><FONT SIZE=3D2>-----Original Message-----</FONT> > >>><BR><FONT SIZE=3D2>From: Glenn Lewis [<A = > >>>HREF=3D"mailto:[EMAIL PROTECTED]">mailto:[EMAIL PROTECTED]= > >>></A>]</FONT> > >>><BR><FONT SIZE=3D2>Sent: Sunday, December 15, 2002 4:39 PM</FONT> > >>><BR><FONT SIZE=3D2>To: [EMAIL PROTECTED]</FONT> > >>><BR><FONT SIZE=3D2>Subject: Re: [JBoss-user] Scheduler</FONT> > >>></P> > >>><BR> > >>> > >>><P><FONT SIZE=3D2>Thanks for the advice.</FONT> > >>></P> > >>> > >>><P><FONT SIZE=3D2>We can deploy the scheduler MBean by putting it = > >>>inside a .sar, but we </FONT> > >>><BR><FONT SIZE=3D2>get a similar problem: the first time the scheduler > >> > >>= > >> > >>>is invoked it does a </FONT> > >>><BR><FONT SIZE=3D2>findAll on a bean that is not deployed. An error = > >>>message is printed by </FONT> > >>><BR><FONT SIZE=3D2>the loginterceptor (so I'm not sure we can catch = > >>>it). The next time the </FONT> > >>><BR><FONT SIZE=3D2>scheduler is invoked it works fine, since by that = > >>>time everything is </FONT> > >>><BR><FONT SIZE=3D2>deployed.</FONT> > >>></P> > >>> > >>><P><FONT SIZE=3D2>Any suggestions?</FONT> > >>></P> > >>><BR> > >>> > >>><P><FONT SIZE=3D2>JD Brennan wrote:</FONT> > >>><BR><FONT SIZE=3D2>> We deploy our MBean by putting it inside a > .sar > >> > >>= > >> > >>>inside</FONT> > >>><BR><FONT SIZE=3D2>> our ejb .jar inside our .ear - there are = > >>>probably other</FONT> > >>><BR><FONT SIZE=3D2>> better ways, but this works for us.</FONT> > >>><BR><FONT SIZE=3D2>> </FONT> > >>><BR><FONT SIZE=3D2>> JD</FONT> > >>><BR><FONT SIZE=3D2>> </FONT> > >>><BR><FONT SIZE=3D2>> -----Original Message-----</FONT> > >>><BR><FONT SIZE=3D2>> From: Glenn Lewis [<A = > >>>HREF=3D"mailto:[EMAIL PROTECTED]">mailto:[EMAIL PROTECTED]= > >>></A>]</FONT> > >>><BR><FONT SIZE=3D2>> Sent: Thursday, December 12, 2002 8:45 = > >>>PM</FONT> > >>><BR><FONT SIZE=3D2>> To: [EMAIL PROTECTED]</FONT> > >>><BR><FONT SIZE=3D2>> Cc: [EMAIL PROTECTED]</FONT> > >>><BR><FONT SIZE=3D2>> Subject: [JBoss-user] Scheduler</FONT> > >>><BR><FONT SIZE=3D2>> </FONT> > >>><BR><FONT SIZE=3D2>> </FONT> > >>><BR><FONT SIZE=3D2>> Hi all,</FONT> > >>><BR><FONT SIZE=3D2>> </FONT> > >>><BR><FONT SIZE=3D2>> Using the online docs at</FONT> > >>><BR><FONT SIZE=3D2>> <A = > >>>HREF=3D"http://www.jboss.org/online-manual/HTML/ch11s58.html#scheduler-u= > >>>sage" = > >>>TARGET=3D"_blank">http://www.jboss.org/online-manual/HTML/ch11s58.html#s= > >>>cheduler-usage</A> and</FONT> > >>><BR><FONT SIZE=3D2>> JBoss3.0.3 we have created a scheduler mbean. > = > >>>We deploy it via a timer</FONT> > >>><BR><FONT SIZE=3D2>> service.xml file. The scheduler mbean refers > to > >> > >>= > >> > >>>a class</FONT> > >>><BR><FONT SIZE=3D2>> = > >>>(au.com.xcomp.xvs.server.TimedObjectSchedulable) in our ear.</FONT> > >>><BR><FONT SIZE=3D2>> </FONT> > >>><BR><FONT SIZE=3D2>> The scheduler deploys fine provided we > manually > >> > >>= > >> > >>>make sure the ear is</FONT> > >>><BR><FONT SIZE=3D2>> deployed before the service.xml. However, when > >> > >>= > >> > >>>we try to deploy the</FONT> > >>><BR><FONT SIZE=3D2>> service.xml file and ear file in the one ant = > >>>task, the scheduler deploys</FONT> > >>><BR><FONT SIZE=3D2>> first and gives the error below. Someone else > = > >>>also reported this problem</FONT> > >>><BR><FONT SIZE=3D2>> a while ago</FONT> > >>><BR><FONT SIZE=3D2>> (<A = > >>>HREF=3D"http://www.mail-archive.com/jboss-user@lists.sourceforge.net/msg= > >>>23230.html" = > >>>TARGET=3D"_blank">http://www.mail-archive.com/jboss-user@lists.sourcefor= > >>>ge.net/msg23230.html</A>). </FONT> > >>><BR><FONT SIZE=3D2>> </FONT> > >>><BR><FONT SIZE=3D2>> </FONT> > >>><BR><FONT SIZE=3D2>> </FONT> > >>><BR><FONT SIZE=3D2>> Any suggestions???</FONT> > >>><BR><FONT SIZE=3D2>> </FONT> > >>><BR><FONT SIZE=3D2>> Cause: Incomplete Deployment listing:</FONT> > >>><BR><FONT SIZE=3D2>> Packages waiting for a deployer:</FONT> > >>><BR><FONT SIZE=3D2>> <none></FONT> > >>><BR><FONT SIZE=3D2>> Incompletely deployed packages:</FONT> > >>><BR><FONT SIZE=3D2>> <none></FONT> > >>><BR><FONT SIZE=3D2>> MBeans waiting for classes:</FONT> > >>><BR><FONT SIZE=3D2>> <none></FONT> > >>><BR><FONT SIZE=3D2>> MBeans waiting for other MBeans:</FONT> > >>><BR><FONT SIZE=3D2>> [ObjectName: = > >>>jboss:schedule=3DCheckTimeoutDaemon,service=3DScheduler</FONT> > >>><BR><FONT SIZE=3D2>> state: FAILED</FONT> > >>><BR><FONT SIZE=3D2>> I Depend On:</FONT> > >>><BR><FONT SIZE=3D2>> Depends On Me: = > >>>org.jboss.deployment.DeploymentException: Exception</FONT> > >>><BR><FONT SIZE=3D2>> setting attribute = > >>>javax.management.Attribute@250ff2 on mbean</FONT> > >>><BR><FONT SIZE=3D2>> = > >>>jboss:schedule=3DCheckTimeoutDaemon,service=3DScheduler; - nested = > >>>throwable:</FONT> > >>><BR><FONT SIZE=3D2>> (java.security.InvalidParameterException: > Given > >> > >>= > >> > >>>class</FONT> > >>><BR><FONT SIZE=3D2>> au.com.xcomp.xvs.server.TimedObjectSchedulable > >> > >>= > >> > >>>is not valid or not found)]</FONT> > >>><BR><FONT SIZE=3D2>> </FONT> > >>><BR><FONT SIZE=3D2>> </FONT> > >>><BR><FONT SIZE=3D2>> Thanks</FONT> > >>><BR><FONT SIZE=3D2>> </FONT> > >>><BR><FONT SIZE=3D2>> -- </FONT> > >>><BR><FONT SIZE=3D2>> Glenn</FONT> > >>><BR><FONT SIZE=3D2>> </FONT> > >>><BR><FONT SIZE=3D2>> </FONT> > >>><BR><FONT SIZE=3D2>> </FONT> > >>><BR><FONT SIZE=3D2>> = > >>>-------------------------------------------------------</FONT> > >>><BR><FONT SIZE=3D2>> This sf.net email is sponsored by:</FONT> > >>><BR><FONT SIZE=3D2>> With Great Power, Comes Great = > >>>Responsibility</FONT> > >>><BR><FONT SIZE=3D2>> Learn to use your power at OSDN's High = > >>>Performance Computing Channel</FONT> > >>><BR><FONT SIZE=3D2>> <A HREF=3D"http://hpc.devchannel.org/" = > >>>TARGET=3D"_blank">http://hpc.devchannel.org/</A></FONT> > >>><BR><FONT SIZE=3D2>> = > >>>_______________________________________________</FONT> > >>><BR><FONT SIZE=3D2>> JBoss-user mailing list</FONT> > >>><BR><FONT SIZE=3D2>> [EMAIL PROTECTED]</FONT> > >>><BR><FONT SIZE=3D2>> <A = > >>>HREF=3D"https://lists.sourceforge.net/lists/listinfo/jboss-user" = > >>>TARGET=3D"_blank">https://lists.sourceforge.net/lists/listinfo/jboss-use= > >>>r</A></FONT> > >>><BR><FONT SIZE=3D2>> </FONT> > >>></P> > >>><BR> > >>><BR> > >>><BR> > >>> > >>><P><FONT = > >>>SIZE=3D2>-------------------------------------------------------</FONT> > >>><BR><FONT SIZE=3D2>This sf.net email is sponsored by:</FONT> > >>><BR><FONT SIZE=3D2>With Great Power, Comes Great Responsibility > </FONT> > >>><BR><FONT SIZE=3D2>Learn to use your power at OSDN's High Performance > = > >>>Computing Channel</FONT> > >>><BR><FONT SIZE=3D2><A HREF=3D"http://hpc.devchannel.org/" = > >>>TARGET=3D"_blank">http://hpc.devchannel.org/</A></FONT> > >>><BR><FONT = > >>>SIZE=3D2>_______________________________________________</FONT> > >>><BR><FONT SIZE=3D2>JBoss-user mailing list</FONT> > >>><BR><FONT SIZE=3D2>[EMAIL PROTECTED]</FONT> > >>><BR><FONT SIZE=3D2><A = > >>>HREF=3D"https://lists.sourceforge.net/lists/listinfo/jboss-user" = > >>>TARGET=3D"_blank">https://lists.sourceforge.net/lists/listinfo/jboss-use= > >>>r</A></FONT> > >>></P> > >>> > >>></BODY> > >>></HTML> > >>>------_=_NextPart_001_01C2A52C.A9F142A0-- > >> > >> > >> > >> > >>------------------------------------------------------- > >>This sf.net email is sponsored by: > >>With Great Power, Comes Great Responsibility > >>Learn to use your power at OSDN's High Performance Computing Channel > >>http://hpc.devchannel.org/ > >>_______________________________________________ > >>JBoss-user mailing list > >>[EMAIL PROTECTED] > >>https://lists.sourceforge.net/lists/listinfo/jboss-user > >> > >> > > > > > ------------------------------------------------------- > This sf.net email is sponsored by: > With Great Power, Comes Great Responsibility > Learn to use your power at OSDN's High Performance Computing Channel > http://hpc.devchannel.org/ > _______________________________________________ > JBoss-user mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/jboss-user > > <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> > <HTML> > <HEAD> > <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1"> > <META NAME="Generator" CONTENT="MS Exchange Server version 5.5.2653.12"> > <TITLE>RE: [JBoss-user] Re: JBoss-user digest, Vol 1 #3502 - 5 > msgs</TITLE> > </HEAD> > <BODY> > > <P><FONT SIZE=2>So does JBoss guarantee that </FONT> > <BR><FONT SIZE=2> if an .ear has both an ejb .jar and a .sar</FONT> > <BR><FONT SIZE=2> then the .jar will get deployed first so the > .sar</FONT> > <BR><FONT SIZE=2> can assume that all > the .jar's beans are available?</FONT> > </P> > > <P><FONT SIZE=2>Tx!</FONT> > <BR><FONT SIZE=2>JD</FONT> > </P> > > <P><FONT SIZE=2>-----Original Message-----</FONT> > <BR><FONT SIZE=2>From: Randy Shoup [<A > >HREF="mailto:[EMAIL PROTECTED]">mailto:[EMAIL PROTECTED]</A>]</FONT> > <BR><FONT SIZE=2>Sent: Monday, December 16, 2002 5:18 PM</FONT> > <BR><FONT SIZE=2>To: [EMAIL PROTECTED]</FONT> > <BR><FONT SIZE=2>Subject: [JBoss-user] Re: JBoss-user digest, Vol 1 #3502 > - 5 msgs</FONT> > </P> > <BR> > > <P><FONT SIZE=2>Thanks! I of course did not have this file > :-). Adding 'jboss-app.xml' </FONT> > <BR><FONT SIZE=2>to my EAR's META-INF, and moving the .sar to the top > level of the EAR </FONT> > <BR><FONT SIZE=2>worked like a charm.</FONT> > </P> > > <P><FONT SIZE=2> I had to hunt around in the JBoss source > distribution to find an </FONT> > <BR><FONT SIZE=2>example of jboss-app.xml (no examples or dtd in the > binary </FONT> > <BR><FONT SIZE=2>distribution), but the syntax was exactly what you have > below.</FONT> > </P> > > <P><FONT SIZE=2>David Jencks wrote:</FONT> > <BR><FONT SIZE=2>> Date: Mon, 16 Dec 2002 15:36:45 -0500</FONT> > <BR><FONT SIZE=2>> From: David Jencks > <[EMAIL PROTECTED]></FONT> > <BR><FONT SIZE=2>> To: [EMAIL PROTECTED]</FONT> > <BR><FONT SIZE=2>> Subject: Re: [JBoss-user] Scheduler</FONT> > <BR><FONT SIZE=2>> Reply-To: [EMAIL PROTECTED]</FONT> > <BR><FONT SIZE=2>> </FONT> > <BR><FONT SIZE=2>> When you had the .sar in the .ear, did you include > a jboss-app.xml file to</FONT> > <BR><FONT SIZE=2>> make he ear deployer deploy it?</FONT> > <BR><FONT SIZE=2>> </FONT> > <BR><FONT SIZE=2>> <jboss-app></FONT> > <BR><FONT SIZE=2>> <module></FONT> > <BR><FONT SIZE=2>> > <service>mystuff.sar</service></FONT> > <BR><FONT SIZE=2>> </module></FONT> > <BR><FONT SIZE=2>> </jboss-app></FONT> > <BR><FONT SIZE=2>> </FONT> > <BR><FONT SIZE=2>> if I remember correctly</FONT> > <BR><FONT SIZE=2>> </FONT> > <BR><FONT SIZE=2>> david jencks</FONT> > <BR><FONT SIZE=2>> </FONT> > <BR><FONT SIZE=2>> </FONT> > <BR><FONT SIZE=2>> On 2002.12.16 14:47:52 -0500 Randy Shoup > wrote:</FONT> > <BR><FONT SIZE=2>> </FONT> > <BR><FONT SIZE=2>>>I was not able to get a scheduler .sar to work > if I deployed it directly </FONT> > <BR><FONT SIZE=2>>>in the EAR. However, it does work if I > deploy it inside the *ejb-jar*, </FONT> > <BR><FONT SIZE=2>>>which is itself inside the EAR.</FONT> > <BR><FONT SIZE=2>>></FONT> > <BR><FONT SIZE=2>>>My working theory is that there is some subtle > difference between the </FONT> > <BR><FONT SIZE=2>>>EAR deployer and the JAR deployer (maybe the EAR > deployer only deploys </FONT> > <BR><FONT SIZE=2>>>modules mentioned in the application.xml or in > the classpaths of the </FONT> > <BR><FONT SIZE=2>>>modules?). But I have not investigated > further.</FONT> > <BR><FONT SIZE=2>>></FONT> > <BR><FONT SIZE=2>>>For now, I am OK with this structure. But > I would be interested to </FONT> > <BR><FONT SIZE=2>>>understand why it behaves like this :-).</FONT> > <BR><FONT SIZE=2>>></FONT> > <BR><FONT SIZE=2>>>JD Brennan wrote:</FONT> > <BR><FONT SIZE=2>>></FONT> > <BR><FONT SIZE=2>>>>From: JD Brennan > <[EMAIL PROTECTED]></FONT> > <BR><FONT SIZE=2>>>>To: >"'[EMAIL PROTECTED]'"</FONT> > <BR><FONT SIZE=2>>>> > <[EMAIL PROTECTED]></FONT> > <BR><FONT SIZE=2>>>>Subject: RE: [JBoss-user] Scheduler</FONT> > <BR><FONT SIZE=2>>>>Date: Mon, 16 Dec 2002 09:57:56 -0800</FONT> > <BR><FONT SIZE=2>>>>Reply-To: > [EMAIL PROTECTED]</FONT> > <BR><FONT SIZE=2>>>></FONT> > <BR><FONT SIZE=2>>>>This message is in MIME format. Since your > mail reader does not</FONT> > <BR><FONT SIZE=2>>></FONT> > <BR><FONT SIZE=2>>>understand</FONT> > <BR><FONT SIZE=2>>></FONT> > <BR><FONT SIZE=2>>>>this format, some or all of this message may > not be legible.</FONT> > <BR><FONT SIZE=2>>>></FONT> > <BR><FONT SIZE=2>>>>------_=_NextPart_001_01C2A52C.A9F142A0</FONT> > <BR><FONT SIZE=2>>>>Content-Type: text/plain;</FONT> > <BR><FONT SIZE=2>>>> > charset="iso-8859-1"</FONT> > <BR><FONT SIZE=2>>>></FONT> > <BR><FONT SIZE=2>>>>Yep, we have the same problem. Your > original post said you</FONT> > <BR><FONT SIZE=2>>>>needed your scheduler to access a class in > your .ear. If you</FONT> > <BR><FONT SIZE=2>>>>need to access a bean, then you can't just > put the .sar in the</FONT> > <BR><FONT SIZE=2>>>>.ear - We solved this by just sleeping for > 60 seconds and then</FONT> > <BR><FONT SIZE=2>>>>starting - not ideal, but I couldn't find > the MBean for</FONT> > <BR><FONT SIZE=2>>>>the bean container to make the depends stuff > work. If you get</FONT> > <BR><FONT SIZE=2>>>>it working could you post a follow-up to the > list?</FONT> > <BR><FONT SIZE=2>>>></FONT> > <BR><FONT SIZE=2>>>>Tx!</FONT> > <BR><FONT SIZE=2>>>>JD</FONT> > <BR><FONT SIZE=2>>>></FONT> > <BR><FONT SIZE=2>>>>-----Original Message-----</FONT> > <BR><FONT SIZE=2>>>>From: Glenn Lewis [<A > HREF="mailto:[EMAIL PROTECTED]">mailto:[EMAIL PROTECTED]</A>]</FONT> > <BR><FONT SIZE=2>>>>Sent: Sunday, December 15, 2002 4:39 > PM</FONT> > <BR><FONT SIZE=2>>>>To: [EMAIL PROTECTED]</FONT> > <BR><FONT SIZE=2>>>>Subject: Re: [JBoss-user] Scheduler</FONT> > <BR><FONT SIZE=2>>>></FONT> > <BR><FONT SIZE=2>>>></FONT> > <BR><FONT SIZE=2>>>>Thanks for the advice.</FONT> > <BR><FONT SIZE=2>>>></FONT> > <BR><FONT SIZE=2>>>>We can deploy the scheduler MBean by putting > it inside a .sar, but we </FONT> > <BR><FONT SIZE=2>>>>get a similar problem: the first time the > scheduler is invoked it does</FONT> > <BR><FONT SIZE=2>>></FONT> > <BR><FONT SIZE=2>>>a </FONT> > <BR><FONT SIZE=2>>></FONT> > <BR><FONT SIZE=2>>>>findAll on a bean that is not deployed. An > error message is printed by </FONT> > <BR><FONT SIZE=2>>>>the loginterceptor (so I'm not sure we can > catch it). The next time the</FONT> > <BR><FONT SIZE=2>>></FONT> > <BR><FONT SIZE=2>>>>scheduler is invoked it works fine, since by > that time everything is </FONT> > <BR><FONT SIZE=2>>>>deployed.</FONT> > <BR><FONT SIZE=2>>>></FONT> > <BR><FONT SIZE=2>>>>Any suggestions?</FONT> > <BR><FONT SIZE=2>>>></FONT> > <BR><FONT SIZE=2>>>></FONT> > <BR><FONT SIZE=2>>>>JD Brennan wrote:</FONT> > <BR><FONT SIZE=2>>>></FONT> > <BR><FONT SIZE=2>>>></FONT> > <BR><FONT SIZE=2>>>>>We deploy our MBean by putting it inside > a .sar inside</FONT> > <BR><FONT SIZE=2>>>>>our ejb .jar inside our .ear - there are > probably other</FONT> > <BR><FONT SIZE=2>>>>>better ways, but this works for > us.</FONT> > <BR><FONT SIZE=2>>>>></FONT> > <BR><FONT SIZE=2>>>>>JD</FONT> > <BR><FONT SIZE=2>>>>></FONT> > <BR><FONT SIZE=2>>>>>-----Original Message-----</FONT> > <BR><FONT SIZE=2>>>>>From: Glenn Lewis [<A > HREF="mailto:[EMAIL PROTECTED]">mailto:[EMAIL PROTECTED]</A>]</FONT> > <BR><FONT SIZE=2>>>>>Sent: Thursday, December 12, 2002 8:45 > PM</FONT> > <BR><FONT SIZE=2>>>>>To: > [EMAIL PROTECTED]</FONT> > <BR><FONT SIZE=2>>>>>Cc: [EMAIL PROTECTED]</FONT> > <BR><FONT SIZE=2>>>>>Subject: [JBoss-user] Scheduler</FONT> > <BR><FONT SIZE=2>>>>></FONT> > <BR><FONT SIZE=2>>>>></FONT> > <BR><FONT SIZE=2>>>>>Hi all,</FONT> > <BR><FONT SIZE=2>>>>></FONT> > <BR><FONT SIZE=2>>>>>Using the online docs at</FONT> > <BR><FONT SIZE=2>>>>><A HREF="http://www.jboss.org/online-manual/HTML/ch11s58.html#scheduler-usage" > >TARGET="_blank">http://www.jboss.org/online-manual/HTML/ch11s58.html#scheduler-usage</A></FONT> > <BR><FONT SIZE=2>>>></FONT> > <BR><FONT SIZE=2>>>and</FONT> > <BR><FONT SIZE=2>>></FONT> > <BR><FONT SIZE=2>>>>>JBoss3.0.3 we have created a scheduler > mbean. We deploy it via a timer</FONT> > <BR><FONT SIZE=2>>>>>service.xml file. The scheduler mbean > refers to a class</FONT> > <BR><FONT SIZE=2>>>>>(au.com.xcomp.xvs.server.TimedObjectSchedulable) > in our ear.</FONT> > <BR><FONT SIZE=2>>>>></FONT> > <BR><FONT SIZE=2>>>>>The scheduler deploys fine provided we > manually make sure the ear is</FONT> > <BR><FONT SIZE=2>>>>>deployed before the service.xml. > However, when we try to deploy the</FONT> > <BR><FONT SIZE=2>>>>>service.xml file and ear file in the one > ant task, the scheduler</FONT> > <BR><FONT SIZE=2>>>></FONT> > <BR><FONT SIZE=2>>>deploys</FONT> > <BR><FONT SIZE=2>>></FONT> > <BR><FONT SIZE=2>>>>>first and gives the error below. Someone > else also reported this</FONT> > <BR><FONT SIZE=2>>>></FONT> > <BR><FONT SIZE=2>>>problem</FONT> > <BR><FONT SIZE=2>>></FONT> > <BR><FONT SIZE=2>>>>>a while ago</FONT> > <BR><FONT SIZE=2>>>>></FONT> > <BR><FONT SIZE=2>>>></FONT> > <BR><FONT SIZE=2>>>>(<A >HREF="http://www.mail-archive.com/jboss-user@lists.sourceforge.net/msg23230.html" > >TARGET="_blank">http://www.mail-archive.com/jboss-user@lists.sourceforge.net/msg23230.html</A>)</FONT> > <BR><FONT SIZE=2>>>>. </FONT> > <BR><FONT SIZE=2>>>></FONT> > <BR><FONT SIZE=2>>>></FONT> > <BR><FONT SIZE=2>>>>></FONT> > <BR><FONT SIZE=2>>>>>Any suggestions???</FONT> > <BR><FONT SIZE=2>>>>></FONT> > <BR><FONT SIZE=2>>>>>Cause: Incomplete Deployment > listing:</FONT> > <BR><FONT SIZE=2>>>>>Packages waiting for a deployer:</FONT> > <BR><FONT SIZE=2>>>>> <none></FONT> > <BR><FONT SIZE=2>>>>>Incompletely deployed packages:</FONT> > <BR><FONT SIZE=2>>>>> <none></FONT> > <BR><FONT SIZE=2>>>>>MBeans waiting for classes:</FONT> > <BR><FONT SIZE=2>>>>> <none></FONT> > <BR><FONT SIZE=2>>>>>MBeans waiting for other MBeans:</FONT> > <BR><FONT SIZE=2>>>>>[ObjectName: > jboss:schedule=CheckTimeoutDaemon,service=Scheduler</FONT> > <BR><FONT SIZE=2>>>>> state: FAILED</FONT> > <BR><FONT SIZE=2>>>>> I Depend On:</FONT> > <BR><FONT SIZE=2>>>>> Depends On Me: > org.jboss.deployment.DeploymentException: Exception</FONT> > <BR><FONT SIZE=2>>>>>setting attribute > javax.management.Attribute@250ff2 on mbean</FONT> > <BR><FONT SIZE=2>>>>>jboss:schedule=CheckTimeoutDaemon,service=Scheduler; > - nested</FONT> > <BR><FONT SIZE=2>>>></FONT> > <BR><FONT SIZE=2>>>throwable:</FONT> > <BR><FONT SIZE=2>>></FONT> > <BR><FONT SIZE=2>>>>>(java.security.InvalidParameterException: > Given class</FONT> > <BR><FONT SIZE=2>>>>>au.com.xcomp.xvs.server.TimedObjectSchedulable > is not valid or not</FONT> > <BR><FONT SIZE=2>>>></FONT> > <BR><FONT SIZE=2>>>found)]</FONT> > <BR><FONT SIZE=2>>></FONT> > <BR><FONT SIZE=2>>>>></FONT> > <BR><FONT SIZE=2>>>>>Thanks</FONT> > <BR><FONT SIZE=2>>>>></FONT> > <BR><FONT SIZE=2>>>>>-- </FONT> > <BR><FONT SIZE=2>>>>>Glenn</FONT> > <BR><FONT SIZE=2>>>>></FONT> > <BR><FONT SIZE=2>>>>></FONT> > <BR><FONT SIZE=2>>>>></FONT> > <BR><FONT >SIZE=2>>>>>-------------------------------------------------------</FONT> > <BR><FONT SIZE=2>>>>>This sf.net email is sponsored > by:</FONT> > <BR><FONT SIZE=2>>>>>With Great Power, Comes Great > Responsibility</FONT> > <BR><FONT SIZE=2>>>>>Learn to use your power at OSDN's High > Performance Computing Channel</FONT> > <BR><FONT SIZE=2>>>>><A HREF="http://hpc.devchannel.org/" > TARGET="_blank">http://hpc.devchannel.org/</A></FONT> > <BR><FONT >SIZE=2>>>>>_______________________________________________</FONT> > <BR><FONT SIZE=2>>>>>JBoss-user mailing list</FONT> > <BR><FONT SIZE=2>>>>>[EMAIL PROTECTED]</FONT> > <BR><FONT SIZE=2>>>>><A HREF="https://lists.sourceforge.net/lists/listinfo/jboss-user" > TARGET="_blank">https://lists.sourceforge.net/lists/listinfo/jboss-user</A></FONT> > <BR><FONT SIZE=2>>>>></FONT> > <BR><FONT SIZE=2>>>></FONT> > <BR><FONT SIZE=2>>>></FONT> > <BR><FONT SIZE=2>>>></FONT> > <BR><FONT SIZE=2>>>></FONT> > <BR><FONT SIZE=2>>>></FONT> > <BR><FONT >SIZE=2>>>>-------------------------------------------------------</FONT> > <BR><FONT SIZE=2>>>>This sf.net email is sponsored by:</FONT> > <BR><FONT SIZE=2>>>>With Great Power, Comes Great Responsibility > </FONT> > <BR><FONT SIZE=2>>>>Learn to use your power at OSDN's High > Performance Computing Channel</FONT> > <BR><FONT SIZE=2>>>><A HREF="http://hpc.devchannel.org/" > TARGET="_blank">http://hpc.devchannel.org/</A></FONT> > <BR><FONT SIZE=2>>>>_______________________________________________</FONT> > <BR><FONT SIZE=2>>>>JBoss-user mailing list</FONT> > <BR><FONT SIZE=2>>>>[EMAIL PROTECTED]</FONT> > <BR><FONT SIZE=2>>>><A >HREF="https://lists.sourceforge.net/lists/listinfo/jboss-user" > TARGET="_blank">https://lists.sourceforge.net/lists/listinfo/jboss-user</A></FONT> > <BR><FONT SIZE=2>>>></FONT> > <BR><FONT SIZE=2>>>>------_=_NextPart_001_01C2A52C.A9F142A0</FONT> > <BR><FONT SIZE=2>>>>Content-Type: text/html;</FONT> > <BR><FONT SIZE=2>>>> > charset="iso-8859-1"</FONT> > <BR><FONT SIZE=2>>>>Content-Transfer-Encoding: > quoted-printable</FONT> > <BR><FONT SIZE=2>>>></FONT> > <BR><FONT SIZE=2>>>><!DOCTYPE HTML PUBLIC "-//W3C//DTD > HTML 3.2//EN"></FONT> > <BR><FONT SIZE=2>>>><HTML></FONT> > <BR><FONT SIZE=2>>>><HEAD></FONT> > <BR><FONT SIZE=2>>>><META > HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =</FONT> > <BR><FONT SIZE=2>>>>charset=3Diso-8859-1"></FONT> > <BR><FONT SIZE=2>>>><META NAME=3D"Generator" > CONTENT=3D"MS Exchange Server version =</FONT> > <BR><FONT SIZE=2>>>>5.5.2653.12"></FONT> > <BR><FONT SIZE=2>>>><TITLE>RE: [JBoss-user] > Scheduler</TITLE></FONT> > <BR><FONT SIZE=2>>>></HEAD></FONT> > <BR><FONT SIZE=2>>>><BODY></FONT> > <BR><FONT SIZE=2>>>></FONT> > <BR><FONT SIZE=2>>>><P><FONT SIZE=3D2>Yep, we have > the same problem.&nbsp; Your original =</FONT> > <BR><FONT SIZE=2>>>>post said you</FONT></FONT> > <BR><FONT SIZE=2>>>><BR><FONT SIZE=3D2>needed your > scheduler to access a class in your =</FONT> > <BR><FONT SIZE=2>>>>.ear.&nbsp; If you</FONT></FONT> > <BR><FONT SIZE=2>>>><BR><FONT SIZE=3D2>need to > access a bean, then you can't just put the =</FONT> > <BR><FONT SIZE=2>>>>.sar in the</FONT></FONT> > <BR><FONT SIZE=2>>>><BR><FONT SIZE=3D2>.ear - We > solved this by just sleeping for 60 =</FONT> > <BR><FONT SIZE=2>>>>seconds and then</FONT></FONT> > <BR><FONT SIZE=2>>>><BR><FONT SIZE=3D2>starting - > not ideal, but I couldn't find the MBean</FONT> > <BR><FONT SIZE=2>>></FONT> > <BR><FONT SIZE=2>>>=</FONT> > <BR><FONT SIZE=2>>></FONT> > <BR><FONT SIZE=2>>>>for</FONT></FONT> > <BR><FONT SIZE=2>>>><BR><FONT SIZE=3D2>the bean > container to make the depends stuff =</FONT> > <BR><FONT SIZE=2>>>>work.&nbsp; If you > get</FONT></FONT> > <BR><FONT SIZE=2>>>><BR><FONT SIZE=3D2>it working > could you post a follow-up to the =</FONT> > <BR><FONT SIZE=2>>>>list?</FONT></FONT> > <BR><FONT SIZE=2>>>></P></FONT> > <BR><FONT SIZE=2>>>></FONT> > <BR><FONT SIZE=2>>>><P><FONT > SIZE=3D2>Tx!</FONT></FONT> > <BR><FONT SIZE=2>>>><BR><FONT > SIZE=3D2>JD</FONT></FONT> > <BR><FONT SIZE=2>>>></P></FONT> > <BR><FONT SIZE=2>>>></FONT> > <BR><FONT SIZE=2>>>><P><FONT SIZE=3D2>-----Original > Message-----</FONT></FONT> > <BR><FONT SIZE=2>>>><BR><FONT SIZE=3D2>From: Glenn > Lewis [<A =</FONT> > <BR><FONT SIZE=2>>>>HREF=3D"<A > >HREF="mailto:[EMAIL PROTECTED]">mailto:[EMAIL PROTECTED]</A>"><A > HREF="mailto:[EMAIL PROTECTED]=">mailto:[EMAIL PROTECTED]=</A></FONT> > <BR><FONT SIZE=2>>>></A>]</FONT></FONT> > <BR><FONT SIZE=2>>>><BR><FONT SIZE=3D2>Sent: Sunday, > December 15, 2002 4:39 PM</FONT></FONT> > <BR><FONT SIZE=2>>>><BR><FONT SIZE=3D2>To: > [EMAIL PROTECTED]</FONT></FONT> > <BR><FONT SIZE=2>>>><BR><FONT SIZE=3D2>Subject: Re: > [JBoss-user] Scheduler</FONT></FONT> > <BR><FONT SIZE=2>>>></P></FONT> > <BR><FONT SIZE=2>>>><BR></FONT> > <BR><FONT SIZE=2>>>></FONT> > <BR><FONT SIZE=2>>>><P><FONT SIZE=3D2>Thanks for the > advice.</FONT></FONT> > <BR><FONT SIZE=2>>>></P></FONT> > <BR><FONT SIZE=2>>>></FONT> > <BR><FONT SIZE=2>>>><P><FONT SIZE=3D2>We can deploy > the scheduler MBean by putting it =</FONT> > <BR><FONT SIZE=2>>>>inside a .sar, but we </FONT></FONT> > <BR><FONT SIZE=2>>>><BR><FONT SIZE=3D2>get a similar > problem: the first time the scheduler</FONT> > <BR><FONT SIZE=2>>></FONT> > <BR><FONT SIZE=2>>>=</FONT> > <BR><FONT SIZE=2>>></FONT> > <BR><FONT SIZE=2>>>>is invoked it does a </FONT></FONT> > <BR><FONT SIZE=2>>>><BR><FONT SIZE=3D2>findAll on a > bean that is not deployed. An error =</FONT> > <BR><FONT SIZE=2>>>>message is printed by </FONT></FONT> > <BR><FONT SIZE=2>>>><BR><FONT SIZE=3D2>the > loginterceptor (so I'm not sure we can catch =</FONT> > <BR><FONT SIZE=2>>>>it). The next time the </FONT></FONT> > <BR><FONT SIZE=2>>>><BR><FONT SIZE=3D2>scheduler is > invoked it works fine, since by that =</FONT> > <BR><FONT SIZE=2>>>>time everything is </FONT></FONT> > <BR><FONT SIZE=2>>>><BR><FONT > SIZE=3D2>deployed.</FONT></FONT> > <BR><FONT SIZE=2>>>></P></FONT> > <BR><FONT SIZE=2>>>></FONT> > <BR><FONT SIZE=2>>>><P><FONT SIZE=3D2>Any > suggestions?</FONT></FONT> > <BR><FONT SIZE=2>>>></P></FONT> > <BR><FONT SIZE=2>>>><BR></FONT> > <BR><FONT SIZE=2>>>></FONT> > <BR><FONT SIZE=2>>>><P><FONT SIZE=3D2>JD Brennan > wrote:</FONT></FONT> > <BR><FONT SIZE=2>>>><BR><FONT SIZE=3D2>&gt; We > deploy our MBean by putting it inside a .sar</FONT> > <BR><FONT SIZE=2>>></FONT> > <BR><FONT SIZE=2>>>=</FONT> > <BR><FONT SIZE=2>>></FONT> > <BR><FONT SIZE=2>>>>inside</FONT></FONT> > <BR><FONT SIZE=2>>>><BR><FONT SIZE=3D2>&gt; our > ejb .jar inside our .ear - there are =</FONT> > <BR><FONT SIZE=2>>>>probably other</FONT></FONT> > <BR><FONT SIZE=2>>>><BR><FONT SIZE=3D2>&gt; > better ways, but this works for us.</FONT></FONT> > <BR><FONT SIZE=2>>>><BR><FONT SIZE=3D2>&gt; > </FONT></FONT> > <BR><FONT SIZE=2>>>><BR><FONT SIZE=3D2>&gt; > JD</FONT></FONT> > <BR><FONT SIZE=2>>>><BR><FONT SIZE=3D2>&gt; > </FONT></FONT> > <BR><FONT SIZE=2>>>><BR><FONT SIZE=3D2>&gt; > -----Original Message-----</FONT></FONT> > <BR><FONT SIZE=2>>>><BR><FONT SIZE=3D2>&gt; > From: Glenn Lewis [<A =</FONT> > <BR><FONT SIZE=2>>>>HREF=3D"<A > >HREF="mailto:[EMAIL PROTECTED]">mailto:[EMAIL PROTECTED]</A>"><A > HREF="mailto:[EMAIL PROTECTED]=">mailto:[EMAIL PROTECTED]=</A></FONT> > <BR><FONT SIZE=2>>>></A>]</FONT></FONT> > <BR><FONT SIZE=2>>>><BR><FONT SIZE=3D2>&gt; > Sent: Thursday, December 12, 2002 8:45 =</FONT> > <BR><FONT SIZE=2>>>>PM</FONT></FONT> > <BR><FONT SIZE=2>>>><BR><FONT SIZE=3D2>&gt; To: > [EMAIL PROTECTED]</FONT></FONT> > <BR><FONT SIZE=2>>>><BR><FONT SIZE=3D2>&gt; Cc: > [EMAIL PROTECTED]</FONT></FONT> > <BR><FONT SIZE=2>>>><BR><FONT SIZE=3D2>&gt; > Subject: [JBoss-user] Scheduler</FONT></FONT> > <BR><FONT SIZE=2>>>><BR><FONT SIZE=3D2>&gt; > </FONT></FONT> > <BR><FONT SIZE=2>>>><BR><FONT SIZE=3D2>&gt; > </FONT></FONT> > <BR><FONT SIZE=2>>>><BR><FONT SIZE=3D2>&gt; Hi > all,</FONT></FONT> > <BR><FONT SIZE=2>>>><BR><FONT SIZE=3D2>&gt; > </FONT></FONT> > <BR><FONT SIZE=2>>>><BR><FONT SIZE=3D2>&gt; > Using the online docs at</FONT></FONT> > <BR><FONT SIZE=2>>>><BR><FONT SIZE=3D2>&gt; > <A =</FONT> > <BR><FONT SIZE=2>>>>HREF=3D"<A > HREF="http://www.jboss.org/online-manual/HTML/ch11s58.html#scheduler-u=" > >TARGET="_blank">http://www.jboss.org/online-manual/HTML/ch11s58.html#scheduler-u=</A></FONT> > <BR><FONT SIZE=2>>>>sage" =</FONT> > <BR><FONT SIZE=2>>>>TARGET=3D"_blank"><A > HREF="http://www.jboss.org/online-manual/HTML/ch11s58.html#s=" > TARGET="_blank">http://www.jboss.org/online-manual/HTML/ch11s58.html#s=</A></FONT> > <BR><FONT SIZE=2>>>>cheduler-usage</A> > and</FONT></FONT> > <BR><FONT SIZE=2>>>><BR><FONT SIZE=3D2>&gt; > JBoss3.0.3 we have created a scheduler mbean. =</FONT> > <BR><FONT SIZE=2>>>>We deploy it via a timer</FONT></FONT> > <BR><FONT SIZE=2>>>><BR><FONT SIZE=3D2>&gt; > service.xml file. The scheduler mbean refers to</FONT> > <BR><FONT SIZE=2>>></FONT> > <BR><FONT SIZE=2>>>=</FONT> > <BR><FONT SIZE=2>>></FONT> > <BR><FONT SIZE=2>>>>a class</FONT></FONT> > <BR><FONT SIZE=2>>>><BR><FONT SIZE=3D2>&gt; > =</FONT> > <BR><FONT SIZE=2>>>>(au.com.xcomp.xvs.server.TimedObjectSchedulable) > in our ear.</FONT></FONT> > <BR><FONT SIZE=2>>>><BR><FONT SIZE=3D2>&gt; > </FONT></FONT> > <BR><FONT SIZE=2>>>><BR><FONT SIZE=3D2>&gt; The > scheduler deploys fine provided we manually</FONT> > <BR><FONT SIZE=2>>></FONT> > <BR><FONT SIZE=2>>>=</FONT> > <BR><FONT SIZE=2>>></FONT> > <BR><FONT SIZE=2>>>>make sure the ear is</FONT></FONT> > <BR><FONT SIZE=2>>>><BR><FONT SIZE=3D2>&gt; > deployed before the service.xml. However, when</FONT> > <BR><FONT SIZE=2>>></FONT> > <BR><FONT SIZE=2>>>=</FONT> > <BR><FONT SIZE=2>>></FONT> > <BR><FONT SIZE=2>>>>we try to deploy the</FONT></FONT> > <BR><FONT SIZE=2>>>><BR><FONT SIZE=3D2>&gt; > service.xml file and ear file in the one ant =</FONT> > <BR><FONT SIZE=2>>>>task, the scheduler > deploys</FONT></FONT> > <BR><FONT SIZE=2>>>><BR><FONT SIZE=3D2>&gt; > first and gives the error below. Someone else =</FONT> > <BR><FONT SIZE=2>>>>also reported this > problem</FONT></FONT> > <BR><FONT SIZE=2>>>><BR><FONT SIZE=3D2>&gt; a > while ago</FONT></FONT> > <BR><FONT SIZE=2>>>><BR><FONT SIZE=3D2>&gt; > (<A =</FONT> > <BR><FONT SIZE=2>>>>HREF=3D"<A > HREF="http://www.mail-archive.com/jboss-user@lists.sourceforge.net/msg=" > >TARGET="_blank">http://www.mail-archive.com/jboss-user@lists.sourceforge.net/msg=</A></FONT> > <BR><FONT SIZE=2>>>>23230.html" =</FONT> > <BR><FONT SIZE=2>>>>TARGET=3D"_blank"><A > HREF="http://www.mail-archive.com/jboss-user@lists.sourcefor=" > TARGET="_blank">http://www.mail-archive.com/jboss-user@lists.sourcefor=</A></FONT> > <BR><FONT SIZE=2>>>>ge.net/msg23230.html</A>). > </FONT></FONT> > <BR><FONT SIZE=2>>>><BR><FONT SIZE=3D2>&gt; > </FONT></FONT> > <BR><FONT SIZE=2>>>><BR><FONT SIZE=3D2>&gt; > </FONT></FONT> > <BR><FONT SIZE=2>>>><BR><FONT SIZE=3D2>&gt; > </FONT></FONT> > <BR><FONT SIZE=2>>>><BR><FONT SIZE=3D2>&gt; Any > suggestions???</FONT></FONT> > <BR><FONT SIZE=2>>>><BR><FONT SIZE=3D2>&gt; > </FONT></FONT> > <BR><FONT SIZE=2>>>><BR><FONT SIZE=3D2>&gt; > Cause: Incomplete Deployment listing:</FONT></FONT> > <BR><FONT SIZE=2>>>><BR><FONT SIZE=3D2>&gt; > Packages waiting for a deployer:</FONT></FONT> > <BR><FONT SIZE=2>>>><BR><FONT > SIZE=3D2>&gt;&nbsp;&nbsp;&nbsp; > &lt;none&gt;</FONT></FONT> > <BR><FONT SIZE=2>>>><BR><FONT SIZE=3D2>&gt; > Incompletely deployed packages:</FONT></FONT> > <BR><FONT SIZE=2>>>><BR><FONT > SIZE=3D2>&gt;&nbsp;&nbsp;&nbsp; > &lt;none&gt;</FONT></FONT> > <BR><FONT SIZE=2>>>><BR><FONT SIZE=3D2>&gt; > MBeans waiting for classes:</FONT></FONT> > <BR><FONT SIZE=2>>>><BR><FONT > SIZE=3D2>&gt;&nbsp;&nbsp;&nbsp; > &lt;none&gt;</FONT></FONT> > <BR><FONT SIZE=2>>>><BR><FONT SIZE=3D2>&gt; > MBeans waiting for other MBeans:</FONT></FONT> > <BR><FONT SIZE=2>>>><BR><FONT SIZE=3D2>&gt; > [ObjectName: =</FONT> > <BR><FONT >SIZE=2>>>>jboss:schedule=3DCheckTimeoutDaemon,service=3DScheduler</FONT></FONT> > <BR><FONT SIZE=2>>>><BR><FONT > SIZE=3D2>&gt;&nbsp;&nbsp; state: > FAILED</FONT></FONT> > <BR><FONT SIZE=2>>>><BR><FONT > SIZE=3D2>&gt;&nbsp;&nbsp; I Depend On:</FONT></FONT> > <BR><FONT SIZE=2>>>><BR><FONT > SIZE=3D2>&gt;&nbsp;&nbsp; Depends On Me: =</FONT> > <BR><FONT SIZE=2>>>>org.jboss.deployment.DeploymentException: > Exception</FONT></FONT> > <BR><FONT SIZE=2>>>><BR><FONT SIZE=3D2>&gt; > setting attribute =</FONT> > <BR><FONT SIZE=2>>>>javax.management.Attribute@250ff2 on > mbean</FONT></FONT> > <BR><FONT SIZE=2>>>><BR><FONT SIZE=3D2>&gt; > =</FONT> > <BR><FONT SIZE=2>>>>jboss:schedule=3DCheckTimeoutDaemon,service=3DScheduler; > - nested =</FONT> > <BR><FONT SIZE=2>>>>throwable:</FONT></FONT> > <BR><FONT SIZE=2>>>><BR><FONT SIZE=3D2>&gt; > (java.security.InvalidParameterException: Given</FONT> > <BR><FONT SIZE=2>>></FONT> > <BR><FONT SIZE=2>>>=</FONT> > <BR><FONT SIZE=2>>></FONT> > <BR><FONT SIZE=2>>>>class</FONT></FONT> > <BR><FONT SIZE=2>>>><BR><FONT SIZE=3D2>&gt; > au.com.xcomp.xvs.server.TimedObjectSchedulable</FONT> > <BR><FONT SIZE=2>>></FONT> > <BR><FONT SIZE=2>>>=</FONT> > <BR><FONT SIZE=2>>></FONT> > <BR><FONT SIZE=2>>>>is not valid or not > found)]</FONT></FONT> > <BR><FONT SIZE=2>>>><BR><FONT SIZE=3D2>&gt; > </FONT></FONT> > <BR><FONT SIZE=2>>>><BR><FONT SIZE=3D2>&gt; > </FONT></FONT> > <BR><FONT SIZE=2>>>><BR><FONT SIZE=3D2>&gt; > Thanks</FONT></FONT> > <BR><FONT SIZE=2>>>><BR><FONT SIZE=3D2>&gt; > </FONT></FONT> > <BR><FONT SIZE=2>>>><BR><FONT SIZE=3D2>&gt; -- > </FONT></FONT> > <BR><FONT SIZE=2>>>><BR><FONT SIZE=3D2>&gt; > Glenn</FONT></FONT> > <BR><FONT SIZE=2>>>><BR><FONT SIZE=3D2>&gt; > </FONT></FONT> > <BR><FONT SIZE=2>>>><BR><FONT SIZE=3D2>&gt; > </FONT></FONT> > <BR><FONT SIZE=2>>>><BR><FONT SIZE=3D2>&gt; > </FONT></FONT> > <BR><FONT SIZE=2>>>><BR><FONT SIZE=3D2>&gt; > =</FONT> > <BR><FONT >SIZE=2>>>>-------------------------------------------------------</FONT></FONT> > <BR><FONT SIZE=2>>>><BR><FONT SIZE=3D2>&gt; This > sf.net email is sponsored by:</FONT></FONT> > <BR><FONT SIZE=2>>>><BR><FONT SIZE=3D2>&gt; With > Great Power, Comes Great =</FONT> > <BR><FONT SIZE=2>>>>Responsibility</FONT></FONT> > <BR><FONT SIZE=2>>>><BR><FONT SIZE=3D2>&gt; > Learn to use your power at OSDN's High =</FONT> > <BR><FONT SIZE=2>>>>Performance Computing > Channel</FONT></FONT> > <BR><FONT SIZE=2>>>><BR><FONT SIZE=3D2>&gt; > <A HREF=3D"<A HREF="http://hpc.devchannel.org/" > TARGET="_blank">http://hpc.devchannel.org/</A>" =</FONT> > <BR><FONT SIZE=2>>>>TARGET=3D"_blank"><A > HREF="http://hpc.devchannel.org/" >TARGET="_blank">http://hpc.devchannel.org/</A></A></FONT></FONT> > <BR><FONT SIZE=2>>>><BR><FONT SIZE=3D2>&gt; > =</FONT> > <BR><FONT >SIZE=2>>>>_______________________________________________</FONT></FONT> > <BR><FONT SIZE=2>>>><BR><FONT SIZE=3D2>&gt; > JBoss-user mailing list</FONT></FONT> > <BR><FONT SIZE=2>>>><BR><FONT SIZE=3D2>&gt; > [EMAIL PROTECTED]</FONT></FONT> > <BR><FONT SIZE=2>>>><BR><FONT SIZE=3D2>&gt; > <A =</FONT> > <BR><FONT SIZE=2>>>>HREF=3D"<A > HREF="https://lists.sourceforge.net/lists/listinfo/jboss-user" > TARGET="_blank">https://lists.sourceforge.net/lists/listinfo/jboss-user</A>" > =</FONT> > <BR><FONT SIZE=2>>>>TARGET=3D"_blank"><A > HREF="https://lists.sourceforge.net/lists/listinfo/jboss-use=" > TARGET="_blank">https://lists.sourceforge.net/lists/listinfo/jboss-use=</A></FONT> > <BR><FONT SIZE=2>>>>r</A></FONT></FONT> > <BR><FONT SIZE=2>>>><BR><FONT SIZE=3D2>&gt; > </FONT></FONT> > <BR><FONT SIZE=2>>>></P></FONT> > <BR><FONT SIZE=2>>>><BR></FONT> > <BR><FONT SIZE=2>>>><BR></FONT> > <BR><FONT SIZE=2>>>><BR></FONT> > <BR><FONT SIZE=2>>>></FONT> > <BR><FONT SIZE=2>>>><P><FONT =</FONT> > <BR><FONT >SIZE=2>>>>SIZE=3D2>-------------------------------------------------------</FONT></FONT> > <BR><FONT SIZE=2>>>><BR><FONT SIZE=3D2>This sf.net > email is sponsored by:</FONT></FONT> > <BR><FONT SIZE=2>>>><BR><FONT SIZE=3D2>With Great > Power, Comes Great Responsibility </FONT></FONT> > <BR><FONT SIZE=2>>>><BR><FONT SIZE=3D2>Learn to use > your power at OSDN's High Performance =</FONT> > <BR><FONT SIZE=2>>>>Computing Channel</FONT></FONT> > <BR><FONT SIZE=2>>>><BR><FONT SIZE=3D2><A > HREF=3D"<A HREF="http://hpc.devchannel.org/" > TARGET="_blank">http://hpc.devchannel.org/</A>" =</FONT> > <BR><FONT SIZE=2>>>>TARGET=3D"_blank"><A > HREF="http://hpc.devchannel.org/" >TARGET="_blank">http://hpc.devchannel.org/</A></A></FONT></FONT> > <BR><FONT SIZE=2>>>><BR><FONT =</FONT> > <BR><FONT >SIZE=2>>>>SIZE=3D2>_______________________________________________</FONT></FONT> > <BR><FONT SIZE=2>>>><BR><FONT SIZE=3D2>JBoss-user > mailing list</FONT></FONT> > <BR><FONT SIZE=2>>>><BR><FONT > SIZE=3D2>[EMAIL PROTECTED]</FONT></FONT> > <BR><FONT SIZE=2>>>><BR><FONT SIZE=3D2><A > =</FONT> > <BR><FONT SIZE=2>>>>HREF=3D"<A > HREF="https://lists.sourceforge.net/lists/listinfo/jboss-user" > TARGET="_blank">https://lists.sourceforge.net/lists/listinfo/jboss-user</A>" > =</FONT> > <BR><FONT SIZE=2>>>>TARGET=3D"_blank"><A > HREF="https://lists.sourceforge.net/lists/listinfo/jboss-use=" > TARGET="_blank">https://lists.sourceforge.net/lists/listinfo/jboss-use=</A></FONT> > <BR><FONT SIZE=2>>>>r</A></FONT></FONT> > <BR><FONT SIZE=2>>>></P></FONT> > <BR><FONT SIZE=2>>>></FONT> > <BR><FONT SIZE=2>>>></BODY></FONT> > <BR><FONT SIZE=2>>>></HTML></FONT> > <BR><FONT SIZE=2>>>>------_=_NextPart_001_01C2A52C.A9F142A0--</FONT> > <BR><FONT SIZE=2>>></FONT> > <BR><FONT SIZE=2>>></FONT> > <BR><FONT SIZE=2>>></FONT> > <BR><FONT SIZE=2>>></FONT> > <BR><FONT >SIZE=2>>>-------------------------------------------------------</FONT> > <BR><FONT SIZE=2>>>This sf.net email is sponsored by:</FONT> > <BR><FONT SIZE=2>>>With Great Power, Comes Great Responsibility > </FONT> > <BR><FONT SIZE=2>>>Learn to use your power at OSDN's High > Performance Computing Channel</FONT> > <BR><FONT SIZE=2>>><A HREF="http://hpc.devchannel.org/" > TARGET="_blank">http://hpc.devchannel.org/</A></FONT> > <BR><FONT SIZE=2>>>_______________________________________________</FONT> > <BR><FONT SIZE=2>>>JBoss-user mailing list</FONT> > <BR><FONT SIZE=2>>>[EMAIL PROTECTED]</FONT> > <BR><FONT SIZE=2>>><A >HREF="https://lists.sourceforge.net/lists/listinfo/jboss-user" > TARGET="_blank">https://lists.sourceforge.net/lists/listinfo/jboss-user</A></FONT> > <BR><FONT SIZE=2>>></FONT> > <BR><FONT SIZE=2>>></FONT> > </P> > <BR> > <BR> > <BR> > > <P><FONT SIZE=2>-------------------------------------------------------</FONT> > <BR><FONT SIZE=2>This sf.net email is sponsored by:</FONT> > <BR><FONT SIZE=2>With Great Power, Comes Great Responsibility </FONT> > <BR><FONT SIZE=2>Learn to use your power at OSDN's High Performance > Computing Channel</FONT> > <BR><FONT SIZE=2><A HREF="http://hpc.devchannel.org/" > TARGET="_blank">http://hpc.devchannel.org/</A></FONT> > <BR><FONT SIZE=2>_______________________________________________</FONT> > <BR><FONT SIZE=2>JBoss-user mailing list</FONT> > <BR><FONT SIZE=2>[EMAIL PROTECTED]</FONT> > <BR><FONT SIZE=2><A HREF="https://lists.sourceforge.net/lists/listinfo/jboss-user" > TARGET="_blank">https://lists.sourceforge.net/lists/listinfo/jboss-user</A></FONT> > </P> > > </BODY> > </HTML> ------------------------------------------------------- This sf.net email is sponsored by: With Great Power, Comes Great Responsibility Learn to use your power at OSDN's High Performance Computing Channel http://hpc.devchannel.org/ _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user