2014-02-14 8 views
0

Webshpere App 서버 JVM에서 jprofiler를 측정 할 수 없습니다. 우리는 내가 JVM을 시작할 때 JVM이 JProfiler와 클라이언트와 통신 할 수 있었다 WAS JVM에 Jprofiler를 연결할 수 없습니다.

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이 시작되기 전에 샘플을 볼 수있었습니다. 몇 초 후에 JVM이 충돌하고 정지 상태가됩니다. 6.1 자바 버전 "1.5.0_55" 자바 (TM) 2 런타임 환경, 일반용 자바 핫스팟 (TM) 서버 VM (1.5 구축 (1.5.0_55이-B10 구축) WAS - 응용 프로그램 서버

환경의 자세한 사항 .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없이 JVM을 시작할 수 있습니다.

답변

0

bootclasspath 또는 classpath에 다른 JProfiler 버전의 agent.jar가있을 때 이런 현상이 발생합니다. 이 문제를 방지하려면 다른 JProfiler 버전 에 대한 시스템을 확인하십시오.