Мы не можем измерить jprofiler на сервере JVM Webshpere App. Мы получаем ошибки, как показано нижеНевозможно подключить Jprofiler на WAS JVM
java.lang.UnsatisfiedLinkError: com/jprofiler/agent/Agent.registerAnnotationMethods([[Ljava/lang/String;[I[II)V
at com.jprofiler.agent.Agent.registerInterceptions(ejt:579)
at com.jprofiler.agent.Agent.registerAllAnnotationMethods(ejt:513)
at com.jprofiler.agent.Agent.<clinit>(ejt:149)
at java.lang.J9VMInternals.initializeImpl(Native Method)
at java.lang.J9VMInternals.initialize(J9VMInternals.java:194)
когда я запустить JVM, виртуальная машина была в состоянии общаться с клиентом JProfiler. и я смог увидеть некоторые образцы перед запуском JVM. и через несколько секунд JVM аварийно завершает работу и находится в состоянии остановки.
окружающей среды детали сервер App - WAS 6,1 ява версия "1.5.0_55" Java (TM) 2 Runtime Environment, Standard Edition (сборка 1.5.0_55-b10) Java HotSpot (TM) сервер VM (сборка 1.5 .0_55-b10, смешанный режим)
я вижу это в журнале
JProfiler> Protocol version 37
JProfiler> Using JVMTI
JProfiler> Thread status info workaround enabled.
JProfiler> 32-bit library
JProfiler> Listening on port: 8849.
JProfiler> Native library initialized
JProfiler> VM initialized
JProfiler> Waiting for a connection from the JProfiler GUI ...
java.lang.UnsatisfiedLinkError: com/jprofiler/agent/Agent.registerAnnotationMeth
ods([[Ljava/lang/String;[I[II)V
at com.jprofiler.agent.Agent.registerInterceptions(ejt:579)
at com.jprofiler.agent.Agent.registerAllAnnotationMethods(ejt:513)
at com.jprofiler.agent.Agent.<clinit>(ejt:149)
at java.lang.J9VMInternals.initializeImpl(Native Method)
at java.lang.J9VMInternals.initialize(J9VMInternals.java:194)
JProfiler> Using dynamic instrumentation
JProfiler> Time measurement: elapsed time
JProfiler> CPU profiling enabled
и виртуальная машина находится в остановленном состоянии. Если я удалю аргумент из «общих аргументов JVM», я могу запустить JVM без jprofiler.