문제

I am trying to setup debugging in Apache Karaf using this link.

After reaching the YourKit step I am getting the following error in my cmd prompt. Has anyone faced this issue before and guide me ahead?

enter image description here

도움이 되었습니까?

해결책

I just tried on my windows machine using karaf 3.0.0:

D:\java\apache-karaf-3.0.0>set KARAF_DEBUG=true

D:\java\apache-karaf-3.0.0>bin\karaf
karaf.bat: Enabling Java debug options: -Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=5005
Listening for transport dt_socket at address: 5005

So it works fine for me. Can you try with the 3.0.0 release?

다른 팁

karaf debugging is quite simple.
If using Windows:
karaf.exe debug
if using unix/linux:
karaf.sh debug

no need to configure anything. Especially if you don't want to use a Profiler like YourKit you don't need to configure it.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top