Ronnie76er/jmeter-maven-plugin — Issue #24: JVM did not exit
Author: vraskin
Created: 2012-01-23 21:23:22+00:00
State: open

I am getting this weird behavior with 1.4-SNAPSHOT ( It does not happen with 1.3-2012-01-17 ). I know it is Jetty related, but with previous versions of jmeter plugin it did not happen. Any ideas ? (I can just switch back to 1.3-2012-01-17, and use that ). Thanks

JVM did not exit; following threads are still running (DestroyJavaVM is OK):
[INFO] Final Memory: 39M/84M
[INFO] ------------------------------------------------------------------------
2012-01-23 13:02:56.167:INFO::Shutdown hook executing
2012-01-23 13:02:56.168:INFO::Stopped SelectChannelConnector@0.0.0.0:8181
Thread[main,5,main], stackTrace:org.apache.maven.DefaultMaven#validateActivatedProfiles at line:674
org.apache.maven.DefaultMaven#doExecute at line:321
org.apache.maven.DefaultMaven#execute at line:156
org.apache.maven.cli.MavenCli#execute at line:537
org.apache.maven.cli.MavenCli#doMain at line:196
org.apache.maven.cli.MavenCli#main at line:141
sun.reflect.NativeMethodAccessorImpl#invoke0
sun.reflect.NativeMethodAccessorImpl#invoke at line:39
sun.reflect.DelegatingMethodAccessorImpl#invoke at line:25
java.lang.reflect.Method#invoke at line:597
org.codehaus.plexus.classworlds.launcher.Launcher#launchEnhanced at line:290
org.codehaus.plexus.classworlds.launcher.Launcher#launch at line:230
org.codehaus.plexus.classworlds.launcher.Launcher#mainWithExitCode at line:409
org.codehaus.plexus.classworlds.launcher.Launcher#main at line:352

Thread[768631731@qtp-82745662-0,5,main], stackTrace:java.lang.Object#wait
org.mortbay.thread.QueuedThreadPool$PoolThread#run at line:626

Thread[1701651320@qtp-82745662-1,5,main], stackTrace:sun.nio.ch.KQueueArrayWrapper#kevent0
sun.nio.ch.KQueueArrayWrapper#poll at line:136
sun.nio.ch.KQueueSelectorImpl#doSelect at line:69
sun.nio.ch.SelectorImpl#lockAndDoSelect at line:69
sun.nio.ch.SelectorImpl#select at line:80
org.mortbay.io.nio.SelectorManager$SelectSet#doSelect at line:498
org.mortbay.io.nio.SelectorManager#doSelect at line:192
org.mortbay.jetty.nio.SelectChannelConnector#accept at line:124
org.mortbay.jetty.AbstractConnector$Acceptor#run at line:708
org.mortbay.thread.QueuedThreadPool$PoolThread#run at line:582

INFO [Thread-26] DefaultCompass.close(285) | Closing Compass [compass]
INFO [Thread-26] DefaultCompass.close(307) | Closed Compass [compass]
2012-01-23 13:02:56.676:INFO:/:Closing Spring root WebApplicationContext
2012-01-23 13:02:56.790:INFO::Shutdown hook complete
JVM did not exit; following threads are still running (DestroyJavaVM is OK):
Thread[main,5,main], stackTrace:java.lang.Object#wait
java.lang.Thread#join at line:1210
java.lang.Thread#join at line:1263
java.lang.ApplicationShutdownHooks#runHooks at line:79
java.lang.ApplicationShutdownHooks$1#run at line:24
java.lang.Shutdown#runHooks at line:79
java.lang.Shutdown#sequence at line:123
java.lang.Shutdown#exit at line:168
java.lang.Runtime#exit at line:90
java.lang.System#exit at line:921
org.codehaus.plexus.classworlds.launcher.Launcher#main at line:354

Thread[Shutdown,5,main], stackTrace:java.lang.Thread#sleep
org.mortbay.jetty.Server$ShutdownHookThread#run at line:572

-----------------------------------------------------------------------------------

My maven configuration is as the following:

org.apache.jmeter
maven-jmeter-plugin
1.4-SNAPSHOT

jmeter-tests
integration-test

jmeter

*_2.5.jmx

${project.build.directory}/jmeter-reports

.......

Ardesco Maven JMeter Plugin
http://ardesco.github.com/jmeter-maven-plugin/repository

yciabaud Maven JMeter Plugin
http://yciabaud.github.com/jmeter-maven-plugin/repository

..........

org.mortbay.jetty
maven-jetty-plugin
6.1.26

/

8181
60000

${project.build.directory}/${project.build.finalName}/WEB-INF/web.xml
${project.build.directory}/${project.build.finalName}

0

stopping

start-jetty
pre-integration-test

run

0
true

stop-jetty
post-integration-test

stop