问题是web池中的所有线程都被阻塞了,这似乎阻止了我们连接jconsole、jmc甚至YourKit。当jvm运行良好时,所有这些工具都能正常工作。Make sure the JVM is running and that you are using the correct protocol in the Service URL (service:这使得我们很难找出我们的应用程序出了什么问题。服务器使用的cpu不多,并且有空闲的内存。所以并不缺乏明显的资源。jvm似乎已经死了
Java版
我想使用JMC (任务控制)监视JVM,因此使用参数启动Eclipse外部工具:
"-XX:+UnlockCommercialFeatures -XX:+FlightRecorder"。To enable this you need to use a Java 7u4 or later JVM started with -XX:+UnlockCommercialFeatures -XX在回答后编辑:如果我从命令行调用Java,它看起来很好,但当我从eclipse外部工具调用时,这就是问题所在。附加的屏幕