Would you be able to get a thread dump of both JVMs when they hang ? That may be able to give a pointer ...
2016-10-18 2:43 GMT+02:00 Benson Margulies <[email protected]>: > On Mon, Oct 17, 2016 at 7:58 PM, Niclas Hedhman <[email protected]> > wrote: > > It doesn't even timeout after 10, 20, 60 minutes? > > Nope. And it's not failing to start: in the exam plugin case, it > starts, the tests run that talk to the Karaf instance, and then it > hangs in stop. And even if I use the Linux kill command to kill the > karaf process, the exam-maven-plugin remains stuck waiting for > something on the shutdown side. > > > > > > > On Tue, Oct 18, 2016 at 3:39 AM, Benson Margulies <[email protected]> > > wrote: > >> > >> Using pax-exam 4.9.1, we suffer from unpredictable hangs on shutdown. > >> We've seen this with the exam-maven-plugin and when using > >> > >> @ClassRule > >> public static PaxExamServer exam = new PaxExamServer(); > >> > >> > >> to launch karaf 4.0.6. Most of the time, everything works as expected, > but > >> when it goes wrong, it just gets stuck, sitting there. We're on the > verge of > >> implementing a thread waiting for a connection that will just stop the > OSGi > >> framework forcibly. That's pretty ugly. Can anyone suggest a debugging > >> strategy? The non-reproducibility of this is, of course, a barrier. > >> > >> -- > >> -- > >> ------------------ > >> OPS4J - http://www.ops4j.org - [email protected] > >> > >> --- > >> You received this message because you are subscribed to the Google > Groups > >> "OPS4J" group. > >> To unsubscribe from this group and stop receiving emails from it, send > an > >> email to [email protected]. > >> For more options, visit https://groups.google.com/d/optout. > > > > > > > > > > -- > > Niclas Hedhman, Software Developer > > http://zest.apache.org - New Energy for Java > > > > -- > > -- > > ------------------ > > OPS4J - http://www.ops4j.org - [email protected] > > > > --- > > You received this message because you are subscribed to a topic in the > > Google Groups "OPS4J" group. > > To unsubscribe from this topic, visit > > https://groups.google.com/d/topic/ops4j/GlyXQeXcwmY/unsubscribe. > > To unsubscribe from this group and all its topics, send an email to > > [email protected]. > > For more options, visit https://groups.google.com/d/optout. > > -- > -- > ------------------ > OPS4J - http://www.ops4j.org - [email protected] > > --- > You received this message because you are subscribed to the Google Groups > "OPS4J" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- ------------------------ Guillaume Nodet ------------------------ Red Hat, Open Source Integration Email: [email protected] Web: http://fusesource.com Blog: http://gnodet.blogspot.com/ -- -- ------------------ OPS4J - http://www.ops4j.org - [email protected] --- You received this message because you are subscribed to the Google Groups "OPS4J" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
