Maybe we should have the Controller thread start a new thread when calling the services lifecycle methods (at least when calling "start" ) and then wait during a predefined TIMEOUT value that the call comes back. If it doesn't, we can make the assumption that the service has not been correctly implemented and leave it our newly created thread for its own purpose and normally continue with the startup process.
It is a little bit like if a Windows service badly implemented could stop Windows from booting just because it passively waits... > -----Message d'origine----- > De : [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]]De la part de James > Higginbotham > Envoye : mardi, 1 octobre 2002 18:50 > A : [EMAIL PROTECTED] > Objet : RE: [JBoss-user] MBean service - overtakes jboss startup? > > > Yep.. Sounds like you need to spawn a thread, since your app loops > indef, blocking the main jboss deploy thread. > > James > > > -----Original Message----- > > From: McKnight, David [mailto:[EMAIL PROTECTED]] > > Sent: Tuesday, October 01, 2002 10:31 AM > > To: '[EMAIL PROTECTED]' > > Subject: [JBoss-user] MBean service - overtakes jboss startup? > > > > > > I know I'm doing something wrong, just not sure what it is. I > > have an MBean that starts up when jboss starts - but no other > > jboss activity happens after this mbean starts. The code > > starts a loop that checks a db, processes data, waits a few > > seconds, and repeats. When the mbean deploys, Start() is > > called, then the mbean processing commences. BUT...no other > > jboss services start after this. You never even get the > > "Jboss started in 25 seconds" message. Any ideas? > > > > thanks all, > > David > > > > > > ------------------------------------------------------- > > This sf.net email is sponsored by: DEDICATED SERVERS only > > $89! Linux or FreeBSD, FREE setup, FAST network. Get your own server > > today at http://www.ServePath.com/indexfm.htm > > _______________________________________________ > > JBoss-user mailing list > > [EMAIL PROTECTED] > > https://lists.sourceforge.net/lists/listinfo/j> boss-user > > > > > ------------------------------------------------------- > This sf.net email is sponsored by: DEDICATED SERVERS only $89! > Linux or FreeBSD, FREE setup, FAST network. Get your own server > today at http://www.ServePath.com/indexfm.htm > _______________________________________________ > JBoss-user mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/jboss-user > ------------------------------------------------------- This sf.net email is sponsored by: DEDICATED SERVERS only $89! Linux or FreeBSD, FREE setup, FAST network. Get your own server today at http://www.ServePath.com/indexfm.htm _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
