我正在尝试分析使用mvn jetty:runVisualVM 1.3.6 执行的Java 7应用程序.CPU显示为不可用,配置文件选项卡列出以下错误:
WARNING! Class sharing is enabled for this JVM. This can cause problems when profiling the application and eventually may crash it. Please see the VisualVM Troubleshooting Guide for more information and steps to fix the problem: https://visualvm.java.net/troubleshooting.html#xshare.
Run Code Online (Sandbox Code Playgroud)
我可以正常配置任何其他应用程序.
VisualVM日志多次显示以下错误:
java.io.IOException: Unable to open socket file: target process not responding or HotSpot VM not loaded
Run Code Online (Sandbox Code Playgroud)
可能相关的细节:
- OSX 10.8.3
- 在JDK 1.7u25下运行的app和VisualVM
我可以假设downvotes与这样一个事实有关,即有一个与此问题相关的文档错误以及设置的建议Xshare:off,我将包含此错误报告的链接,该报告在1.6u6之后将其列为已修复.我正在运行1.7u25,所以这不适用于我.
我正在尝试在cassandra1.1.9中创建密钥空间,并且我以"帮助创建密钥空间"的方式告诉我.
使用placement_strategy ='org.apache.cassandra.locator.SimpleStrategy'和strategy_options = [{replication_factor:2}]创建KEYSPACE testkeyspace;
即便尝试,
创建keypace testkeyspace;
使用placement_strategy ='org.apache.cassandra.locator.SimpleStrategy'和strategy_options = {replication_factor:3}更新keyspace testkeyspace;
我总是遇到这个错误:
java.lang.IllegalArgumentException:没有枚举const类org.apache.cassandra.cli.CliClient $ AddKeyspaceArgument.STRATEGY_OPT:ONS